You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After a fresh install of Nextcloud in CasaOS running on Debian everything works as expected until a change is made to config.php using the text editor in CasaOS
To Reproduce
Install Nextcloud via CasaOS
Verify it's working correctly
Save a change to the /var/www/config/config.php file using the CasaOS text editor
Refresh Nextcloud, it will now throw an error "Cannot write into "config" directory!"
Expected behavior
I expect the previous file ownership "www-data www-data" to persist after a file change but it is changed to "root root"
The two ways I've found to work around the issue:
Use chown www-data:www-data var/www/html/config/config.php from the host OS console (not the Docker container) to change the ownership for config.php back to www-data www-data
OR
Set the flag 'config_is_read_only' => true, in the config.php, which works temporarily but during Nextcloud updates the config.php file needs to be writeable.
The text was updated successfully, but these errors were encountered:
Describe the bug
After a fresh install of Nextcloud in CasaOS running on Debian everything works as expected until a change is made to config.php using the text editor in CasaOS
To Reproduce
Expected behavior
I expect the previous file ownership "www-data www-data" to persist after a file change but it is changed to "root root"
The two ways I've found to work around the issue:
chown www-data:www-data var/www/html/config/config.php
from the host OS console (not the Docker container) to change the ownership for config.php back towww-data www-data
OR
'config_is_read_only' => true,
in the config.php, which works temporarily but during Nextcloud updates the config.php file needs to be writeable.The text was updated successfully, but these errors were encountered: