Posts by Argotera

    I ll post the answer to my problem in case any noob like me searches for it:

    If you are having problems restoring a backup in domoticz addon in Libreelec:

    1. disable the domoticz addon from the kodi UI

    2. Rename your desired back up file to domoticz.db and copy it in the domoticz' config directory. See this post how to do this using the terminal, but it can also be done using samba/smb.

    2. change permissions of the file to -rwxrw-r-- by using this command:

    chmod 644 domoticz.db

    3. Set the ownership to user:nobody, group: users. This is achieved by using the following commands:

    chown nobody: domoticz.db

    chown :users domoticz.db
    4. Delete the following files in the config directory: domoticz.db-wal, domoticz.db-shm. This is essential and but it isn't mentioned anywhere as far as I know.

    5. Reboot (?) and enable the addon.

    Hi aptalca, thanks once again!

    I had missed the "every friday" part, and

    I did an uninstall but cannot restore the database due to "Error: Restore Database: Could not open backup file for writing".

    What permissions should I set to fix this?


    P.S. It's the first time a have a system running 24/7, and do not know much about linux yet.

    Hi, thanks a lot for this addon! I am using it for some days on a s905x box running the latest libreelec. I ve been trying to update domoticz via it's web ui but it keeps failing with the following message:

    Error while downloading Update,check your internet connection or try again later !

    In the Domoticz log there is only the following:

    2017-10-26 20:59:25.185 Starting Upgrade progress...

    2017-10-26 20:59:25.186 Starting: /config/scripts/download_update.sh /config/ /beta


    and that shows up in the container log (via the portainer addon):

    2017-10-26 21:10:35.908 Starting Upgrade progress...

    2017-10-26 21:10:35.910 Starting: /config/scripts/download_update.sh /config/ /beta


    Can anybody help?

    P.S.: Enabling and disabling the addon did not work.

    P.S.2: I tried the terminal way in the wiki :

    cd domoticz

    ./updatebeta but that did not work either. Which is the right directory to run this command in?.