juliushaertl / nextcloud-docker-dev

Nextcloud development environment using docker-compose
GNU Affero General Public License v3.0
137 stars 72 forks source link

Standalone container stable27 throws error and misses GUI elements #270

Closed frederikb96 closed 10 months ago

frederikb96 commented 10 months ago

Thanks for the fast fix of #269. It is working as expected for latest and stable28 now :blush:

However using stable27 gives me an error and results in missing GUI elements in web interface:

Part of the Log, otherwise too long ``` freddy@freddy-book:~$ docker run --rm -p 8080:80 -e SERVER_BRANCH=stable27 ghcr.io/juliushaertl/nextcloud-dev-php81:latest AllowOverride None RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} !/installing.html$ RewriteRule .* /installing.html [L] Server source is not present, fetching stable27 Cloning into '/tmp/server'... 📰 Watching log file ⌚ Starting cron 🚀 Starting apache ==> /var/www/html/data/nextcloud.log <== ==> /var/log/cron/nextcloud.log <== ==> /var/log/xdebug.log <== [Wed Dec 06 07:52:06.942323 2023] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.57 (Debian) PHP/8.1.24 configured -- resuming normal operations [Wed Dec 06 07:52:06.942346 2023] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND' Submodule '3rdparty' (https://github.com/nextcloud/3rdparty.git) registered for path '3rdparty' Cloning into '/tmp/server/3rdparty'... Submodule path '3rdparty': checked out '9e98dce036c0c2654f1ce33387f5d3e73488349e' Cloning additional apps Cloning into '/tmp/server/apps/viewer'... Nextcloud server source is ready ⌛ Waiting for other containers ✅ Database server ready ⚠ No value for PHP_XDEBUG_MODE was found. Not updating the setting. Nextcloud is not installed - only a limited number of commands are available Add the host IP as host.docker.internal to /etc/hosts ... database name will be 🔧 Starting auto installation occ maintenance:install --admin-user=admin --admin-pass=admin --database=sqlite Nextcloud was successfully installed 🔧 Server installed 🔧 Provisioning apps occ app:disable password_policy No such app enabled: password_policy occ config:system:set lookup_server --value= System config value lookup_server set to empty string 🔧 Finetuning the configuration 🔧 setting trusted domains… occ config:system:set trusted_domains 1 --value=nextcloud System config value trusted_domains => 1 set to string nextcloud occ config:system:set trusted_domains 2 --value=172.17.0.2 System config value trusted_domains => 2 set to string 172.17.0.2 occ config:system:set trusted_domains 3 --value=localhost System config value trusted_domains => 3 set to string localhost occ config:system:set trusted_proxies 0 --value=172.17.0.2/16 System config value trusted_proxies => 0 set to string 172.17.0.2/16 🔧 Preparing cron job occ background:cron Set mode for background jobs to 'cron' 🔧 Setting up users and LDAP in the background occ user:setting admin settings email admin@example.net occ user:add --password-from-env nextcloud occ user:add --password-from-env user1 occ user:add --password-from-env user2 occ user:add --password-from-env user3 occ user:add --password-from-env user4 occ user:add --password-from-env user5 occ user:add --password-from-env user6 occ user:add --password-from-env jane occ user:add --password-from-env alice 🚀 Finished setup using sqlite database… occ user:add --password-from-env john occ user:add --password-from-env bob [Wed Dec 06 07:52:41.426044 2023] [mpm_prefork:notice] [pid 1] AH00171: Graceful restart requested, doing restart [Wed Dec 06 07:52:41.490361 2023] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.57 (Debian) PHP/8.1.24 configured -- resuming normal operations [Wed Dec 06 07:52:41.490419 2023] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND' [Wed Dec 06 07:52:41.490474 2023] [mpm_prefork:warn] [pid 1] AH00167: long lost child came home! (pid 13) In ExceptionConverter.php line 35: An exception occurred while executing a query: SQLSTATE[HY000]: General err or: 5 database is locked In Exception.php line 30: SQLSTATE[HY000]: General error: 5 database is locked In Statement.php line 101: SQLSTATE[HY000]: General error: 5 database is locked user:setting [--output [OUTPUT]] [--ignore-missing-user] [--default-value DEFAULT-VALUE] [--update-only] [--delete] [--error-if-not-exists] [--] [ [ []]] Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories The user "alice" was created successfully The user "user5" was created successfully [Wed Dec 06 07:52:42.502367 2023] [mpm_prefork:warn] [pid 1] AH00167: long lost child came home! (pid 268) [Wed Dec 06 07:52:42.502401 2023] [mpm_prefork:warn] [pid 1] AH00167: long lost child came home! (pid 284) [Wed Dec 06 07:52:42.502412 2023] [mpm_prefork:warn] [pid 1] AH00167: long lost child came home! (pid 300) Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories The user "user6" was created successfully The user "jane" was created successfully The user "user2" was created successfully ==> /var/www/html/data/nextcloud.log <== {"reqId":"1ouHFIrIfFfysSsFP11x","level":3,"time":"2023-12-06T07:52:42+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--",...}"message":"Exception thrown: OC\\DB\\Exceptions\\DbalException","userAgent" {"reqId":"fVLTEp5BrbLgjKmu9c60","level":3,"time":"2023-12-06T07:52:42+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--",...}"message":"Exception thrown: OC\\DB\\Exceptions\\DbalException","userAgent" {"reqId":"6xXRfdF1Gy9OOJxscTJO","level":3,"time":"2023-12-06T07:52:42+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--",...}"message":"Exception thrown: OC\\DB\\Exceptions\\DbalException","userAgent" The user "user4" was created successfully Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories The user "user1" was created successfully Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories The user "bob" was created successfully [Wed Dec 06 07:52:43.503479 2023] [mpm_prefork:warn] [pid 1] AH00167: long lost child came home! (pid 267) [Wed Dec 06 07:52:43.503519 2023] [mpm_prefork:warn] [pid 1] AH00167: long lost child came home! (pid 276) [Wed Dec 06 07:52:43.503534 2023] [mpm_prefork:warn] [pid 1] AH00167: long lost child came home! (pid 277) [Wed Dec 06 07:52:43.503550 2023] [mpm_prefork:warn] [pid 1] AH00167: long lost child came home! (pid 283) [Wed Dec 06 07:52:43.503564 2023] [mpm_prefork:warn] [pid 1] AH00167: long lost child came home! (pid 290) [Wed Dec 06 07:52:43.503578 2023] [mpm_prefork:warn] [pid 1] AH00167: long lost child came home! (pid 293) [Wed Dec 06 07:52:43.503592 2023] [mpm_prefork:warn] [pid 1] AH00167: long lost child came home! (pid 304) Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories The user "user3" was created successfully {"reqId":"5wsEYA8ezaF2TfkElv1E","level":3,"time":"2023-12-06T07:52:42+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--",...}"message":"Exception thrown: OC\\DB\\Exceptio Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories The user "john" was created successfully Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories The user "nextcloud" was created successfully [Wed Dec 06 07:52:44.504955 2023] [mpm_prefork:warn] [pid 1] AH00167: long lost child came home! (pid 275) [Wed Dec 06 07:52:44.505014 2023] [mpm_prefork:warn] [pid 1] AH00167: long lost child came home! (pid 281) [Wed Dec 06 07:52:44.505039 2023] [mpm_prefork:warn] [pid 1] AH00167: long lost child came home! (pid 295) Wed Dec 6 07:53:00 2023 (334): [Error] APM: Locking APM for 300 seconds for reason: Cannot connect to the agent ```
juliushaertl commented 10 months ago

The errors there should only affect the user creation, the log doesn't show any hint about a failure that could lead to missing gui elements. Any further details around what is missing? Screenshots of the broken state? I tried and running the command works fine for me (or at least i didn't notice any UI issue)

frederikb96 commented 10 months ago

Thanks again for fast reply. I tested it again, and as you said, there is no UI glitch for me either anymore. Must have been my Firefox somehow. There were no icons in the top-right corner, but the site didnt look cropped. But all fine now, so I will simply close it again :)