Server stuck in maintenance mode

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Operating system and version: Ubuntu 22.04.3 LTS

The issue you are facing:

Server is stuck in maintenance mode.

Is this the first time you’ve seen this error? (Y/N):

Yep.

Steps to replicate it:

  1. Watchtowerr updated image on 2/7/2024
  2. Have been unable to access server since.

I have tried restarting the compose file and rebooting the server. App is running via docker compose. Below is the container log after restarting the compose file.

Any help would be grand.

=> Searching for scripts (*.sh) to run, located in the folder: /docker-entrypoint-hooks.d/before-starting
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.240.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.240.3. Set the 'ServerName' directive globally to suppress this message
[Mon Feb 12 20:22:14.257763 2024] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.57 (Debian) PHP/8.2.15 configured -- resuming normal operations
[Mon Feb 12 20:22:14.257798 2024] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
192.168.1.1 - USERNAME [12/Feb/2024:20:22:47 +0000] "PROPFIND /remote.php/dav/calendars/USERNAME/ HTTP/1.1" 503 3283 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - - [12/Feb/2024:20:22:51 +0000] "GET /custom_apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 200 572 "-" "Nextcloud Server Crawler"
192.168.1.1 - - [12/Feb/2024:20:22:51 +0000] "GET /custom_apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 200 572 "-" "Nextcloud Server Crawler"
192.168.1.1 - - [12/Feb/2024:20:22:49 +0000] "GET / HTTP/1.1" 503 19668 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - - [12/Feb/2024:20:22:41 +0000] "GET / HTTP/1.1" 503 19866 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - - [12/Feb/2024:20:22:51 +0000] "GET /apps/theming/manifest?v=b6589fc6 HTTP/1.1" 503 19668 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - - [12/Feb/2024:20:22:51 +0000] "GET /apps/theming/favicon?v=b6589fc6 HTTP/1.1" 503 19668 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - USERNAME [12/Feb/2024:20:22:53 +0000] "GET /index.php/204 HTTP/1.1" 503 16049 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:23:55 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:24:57 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:25:59 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:27:01 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:28:03 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - - [12/Feb/2024:20:28:30 +0000] "GET /apps/theming/manifest?v=b6589fc6 HTTP/1.1" 503 19668 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - - [12/Feb/2024:20:28:30 +0000] "GET /dist/core-maintenance.js.map?v=8fc2dcd0d3065d8a51ad HTTP/1.1" 200 5087 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - - [12/Feb/2024:20:28:30 +0000] "GET /core/css/guest.css.map HTTP/1.1" 200 1656 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - - [12/Feb/2024:20:28:51 +0000] "GET / HTTP/1.1" 503 19668 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - - [12/Feb/2024:20:28:51 +0000] "GET /apps/theming/manifest?v=b6589fc6 HTTP/1.1" 503 19668 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - - [12/Feb/2024:20:28:51 +0000] "GET /apps/theming/favicon?v=b6589fc6 HTTP/1.1" 503 19668 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - USERNAME [12/Feb/2024:20:29:05 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:30:07 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:30:07 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:30:07 +0000] "GET /status.php HTTP/1.1" 200 1083 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:31:00 +0000] "OPTIONS /remote.php/dav/calendars/USERNAME HTTP/1.1" 503 3283 "-" "curl/7.54"
192.168.1.1 - USERNAME [12/Feb/2024:20:31:04 +0000] "PROPFIND /remote.php/dav/files/USERNAME/ HTTP/1.1" 503 1040 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.27.0"
192.168.1.1 - USERNAME [12/Feb/2024:20:31:09 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:31:09 +0000] "GET /status.php HTTP/1.1" 200 1083 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
185.70.43.33 - - [12/Feb/2024:20:31:23 +0000] "GET /remote.php/dav/public-calendars/i9wtMERAFK86y4Ea?export HTTP/1.1" 503 3283 "-" "ProtonCalendar/1.0"
192.168.1.1 - USERNAME [12/Feb/2024:20:32:11 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:32:11 +0000] "GET /status.php HTTP/1.1" 200 1083 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - - [12/Feb/2024:20:33:05 +0000] "GET / HTTP/1.1" 503 19668 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - - [12/Feb/2024:20:33:05 +0000] "GET /apps/theming/favicon?v=b6589fc6 HTTP/1.1" 503 19668 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - - [12/Feb/2024:20:33:05 +0000] "GET /apps/theming/manifest?v=b6589fc6 HTTP/1.1" 503 19668 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - USERNAME [12/Feb/2024:20:33:13 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:33:13 +0000] "GET /status.php HTTP/1.1" 200 1083 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.97 - - [12/Feb/2024:20:33:15 +0000] "GET / HTTP/1.1" 503 20428 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.97 - - [12/Feb/2024:20:33:16 +0000] "GET /apps/theming/favicon?v=b6589fc6 HTTP/1.1" 503 20428 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
192.168.1.1 - USERNAME [12/Feb/2024:20:34:15 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:34:15 +0000] "GET /status.php HTTP/1.1" 200 1083 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:35:17 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:35:17 +0000] "GET /status.php HTTP/1.1" 200 1083 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:36:19 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:36:19 +0000] "GET /status.php HTTP/1.1" 200 1083 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:37:21 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:37:21 +0000] "GET /status.php HTTP/1.1" 200 1083 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:38:23 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:38:23 +0000] "GET /status.php HTTP/1.1" 200 1083 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:39:25 +0000] "GET /index.php/204 HTTP/1.1" 503 15851 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.1 - USERNAME [12/Feb/2024:20:39:25 +0000] "GET /status.php HTTP/1.1" 200 1083 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"

Propably you can use the occ command to turn off the maintenance mode: Using the occ command — Nextcloud latest Administration Manual latest documentation

1 Like

This helped me get everything running again. Thanks.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.