ERROR: attempt to write a readonly database
Issue #392
resolved
Trying to update a domoticz.db I got the message “ERROR: attempt to write a readonly database” whereas /home/pi/domoticz directories are rwx for everybody as well as the domoticz.db database.
Comments (3)
-
repo owner -
reporter Problem solved. Indeed, it seems that something went wrong between client and server. After rebooting both sides, everything works fine.
Thanks for your help.
-
reporter - changed status to resolved
- Log in to comment
Most probably missing rights on /home/pi .
The webserver cannot read your users home directory by default unless you give access to it. Giving rights to a subdir or file is not enough.