downtownallday / cloudinabox

An installation of Nextcloud that borrows some of the "Mail-in-a-Box" code and standards
Other
2 stars 1 forks source link

Failed installation - maybe specific to NextCloud 20 #5

Closed dumblob closed 3 years ago

dumblob commented 3 years ago
...
Installing Nginx (web server)...
Installing Nextcloud
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
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
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
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
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
PHP Warning:  require(/usr/local/nextcloud/config/config.php): failed to open stream: No such file or directory in /root/cloudinabox/tools/editconf.php on line 23
PHP Fatal error:  require(): Failed opening required '/usr/local/nextcloud/config/config.php' (include_path='.:/usr/share/php') in /root/cloudinabox/tools/editconf.php on line 23
FATAL: Unable to change /usr/local/nextcloud/config/config.php
setup/start.sh failed
root@suzuki:~/cloudinabox# 
root@suzuki:~/cloudinabox# ls -al /usr/local/nextcloud/config 
lrwxrwxrwx 1 root root 32 Oct 27 15:33 /usr/local/nextcloud/config -> /home/user-data/nextcloud/config
root@suzuki:~/cloudinabox# ls -al /home/user-data/nextcloud/config 
lrwxrwxrwx 1 root root 32 Oct 27 15:23 /home/user-data/nextcloud/config -> /home/user-data/nextcloud/config
root@suzuki:~/cloudinabox# 

That's weird :open_mouth:.

dumblob commented 3 years ago

I've solved this by removing both /home/user-data/nextcloud/ and /usr/local/nextcloud/ directories and re-running cloudinabox installation.