In the nextcloud.log :
Application Name:nextcloudContainer ID:1f6482aeb7f5632a603610ae84d117277a6fa6e37733a367f0ae6d56bfa80c26
2026-01-22 11:27:37.019381+00:00Configuring Redis as session handler
2026-01-22 11:27:37.407477+00:00Warning: /var/www/html/config/redis.config.php differs from the latest version of this image at /usr/src/nextcloud/config/redis.config.php
2026-01-22 11:27:37.411800+00:00Warning: /var/www/html/config/reverse-proxy.config.php differs from the latest version of this image at /usr/src/nextcloud/config/reverse-proxy.config.php
2026-01-22 11:27:37.415816+00:00Warning: /var/www/html/config/s3.config.php differs from the latest version of this image at /usr/src/nextcloud/config/s3.config.php
2026-01-22 11:27:37.419405+00:00Warning: /var/www/html/config/smtp.config.php differs from the latest version of this image at /usr/src/nextcloud/config/smtp.config.php
2026-01-22 11:27:37.427170+00:00=> Searching for hook scripts (*.sh) to run, located in the folder "/docker-entrypoint-hooks.d/before-starting"
2026-01-22 11:27:37.432297+00:00==> Running the script (cwd: /var/www/html): "/docker-entrypoint-hooks.d/before-starting/ix-update-hosts-script.sh"
2026-01-22 11:27:37.458458+00:00Updating database and redis host in config.php
2026-01-22 11:27:38.270344+00:00Nextcloud is in maintenance mode, no apps are loaded.
2026-01-22 11:27:38.270467+00:00Commands provided by apps are unavailable.
2026-01-22 11:27:38.280614+00:00System config value redis => host set to string redis
2026-01-22 11:27:38.308870+00:00==> Finished executing the script: "/docker-entrypoint-hooks.d/before-starting/ix-update-hosts-script.sh"
2026-01-22 11:27:38.309646+00:00==> Running the script (cwd: /var/www/html): "/docker-entrypoint-hooks.d/before-starting/ix-update-trusted-domains-script.sh"
2026-01-22 11:27:38.330937+00:00Updating trusted domains. It will append new domains to the existing list.
2026-01-22 11:27:38.331027+00:00If you see a domain that is not longer valid, you need to manually remove it from the list in the config.php file.
2026-01-22 11:27:39.005698+00:00Nextcloud is in maintenance mode, no apps are loaded.
2026-01-22 11:27:39.005792+00:00Commands provided by apps are unavailable.
2026-01-22 11:27:39.665224+00:00Nextcloud is in maintenance mode, no apps are loaded.
2026-01-22 11:27:39.665301+00:00Commands provided by apps are unavailable.
2026-01-22 11:27:39.672929+00:00System config value trusted_domains deleted
2026-01-22 11:27:40.508083+00:00Nextcloud is in maintenance mode, no apps are loaded.
2026-01-22 11:27:40.508607+00:00Commands provided by apps are unavailable.
2026-01-22 11:27:40.521488+00:00System config value trusted_domains => 0 set to string 127.0.0.1
2026-01-22 11:27:41.455866+00:00Nextcloud is in maintenance mode, no apps are loaded.
2026-01-22 11:27:41.455980+00:00Commands provided by apps are unavailable.
2026-01-22 11:27:41.465707+00:00System config value trusted_domains => 1 set to string 192.168.1.158
2026-01-22 11:27:42.288729+00:00Nextcloud is in maintenance mode, no apps are loaded.
2026-01-22 11:27:42.288818+00:00Commands provided by apps are unavailable.
2026-01-22 11:27:42.297708+00:00System config value trusted_domains => 2 set to string 192.168.1.158:9002
2026-01-22 11:27:43.136640+00:00Nextcloud is in maintenance mode, no apps are loaded.
2026-01-22 11:27:43.136738+00:00Commands provided by apps are unavailable.
2026-01-22 11:27:43.147585+00:00System config value trusted_domains => 3 set to string localhost
2026-01-22 11:27:43.821598+00:00Nextcloud is in maintenance mode, no apps are loaded.
2026-01-22 11:27:43.821672+00:00Commands provided by apps are unavailable.
2026-01-22 11:27:43.827142+00:00System config value trusted_domains => 4 set to string nextcloud
2026-01-22 11:27:43.845482+00:00==> Finished executing the script: "/docker-entrypoint-hooks.d/before-starting/ix-update-trusted-domains-script.sh"
2026-01-22 11:27:43.845608+00:00=> Completed executing scripts in the "before-starting" folder
2026-01-22 11:27:43.901133+00:00AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using fdd0:0:0:e::4. Set the 'ServerName' directive globally to suppress this message
2026-01-22 11:27:43.927778+00:00AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using fdd0:0:0:e::4. Set the 'ServerName' directive globally to suppress this message
2026-01-22 11:27:44.056825+00:00[Thu Jan 22 19:27:44.056640 2026] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.66 (Debian) PHP/8.3.30 configured -- resuming normal operations
2026-01-22 11:27:44.056898+00:00[Thu Jan 22 19:27:44.056722 2026] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
2026-01-22 11:27:45.730295+00:00127.0.0.1 - - [22/Jan/2026:19:27:45 +0800] "GET /status.php HTTP/1.1" 200 1063 "-" "curl/8.14.1"
2026-01-22 11:27:46.271299+00:00192.168.1.1 - - [22/Jan/2026:19:27:44 +0800] "OPTIONS / HTTP/1.0" 503 0 "-" "-"
2026-01-22 11:27:46.611781+00:00192.168.1.1 - - [22/Jan/2026:19:27:46 +0800] "OPTIONS / HTTP/1.0" 503 32965 "-" "-"
2026-01-22 11:27:47.970077+00:00192.168.1.1 - - [22/Jan/2026:19:27:47 +0800] "OPTIONS / HTTP/1.0" 503 32975 "-" "-"
2026-01-22 11:27:49.282616+00:00192.168.1.1 - - [22/Jan/2026:19:27:48 +0800] "OPTIONS / HTTP/1.0" 503 32971 "-" "-"
2026-01-22 11:27:50.682251+00:00192.168.1.1 - - [22/Jan/2026:19:27:50 +0800] "OPTIONS / HTTP/1.0" 503 32971 "-" "-"
The solution is:
sudo docker exec -it e9438cfc3eea sh
# php occ upgrade
Nextcloud is in maintenance mode, no apps are loaded.
Commands provided by apps are unavailable.
Nextcloud is in maintenance mode
Maybe an upgrade is already in process. Please check the logfile (data/nextcloud.log). If you want to re-run the upgrade procedure, remove the "maintenance mode" from config.php and call this script again.
# php occ maintenance:mode --off
Maintenance mode disabled
# php occ upgrade
No upgrade required.
Sunday, 25 January 2026
Subscribe to:
Posts (Atom)