Hi there 👋
I tried to install the Nextcloud app and it seems to be not working.
After the app is started (all 4 docker containers are running) there is a 404 page.

If I open the site without /login?user=citadel
so just the IP and the port, then I got the a Nextcloud internal server error page.
I searched on the Umbrel forum and found a thread with the same error, but no solution:
https://community.getumbrel.com/t/nextcloud-broken-after-update-to-0-4-1/2815
That is my Citadel log:
App logs
--------
nextcloud
nextcloud-cron-1 | crond: file www-data:
nextcloud-cron-1 | crond: line php -f /var/www/html/cron.php
nextcloud-cron-1 | crond: wakeup dt=60
nextcloud-cron-1 | crond: file www-data:
nextcloud-cron-1 | crond: line php -f /var/www/html/cron.php
nextcloud-cron-1 | crond: wakeup dt=60
nextcloud-cron-1 | crond: file www-data:
nextcloud-cron-1 | crond: line php -f /var/www/html/cron.php
nextcloud-web-1 | 10.21.21.12 - - [27/Dec/2021:19:46:48 +0000] "GET /index.php/csrftoken HTTP/1.1" 500 2959 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36"
nextcloud-cron-1 | crond: wakeup dt=60
nextcloud-cron-1 | crond: file www-data:
nextcloud-cron-1 | crond: line php -f /var/www/html/cron.php
nextcloud-cron-1 | crond: wakeup dt=60
nextcloud-cron-1 | crond: file www-data:
nextcloud-cron-1 | crond: line php -f /var/www/html/cron.php
nextcloud-cron-1 | crond: job: 0 php -f /var/www/html/cron.php
nextcloud-cron-1 | crond: child running /bin/bash
nextcloud-cron-1 | crond: USER www-data pid 22 cmd php -f /var/www/html/cron.php
nextcloud-cron-1 | Cannot write into "config" directory!
nextcloud-cron-1 | This can usually be fixed by giving the webserver write access to the config directory.
nextcloud-cron-1 |
nextcloud-cron-1 | But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.
nextcloud-cron-1 | See https://docs.nextcloud.com/server/23/go.php?to=admin-config
nextcloud-cron-1 | crond: wakeup dt=10
nextcloud-cron-1 | crond: wakeup dt=50
nextcloud-cron-1 | crond: file www-data:
nextcloud-cron-1 | crond: line php -f /var/www/html/cron.php
nextcloud-cron-1 | crond: wakeup dt=60
nextcloud-cron-1 | crond: file www-data:
nextcloud-cron-1 | crond: line php -f /var/www/html/cron.php
After I changed the permissions chown -R www-data:www-data /MYNEXTCLOUDDIR
and set:
'check_data_directory_permissions' => false,
'config_is_read_only' => true
in the config.php,
https://docs.nextcloud.com/server/23/admin_manual/configuration_server/config_sample_php_parameters.html
the Log looks like:
App logs
--------
nextcloud
nextcloud-web-1 | [Mon Dec 27 20:26:40.343070 2021] [php:notice] [pid 41] [client 192.168.178.27:59654] {"reqId":"I1r0cy5skIVhYwpj2dbH","level":3,"time":"2021-12-27T20:26:40+00:00","remoteAddr":"192.168.178.27","user":"--","app":"PHP","method":"GET","url":"/","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Log/File.php#86","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","version":""}
nextcloud-web-1 | 192.168.178.27 - - [27/Dec/2021:20:26:40 +0000] "GET / HTTP/1.1" 500 2962 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36"
nextcloud-web-1 | [Mon Dec 27 20:26:41.580816 2021] [php:notice] [pid 40] [client 192.168.178.27:59659] {"reqId":"KbLj72lRDZLFYd71RhjY","level":3,"time":"2021-12-27T20:26:41+00:00","remoteAddr":"192.168.178.27","user":"--","app":"PHP","method":"GET","url":"/","message":"touch(): Utime failed: Permission denied at /var/www/html/lib/private/Config.php#248","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","version":"","exception":{"Exception":"Error","Message":"touch(): Utime failed: Permission denied at /var/www/html/lib/private/Config.php#248","Code":0,"Trace":[{"function":"onError","class":"OC\\\\Log\\\\ErrorHandler","type":"::","args":[2,"touch(): Utime failed: Permission denied","/var/www/html/lib/private/Config.php",248]},{"file":"/var/www/html/lib/private/Config.php","line":248,"function":"touch","args":["/var/www/html/config/config.php"]},{"file":"/var/www/html/lib/private/Config.php","line":138,"function":"writeData","class":"OC\\\\Config","type":"->","args":[]},{"file":"/var/www/html/lib/private/SystemConfig.php","line":131,"function":"setValue","class":"OC\\\\Config","type":"->","args":["instanceid","oc9m4iwo8xsi"]},{"file":"/var/www/html/lib/private/legacy/OC_Util.php","line":1119,"function":"setValue","class":"OC\\\\SystemConfig","type":"->","args":["instanceid","oc9m4iwo8xsi"]},{"file":"/var/www/html/lib/base.php","line":419,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":645,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1087,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
nextcloud-web-1 | [Mon Dec 27 20:26:41.581597 2021] [php:notice] [pid 40] [client 192.168.178.27:59659] {"reqId":"KbLj72lRDZLFYd71RhjY","level":3,"time":"2021-12-27T20:26:41+00:00","remoteAddr":"192.168.178.27","user":"--","app":"PHP","method":"GET","url":"/","message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#249","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","version":"","exception":{"Exception":"Error","Message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#249","Code":0,"Trace":[{"function":"onError","class":"OC\\\\Log\\\\ErrorHandler","type":"::","args":[2,"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied","/var/www/html/lib/private/Config.php",249]},{"file":"/var/www/html/lib/private/Config.php","line":249,"function":"fopen","args":["/var/www/html/config/config.php","r+"]},{"file":"/var/www/html/lib/private/Config.php","line":138,"function":"writeData","class":"OC\\\\Config","type":"->","args":[]},{"file":"/var/www/html/lib/private/SystemConfig.php","line":131,"function":"setValue","class":"OC\\\\Config","type":"->","args":["instanceid","oc9m4iwo8xsi"]},{"file":"/var/www/html/lib/private/legacy/OC_Util.php","line":1119,"function":"setValue","class":"OC\\\\SystemConfig","type":"->","args":["instanceid","oc9m4iwo8xsi"]},{"file":"/var/www/html/lib/base.php","line":419,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":645,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1087,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
nextcloud-web-1 | [Mon Dec 27 20:26:41.582287 2021] [php:notice] [pid 40] [client 192.168.178.27:59659] {"reqId":"KbLj72lRDZLFYd71RhjY","level":3,"time":"2021-12-27T20:26:41+00:00","remoteAddr":"192.168.178.27","user":"--","app":"PHP","method":"GET","url":"/","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#252","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","version":"","exception":{"Exception":"Error","Message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#252","Code":0,"Trace":[{"function":"onError","class":"OC\\\\Log\\\\ErrorHandler","type":"::","args":[2,"chmod(): Operation not permitted","/var/www/html/lib/private/Config.php",252]},{"file":"/var/www/html/lib/private/Config.php","line":252,"function":"chmod","args":["/var/www/html/config/config.php",416]},{"file":"/var/www/html/lib/private/Config.php","line":138,"function":"writeData","class":"OC\\\\Config","type":"->","args":[]},{"file":"/var/www/html/lib/private/SystemConfig.php","line":131,"function":"setValue","class":"OC\\\\Config","type":"->","args":["instanceid","oc9m4iwo8xsi"]},{"file":"/var/www/html/lib/private/legacy/OC_Util.php","line":1119,"function":"setValue","class":"OC\\\\SystemConfig","type":"->","args":["instanceid","oc9m4iwo8xsi"]},{"file":"/var/www/html/lib/base.php","line":419,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":645,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1087,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
nextcloud-web-1 | [Mon Dec 27 20:26:41.585201 2021] [php:notice] [pid 40] [client 192.168.178.27:59659] {"reqId":"KbLj72lRDZLFYd71RhjY","level":3,"time":"2021-12-27T20:26:41+00:00","remoteAddr":"192.168.178.27","user":"--","app":"index","method":"GET","url":"/","message":"Can't write into config directory!","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","version":"","exception":{"Exception":"OCP\\\\HintException","Message":"Can't write into config directory!","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Config.php","line":138,"function":"writeData","class":"OC\\\\Config","type":"->","args":[]},{"file":"/var/www/html/lib/private/SystemConfig.php","line":131,"function":"setValue","class":"OC\\\\Config","type":"->","args":["instanceid","oc9m4iwo8xsi"]},{"file":"/var/www/html/lib/private/legacy/OC_Util.php","line":1119,"function":"setValue","class":"OC\\\\SystemConfig","type":"->","args":["instanceid","oc9m4iwo8xsi"]},{"file":"/var/www/html/lib/base.php","line":419,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":645,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1087,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Config.php","Line":256,"Hint":"This can usually be fixed by giving the webserver write access to the config directory.","CustomMessage":"--"}}
nextcloud-web-1 | [Mon Dec 27 20:26:41.585766 2021] [php:notice] [pid 40] [client 192.168.178.27:59659] {"reqId":"KbLj72lRDZLFYd71RhjY","level":3,"time":"2021-12-27T20:26:41+00:00","remoteAddr":"192.168.178.27","user":"--","app":"index","method":"GET","url":"/","message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [14] unable to open database file","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","version":"","exception":{"Exception":"Doctrine\\\\DBAL\\\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [14] unable to open database file","Code":14,"Trace":[{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php","line":1519,"function":"connect","class":"OC\\\\DB\\\\Connection","type":"->","args":[]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php","line":1041,"function":"getWrappedConnection","class":"Doctrine\\\\DBAL\\\\Connection","type":"->","args":[]},{"file":"/var/www/html/lib/private/DB/Connection.php","line":236,"function":"executeQuery","class":"Doctrine\\\\DBAL\\\\Connection","type":"->","args":["SELECT * FROM \\"oc_appconfig\\"",[],[],null]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":345,"function":"executeQuery","class":"OC\\\\DB\\\\Connection","type":"->","args":["SELECT * FROM \\"oc_appconfig\\"",[],[]]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\\\DBAL\\\\Query\\\\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppConfig.php","line":344,"function":"execute","class":"OC\\\\DB\\\\QueryBuilder\\\\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppConfig.php","line":109,"function":"loadConfigValues","class":"OC\\\\AppConfig","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppConfig.php","line":300,"function":"getApps","class":"OC\\\\AppConfig","type":"->","args":[]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":127,"function":"getValues","class":"OC\\\\AppConfig","type":"->","args":[false,"enabled"]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":216,"function":"getInstalledAppsValues","class":"OC\\\\App\\\\AppManager","type":"->","args":[]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":283,"function":"isEnabledForUser","class":"OC\\\\App\\\\AppManager","type":"->","args":["theming"]},{"file":"/var/www/html/index.php","line":44,"function":"printErrorPage","class":"OC_Template","type":"::","args":["Can't write into config directory!","This can usually be fixed by giving the webserver write access to the config directory.",503]}],"File":"/var/www/html/lib/private/DB/Connection.php","Line":87,"CustomMessage":"--"}}
nextcloud-web-1 | [Mon Dec 27 20:26:41.604291 2021] [php:notice] [pid 40] [client 192.168.178.27:59659] {"reqId":"KbLj72lRDZLFYd71RhjY","level":3,"time":"2021-12-27T20:26:41+00:00","remoteAddr":"192.168.178.27","user":"--","app":"PHP","method":"GET","url":"/","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Log/File.php#86","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","version":""}
nextcloud-web-1 | 192.168.178.27 - - [27/Dec/2021:20:26:41 +0000] "GET / HTTP/1.1" 500 2962 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36"
nextcloud-web-1 | [Mon Dec 27 20:26:42.272418 2021] [php:notice] [pid 42] [client 192.168.178.27:59664] {"reqId":"SnJZY9ubfRw3qdUY2mzM","level":3,"time":"2021-12-27T20:26:42+00:00","remoteAddr":"192.168.178.27","user":"--","app":"PHP","method":"GET","url":"/","message":"touch(): Utime failed: Permission denied at /var/www/html/lib/private/Config.php#248","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","version":"","exception":{"Exception":"Error","Message":"touch(): Utime failed: Permission denied at /var/www/html/lib/private/Config.php#248","Code":0,"Trace":[{"function":"onError","class":"OC\\\\Log\\\\ErrorHandler","type":"::","args":[2,"touch(): Utime failed: Permission denied","/var/www/html/lib/private/Config.php",248]},{"file":"/var/www/html/lib/private/Config.php","line":248,"function":"touch","args":["/var/www/html/config/config.php"]},{"file":"/var/www/html/lib/private/Config.php","line":138,"function":"writeData","class":"OC\\\\Config","type":"->","args":[]},{"file":"/var/www/html/lib/private/SystemConfig.php","line":131,"function":"setValue","class":"OC\\\\Config","type":"->","args":["instanceid","ocgmrg0y0eak"]},{"file":"/var/www/html/lib/private/legacy/OC_Util.php","line":1119,"function":"setValue","class":"OC\\\\SystemConfig","type":"->","args":["instanceid","ocgmrg0y0eak"]},{"file":"/var/www/html/lib/base.php","line":419,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":645,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1087,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
nextcloud-web-1 | [Mon Dec 27 20:26:42.273664 2021] [php:notice] [pid 42] [client 192.168.178.27:59664] {"reqId":"SnJZY9ubfRw3qdUY2mzM","level":3,"time":"2021-12-27T20:26:42+00:00","remoteAddr":"192.168.178.27","user":"--","app":"PHP","method":"GET","url":"/","message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#249","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","version":"","exception":{"Exception":"Error","Message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#249","Code":0,"Trace":[{"function":"onError","class":"OC\\\\Log\\\\ErrorHandler","type":"::","args":[2,"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied","/var/www/html/lib/private/Config.php",249]},{"file":"/var/www/html/lib/private/Config.php","line":249,"function":"fopen","args":["/var/www/html/config/config.php","r+"]},{"file":"/var/www/html/lib/private/Config.php","line":138,"function":"writeData","class":"OC\\\\Config","type":"->","args":[]},{"file":"/var/www/html/lib/private/SystemConfig.php","line":131,"function":"setValue","class":"OC\\\\Config","type":"->","args":["instanceid","ocgmrg0y0eak"]},{"file":"/var/www/html/lib/private/legacy/OC_Util.php","line":1119,"function":"setValue","class":"OC\\\\SystemConfig","type":"->","args":["instanceid","ocgmrg0y0eak"]},{"file":"/var/www/html/lib/base.php","line":419,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":645,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1087,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
nextcloud-web-1 | [Mon Dec 27 20:26:42.275019 2021] [php:notice] [pid 42] [client 192.168.178.27:59664] {"reqId":"SnJZY9ubfRw3qdUY2mzM","level":3,"time":"2021-12-27T20:26:42+00:00","remoteAddr":"192.168.178.27","user":"--","app":"PHP","method":"GET","url":"/","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#252","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","version":"","exception":{"Exception":"Error","Message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#252","Code":0,"Trace":[{"function":"onError","class":"OC\\\\Log\\\\ErrorHandler","type":"::","args":[2,"chmod(): Operation not permitted","/var/www/html/lib/private/Config.php",252]},{"file":"/var/www/html/lib/private/Config.php","line":252,"function":"chmod","args":["/var/www/html/config/config.php",416]},{"file":"/var/www/html/lib/private/Config.php","line":138,"function":"writeData","class":"OC\\\\Config","type":"->","args":[]},{"file":"/var/www/html/lib/private/SystemConfig.php","line":131,"function":"setValue","class":"OC\\\\Config","type":"->","args":["instanceid","ocgmrg0y0eak"]},{"file":"/var/www/html/lib/private/legacy/OC_Util.php","line":1119,"function":"setValue","class":"OC\\\\SystemConfig","type":"->","args":["instanceid","ocgmrg0y0eak"]},{"file":"/var/www/html/lib/base.php","line":419,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":645,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1087,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
nextcloud-web-1 | [Mon Dec 27 20:26:42.280452 2021] [php:notice] [pid 42] [client 192.168.178.27:59664] {"reqId":"SnJZY9ubfRw3qdUY2mzM","level":3,"time":"2021-12-27T20:26:42+00:00","remoteAddr":"192.168.178.27","user":"--","app":"index","method":"GET","url":"/","message":"Can't write into config directory!","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","version":"","exception":{"Exception":"OCP\\\\HintException","Message":"Can't write into config directory!","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Config.php","line":138,"function":"writeData","class":"OC\\\\Config","type":"->","args":[]},{"file":"/var/www/html/lib/private/SystemConfig.php","line":131,"function":"setValue","class":"OC\\\\Config","type":"->","args":["instanceid","ocgmrg0y0eak"]},{"file":"/var/www/html/lib/private/legacy/OC_Util.php","line":1119,"function":"setValue","class":"OC\\\\SystemConfig","type":"->","args":["instanceid","ocgmrg0y0eak"]},{"file":"/var/www/html/lib/base.php","line":419,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":645,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1087,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Config.php","Line":256,"Hint":"This can usually be fixed by giving the webserver write access to the config directory.","CustomMessage":"--"}}
nextcloud-web-1 | [Mon Dec 27 20:26:42.281570 2021] [php:notice] [pid 42] [client 192.168.178.27:59664] {"reqId":"SnJZY9ubfRw3qdUY2mzM","level":3,"time":"2021-12-27T20:26:42+00:00","remoteAddr":"192.168.178.27","user":"--","app":"index","method":"GET","url":"/","message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [14] unable to open database file","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","version":"","exception":{"Exception":"Doctrine\\\\DBAL\\\\Exception","Message":"Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [14] unable to open database file","Code":14,"Trace":[{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php","line":1519,"function":"connect","class":"OC\\\\DB\\\\Connection","type":"->","args":[]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php","line":1041,"function":"getWrappedConnection","class":"Doctrine\\\\DBAL\\\\Connection","type":"->","args":[]},{"file":"/var/www/html/lib/private/DB/Connection.php","line":236,"function":"executeQuery","class":"Doctrine\\\\DBAL\\\\Connection","type":"->","args":["SELECT * FROM \\"oc_appconfig\\"",[],[],null]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":345,"function":"executeQuery","class":"OC\\\\DB\\\\Connection","type":"->","args":["SELECT * FROM \\"oc_appconfig\\"",[],[]]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":287,"function":"execute","class":"Doctrine\\\\DBAL\\\\Query\\\\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppConfig.php","line":344,"function":"execute","class":"OC\\\\DB\\\\QueryBuilder\\\\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppConfig.php","line":109,"function":"loadConfigValues","class":"OC\\\\AppConfig","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppConfig.php","line":300,"function":"getApps","class":"OC\\\\AppConfig","type":"->","args":[]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":127,"function":"getValues","class":"OC\\\\AppConfig","type":"->","args":[false,"enabled"]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":216,"function":"getInstalledAppsValues","class":"OC\\\\App\\\\AppManager","type":"->","args":[]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":283,"function":"isEnabledForUser","class":"OC\\\\App\\\\AppManager","type":"->","args":["theming"]},{"file":"/var/www/html/index.php","line":44,"function":"printErrorPage","class":"OC_Template","type":"::","args":["Can't write into config directory!","This can usually be fixed by giving the webserver write access to the config directory.",503]}],"File":"/var/www/html/lib/private/DB/Connection.php","Line":87,"CustomMessage":"--"}}
nextcloud-web-1 | [Mon Dec 27 20:26:42.303946 2021] [php:notice] [pid 42] [client 192.168.178.27:59664] {"reqId":"SnJZY9ubfRw3qdUY2mzM","level":3,"time":"2021-12-27T20:26:42+00:00","remoteAddr":"192.168.178.27","user":"--","app":"PHP","method":"GET","url":"/","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Log/File.php#86","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","version":""}
nextcloud-web-1 | 192.168.178.27 - - [27/Dec/2021:20:26:42 +0000] "GET / HTTP/1.1" 500 2962 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36"
nextcloud-web-1 | 192.168.178.27 - - [27/Dec/2021:20:27:00 +0000] "GET /login?user=citadel HTTP/1.1" 404 710 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36"
nextcloud-redis-1 | 1:C 27 Dec 2021 20:24:48.534 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
nextcloud-redis-1 | 1:C 27 Dec 2021 20:24:48.534 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=1, just started
nextcloud-redis-1 | 1:C 27 Dec 2021 20:24:48.534 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
nextcloud-redis-1 | 1:M 27 Dec 2021 20:24:48.536 * monotonic clock: POSIX clock_gettime
nextcloud-redis-1 | 1:M 27 Dec 2021 20:24:48.546 * Running mode=standalone, port=6379.
nextcloud-redis-1 | 1:M 27 Dec 2021 20:24:48.546 # Server initialized
nextcloud-redis-1 | 1:M 27 Dec 2021 20:24:48.546 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
nextcloud-redis-1 | 1:M 27 Dec 2021 20:24:48.555 * Loading RDB produced by version 6.2.6
nextcloud-redis-1 | 1:M 27 Dec 2021 20:24:48.555 * RDB age 155 seconds
nextcloud-redis-1 | 1:M 27 Dec 2021 20:24:48.555 * RDB memory usage when created 0.80 Mb
nextcloud-redis-1 | 1:M 27 Dec 2021 20:24:48.555 # Done loading RDB, keys loaded: 0, keys expired: 0.
nextcloud-redis-1 | 1:M 27 Dec 2021 20:24:48.555 * DB loaded from disk: 0.000 seconds
nextcloud-redis-1 | 1:M 27 Dec 2021 20:24:48.555 * Ready to accept connections
I also deleted the "circles" app/folder in .../nextcloud/apps
Someone mentioned, that there could be an incompatibility between the circles (nextcloud) add-on and the current nextcloud version.
I also changed for testing the app paths in the config.php from /var/www/html/data/
to the direct path of my storage (I've undone it).
But nothing helps.
Any ideas?