Open ValdikSS opened 3 years ago
Running this command manually later produces no error.
Running php interpreter from www-data user also allows reading and writing of configuration file, as well as creating new files inside config
folder.
confirm. This line https://github.com/mail-in-a-box/mailinabox/blob/879467d358d375c83225e57056569f305a1d969d/setup/nextcloud.sh#L188 is excess. migration, if needed, takes place at https://github.com/mail-in-a-box/mailinabox/blob/879467d358d375c83225e57056569f305a1d969d/setup/nextcloud.sh#L19
`Installing Nextcloud (contacts/calendar)... Upgrading Nextcloud --- backing up existing installation, configuration, and database to directory to /home/user-data/owncloud-backup/2021-05-19-19:22:50...
Upgrading to Nextcloud version 20.0.1
Cannot write into "config" directory! This can usually be fixed by giving the webserver write access to the config directory
Or, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it. See https://docs.nextcloud.com/server/20/go.php?to=admin-config Nextcloud is already latest version photos 1.2.0 disabled dashboard 7.0.0 disabled activity 2.13.2 disabled Installing Z-Push (Exchange/ActiveSync server)... Installing Mail-in-a-Box system management daemon... `
So just copying the message shown ... it may be helpful to some /shrug.
I would think that we'd want to fix this as I am sure new users to MiaB would find it troubling perhaps??
Just ran into this during an install for the first time. Is this something that the end user needs to go back and fix, or?
Thanks!
bump same issue 2022-04-20
When installer executes
sudo -u www-data php /usr/local/lib/owncloud/occ db:add-missing-columns
, Nextcloud's php process can't write its configuration file. This is freshly installed and fully updated Ubuntu 18.04.5.Snippet running
setup.sh
withset -x
: