503 Service Unavailable

Found this error on web interface just today (surely working until 2-3 days ago).

# Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

As you can see here https://danardi.ddns.net:9443/

It still work on app (ios) and application (windows and macos), seem to be only the web interface

That’s my report:

$ sudo ncp-report
<–! Paste this in GitHub report →

NextCloudPi diagnostics

NextCloudPi version  v1.50.3
NextCloudPi image    NextCloudPi_11-27-20
OS                   Debian GNU/Linux 11. 5.10.92-v8+ (aarch64)
automount            yes
USB devices          sda 
datadir              /var/www/nextcloud/data
data in SD           yes
data filesystem      ext2/ext3
data disk usage      8.5G/29G
rootfs usage         8.5G/29G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    24.0.5.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          down
Postfix service      up
Internet check       ok
public IP            ***REMOVED SENSITIVE VALUE***
public IP            ***REMOVED SENSITIVE VALUE***
Port check 80        closed
Port check 443       closed
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
Interface            eth0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               13min

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "5": "nextcloudpi.local",
            "7": "nextcloudpi",
            "8": "nextcloudpi.lan",
            "11": "2.38.35.20",
            "1": "192.168.1.19",
            "3": "danardi.ddns.net",
            "22": "danardi.ddns.net",
            "": "nextcloudpi",
            "14": "nextcloudpi"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "24.0.5.1",
        "overwrite.cli.url": "https:\/\/danardi.ddns.net\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/var\/www\/nextcloud\/data\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "overwriteprotocol": "https",
        "loglevel": "2",
        "log_type": "file",
        "maintenance": false,
        "theme": "",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "twofactor_enforced": "false",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": []
    }
}

HTTPd logs

[Sat Oct 08 00:00:01.402521 2022] [ssl:warn] [pid 16189:tid 548091692096] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 08 00:00:01.474969 2022] [mpm_event:notice] [pid 16189:tid 548091692096] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Sat Oct 08 00:00:01.475010 2022] [core:notice] [pid 16189:tid 548091692096] AH00094: Command line: '/usr/sbin/apache2'
[Sat Oct 08 04:00:02.714673 2022] [mpm_event:notice] [pid 16189:tid 548091692096] AH00492: caught SIGWINCH, shutting down gracefully
[Sat Oct 08 04:00:17.264743 2022] [ssl:warn] [pid 539:tid 547857962048] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 08 04:00:17.322768 2022] [ssl:warn] [pid 906:tid 547857962048] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 08 04:00:17.327588 2022] [mpm_event:notice] [pid 906:tid 547857962048] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Sat Oct 08 04:00:17.327686 2022] [core:notice] [pid 906:tid 547857962048] AH00094: Command line: '/usr/sbin/apache2'
[Sat Oct 08 22:00:12.903868 2022] [mpm_event:notice] [pid 906:tid 547857962048] AH00493: SIGUSR1 received.  Doing graceful restart
[Sat Oct 08 22:00:12.960538 2022] [ssl:warn] [pid 906:tid 547857962048] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 08 22:00:12.968992 2022] [mpm_event:notice] [pid 906:tid 547857962048] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Sat Oct 08 22:00:12.969057 2022] [core:notice] [pid 906:tid 547857962048] AH00094: Command line: '/usr/sbin/apache2'
[Sat Oct 08 22:01:46.398698 2022] [mpm_event:notice] [pid 906:tid 547857962048] AH00492: caught SIGWINCH, shutting down gracefully
[Sat Oct 08 22:01:53.706470 2022] [ssl:warn] [pid 511:tid 547851908160] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 08 22:01:53.760319 2022] [ssl:warn] [pid 647:tid 547851908160] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sat Oct 08 22:01:53.765670 2022] [mpm_event:notice] [pid 647:tid 547851908160] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Sat Oct 08 22:01:53.765791 2022] [core:notice] [pid 647:tid 547851908160] AH00094: Command line: '/usr/sbin/apache2'

Database logs

2022-03-06 10:21:28 208580 [Warning] Aborted connection 208580 to db: 'nextcloud' user: 'ncadmin' host: 'localhost' (Got an error reading communication packets)
2022-03-06 10:59:16 0 [Note] /usr/sbin/mysqld (initiated by: unknown): Normal shutdown
2022-03-06 10:59:16 0 [Note] Event Scheduler: Purging the queue. 0 events
2022-03-06 10:59:16 0 [Note] InnoDB: FTS optimize thread exiting.
2022-03-06 10:59:16 0 [Note] InnoDB: Starting shutdown...
2022-03-06 10:59:16 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2022-03-06 10:59:16 0 [Note] InnoDB: Instance 0, restricted to 16384 pages due to innodb_buf_pool_dump_pct=25
2022-03-06 10:59:16 0 [Note] InnoDB: Buffer pool(s) dump completed at 220306 10:59:16
2022-03-06 10:59:18 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2022-03-06 10:59:18 0 [Note] InnoDB: Shutdown completed; log sequence number 22932575205; transaction id 29442059
2022-03-06 10:59:18 0 [Note] /usr/sbin/mysqld: Shutdown complete


Nextcloud logs

{"reqId":"YzUwlo5vg_FRKZORxjcU6AAAVQE","level":1,"time":"2022-09-29T05:43:54+00:00","remoteAddr":"::1","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/notify_push/test/version","message":"Unable to generate a URL for the named route \"photos.page.index\" as such route does not exist.","userAgent":"--","version":"24.0.3.2","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"photos.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":361,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":58,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":91,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":287,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":113,"function":"init","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/ThemingDefaults.php","line":199,"function":"getAll","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Defaults.php","line":280,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->"},{"file":"/var/www/nextcloud/lib/public/Defaults.php","line":177,"function":"getLongFooter","class":"OC_Defaults","type":"->"},{"file":"/var/www/nextcloud/core/templates/layout.guest.php","line":54,"function":"getLongFooter","class":"OCP\\Defaults","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":180,"args":["/var/www/nextcloud/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":182,"function":"fetchPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":213,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":302,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":973,"function":"checkMaintenanceMode","class":"OC","type":"::"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":143,"message":"Unable to generate a URL for the named route \"photos.page.index\" as such route does not exist.","exception":{},"CustomMessage":"Unable to generate a URL for the named route \"photos.page.index\" as such route does not exist."}}
{"reqId":"YzUwlo5vg_FRKZORxjcU6AAAVQE","level":1,"time":"2022-09-29T05:43:54+00:00","remoteAddr":"::1","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/notify_push/test/version","message":"Unable to generate a URL for the named route \"tasks.page.index\" as such route does not exist.","userAgent":"--","version":"24.0.3.2","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"tasks.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":361,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":58,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":91,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":287,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->"},{"file":"/var/www/nextcloud/lib/private/NavigationManager.php","line":113,"function":"init","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/ThemingDefaults.php","line":199,"function":"getAll","class":"OC\\NavigationManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Defaults.php","line":280,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->"},{"file":"/var/www/nextcloud/lib/public/Defaults.php","line":177,"function":"getLongFooter","class":"OC_Defaults","type":"->"},{"file":"/var/www/nextcloud/core/templates/layout.guest.php","line":54,"function":"getLongFooter","class":"OCP\\Defaults","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":180,"args":["/var/www/nextcloud/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":182,"function":"fetchPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":213,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":302,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":973,"function":"checkMaintenanceMode","class":"OC","type":"::"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":143,"message":"Unable to generate a URL for the named route \"tasks.page.index\" as such route does not exist.","exception":{},"CustomMessage":"Unable to generate a URL for the named route \"tasks.page.index\" as such route does not exist."}}
{"reqId":"kNDRCM0bOtV32fB8ISx6","level":1,"time":"2022-09-29T05:44:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::finishedCheckCodeIntegrity: Finished code integrity check","userAgent":"--","version":"24.0.3.2","data":{"app":"updater"}}
{"reqId":"kNDRCM0bOtV32fB8ISx6","level":1,"time":"2022-09-29T05:44:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::updateEnd: Update successful","userAgent":"--","version":"24.0.5.1","data":{"app":"updater"}}
{"reqId":"kNDRCM0bOtV32fB8ISx6","level":1,"time":"2022-09-29T05:44:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::maintenanceDisabled: Turned off maintenance mode","userAgent":"--","version":"24.0.5.1","data":{"app":"updater"}}
{"reqId":"kNDRCM0bOtV32fB8ISx6","level":1,"time":"2022-09-29T05:44:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)","userAgent":"--","version":"24.0.5.1","data":{"app":"updater"}}
{"reqId":"YzWAU9c8jdl_A2S7AWLL7QAAAA8","level":2,"time":"2022-09-29T11:24:03+00:00","remoteAddr":"141.105.66.148","user":"--","app":"core","method":"GET","url":"/server-status","message":"Trusted domain error. \"141.105.66.148\" tried to access using \"net-2-38-35-20.cust.vodafonedsl.it:9443\" as host.","userAgent":"curl/7.54.0","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"YzWAU7R_vPvghI5ApBYXbgAAAE0","level":2,"time":"2022-09-29T11:24:03+00:00","remoteAddr":"141.105.66.148","user":"--","app":"core","method":"GET","url":"/","message":"Trusted domain error. \"141.105.66.148\" tried to access using \"net-2-38-35-20.cust.vodafonedsl.it:9443\" as host.","userAgent":"curl/7.54.0","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"YzWAU9c8jdl_A2S7AWLL7gAAAAg","level":2,"time":"2022-09-29T11:24:03+00:00","remoteAddr":"141.105.66.148","user":"--","app":"core","method":"GET","url":"/sdk","message":"Trusted domain error. \"141.105.66.148\" tried to access using \"net-2-38-35-20.cust.vodafonedsl.it:9443\" as host.","userAgent":"curl/7.54.0","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"YzWAU7R_vPvghI5ApBYXbwAAAE4","level":2,"time":"2022-09-29T11:24:03+00:00","remoteAddr":"141.105.66.148","user":"--","app":"core","method":"GET","url":"/nmaplowercheck1664450629","message":"Trusted domain error. \"141.105.66.148\" tried to access using \"net-2-38-35-20.cust.vodafonedsl.it:9443\" as host.","userAgent":"curl/7.54.0","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"YzWAU9c8jdl_A2S7AWLL8AAAAA0","level":2,"time":"2022-09-29T11:24:04+00:00","remoteAddr":"141.105.66.148","user":"--","app":"core","method":"GET","url":"/","message":"Trusted domain error. \"141.105.66.148\" tried to access using \"net-2-38-35-20.cust.vodafonedsl.it:9443\" as host.","userAgent":"curl/7.54.0","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"YzWAVbR_vPvghI5ApBYXdAAAAFg","level":2,"time":"2022-09-29T11:24:05+00:00","remoteAddr":"141.105.66.148","user":"--","app":"core","method":"GET","url":"/start.jhtml","message":"Trusted domain error. \"141.105.66.148\" tried to access using \"net-2-38-35-20.cust.vodafonedsl.it:9443\" as host.","userAgent":"curl/7.54.0","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"YzWAVdc8jdl_A2S7AWLL8gAAAAI","level":2,"time":"2022-09-29T11:24:05+00:00","remoteAddr":"141.105.66.148","user":"--","app":"core","method":"GET","url":"/","message":"Trusted domain error. \"141.105.66.148\" tried to access using \"net-2-38-35-20.cust.vodafonedsl.it:9443\" as host.","userAgent":"curl/7.54.0","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"YzWAVrR_vPvghI5ApBYXdgAAAEU","level":2,"time":"2022-09-29T11:24:06+00:00","remoteAddr":"141.105.66.148","user":"--","app":"core","method":"GET","url":"/.git/HEAD","message":"Trusted domain error. \"141.105.66.148\" tried to access using \"net-2-38-35-20.cust.vodafonedsl.it:9443\" as host.","userAgent":"curl/7.54.0","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"YzWAV7R_vPvghI5ApBYXdwAAAEk","level":2,"time":"2022-09-29T11:24:07+00:00","remoteAddr":"141.105.66.148","user":"--","app":"core","method":"GET","url":"/HNAP1","message":"Trusted domain error. \"141.105.66.148\" tried to access using \"net-2-38-35-20.cust.vodafonedsl.it:9443\" as host.","userAgent":"curl/7.54.0","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"YzWAV9c8jdl_A2S7AWLL9AAAABE","level":2,"time":"2022-09-29T11:24:07+00:00","remoteAddr":"141.105.66.148","user":"--","app":"core","method":"GET","url":"/CSS/Miniweb.css","message":"Trusted domain error. \"141.105.66.148\" tried to access using \"net-2-38-35-20.cust.vodafonedsl.it:9443\" as host.","userAgent":"curl/7.54.0","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"YzWAV9c8jdl_A2S7AWLL9QAAABI","level":2,"time":"2022-09-29T11:24:07+00:00","remoteAddr":"141.105.66.148","user":"--","app":"core","method":"GET","url":"/default.cfm","message":"Trusted domain error. \"141.105.66.148\" tried to access using \"net-2-38-35-20.cust.vodafonedsl.it:9443\" as host.","userAgent":"curl/7.54.0","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"YzWAV7R_vPvghI5ApBYXeAAAAEA","level":2,"time":"2022-09-29T11:24:07+00:00","remoteAddr":"141.105.66.148","user":"--","app":"core","method":"GET","url":"/nmaplowercheck1664450629","message":"Trusted domain error. \"141.105.66.148\" tried to access using \"net-2-38-35-20.cust.vodafonedsl.it:9443\" as host.","userAgent":"curl/7.54.0","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"YzWAV7R_vPvghI5ApBYXeQAAAEw","level":2,"time":"2022-09-29T11:24:07+00:00","remoteAddr":"141.105.66.148","user":"--","app":"core","method":"GET","url":"/Portal0000.htm","message":"Trusted domain error. \"141.105.66.148\" tried to access using \"net-2-38-35-20.cust.vodafonedsl.it:9443\" as host.","userAgent":"curl/7.54.0","version":"24.0.5.1","data":{"app":"core"}}
{"reqId":"YzlfA5dcOJM_sAx_lzIyGQAAAIk","level":2,"time":"2022-10-02T09:50:59+00:00","remoteAddr":"193.46.255.199","user":"--","app":"core","method":"GET","url":"/_asterisk/magnito.php","message":"Trusted domain error. \"193.46.255.199\" tried to access using \"0.0.0.0\" as host.","userAgent":"xfa1,nvdorz","version":"24.0.5.1","data":{"app":"core"}}

You are in maintenance mode, which means you were / are in the middle of some sort of server operation, like recently upgrading. You can turn maintenance mode off to resume using the webui. See documentation here:

https://docs.nextcloud.com/server/latest/admin_manual/maintenance/backup.html#maintenance-mode

You can also turn of maintenance mode from the webui at :4443 or in ncp-config

It should too easy. It was the first try:
turn off → nothing
Turn on → turn off → nothing
:man_shrugging:

What you wrote makes no sense to me.

If in Maintenance Mode, turn the Maintenance Mode itself off from the webui or :4443

It’s clear now?

I have the same problem, I’m running php 8.1.11 and had the problem until I updated to this php version, it worked but not for long.

1 Like

Attitional information:
The control panel (4443 port) work properly (so the PHP is working?).
This is the “system info” report (on opening page of control panel):

System Info

‣ You should use nc-datadir to move your files to your plugged in USB drive
NextCloudPi version	v1.50.3
NextCloudPi image	NextCloudPi_11-27-20
OS	Debian GNU/Linux 11. 5.10.92-v8+ (aarch64)
automount	yes
USB devices	sda
datadir	/var/www/nextcloud/data
data in SD	yes
data filesystem	ext2/ext3
data disk usage	8.5G/29G
rootfs usage	8.5G/29G
swapfile	/var/swap
dbdir	/var/lib/mysql
Nextcloud check	ok
Nextcloud version	24.0.5.1
HTTPD service	up
PHP service	up
MariaDB service	up
Redis service	up
HPB service	down
Postfix service	up
Internet check	ok
public IPv4	2.38.35.20
public IPv6	not found
Port check 80	closed
Port check 443	closed
IP	192.168.1.19
gateway	192.168.1.1
Interface	eth0
certificates	danardi.ddns.net
NAT loopback	no
Uptime	1day

“HPB service down”… I don’t know if it’s significative. Obviously a restart don’t fix :frowning:

Seem to be fixed :crossed_fingers: by:

sudo apt update
sudo apt --fix-broken install
sudo apt upgrade

(thanks to this Nextcloudpi distro upgrade to Bullseye fails with "unmet dependencies" error (SOLVED) - #2 by Ved)

PS: HPB service still down, but work :vulcan_salute: :vulcan_salute:

I have a similar issue on a RasPi 4. Accessing the web interface shows: The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

I also can’t use the mobile apps, they show the same 503 error when I try to open a file. I can access the control panel without problems.

Maintenance mode is off. The proposed solution does not resolve it for me.

I noticed that the php log shows lots of messages like this:

[12-Oct-2022 21:50:17] WARNING: [pool www] child 357318 exited on signal 11 (SIGSEGV) after 82.889954 seconds from start

[12-Oct-2022 21:50:17] NOTICE: [pool www] child 357918 started

I have no clue what’s going on. My nextcloud instance worked without any problems until a couple of days ago. Anyone an idea where to look at?

I’m experiencing the same issue. I did not change anything manually before running into this issue but have auto updates enabled. All the clients, that have been setup previuosly work fine. I can also access the web control panel. However the web interface ist unaccesible spitting out the above error.

I’m somewhat hesitant of upgrading via apt directly. Is there any other solution to this.

<–! Paste this in GitHub report →

NextCloudPi diagnostics

NextCloudPi version  v1.50.3
NextCloudPi image    NextCloudPi_11-27-20
OS                   Armbian 21.02.0-trunk Buster \l . 4.4.213-rockchip64 (aarch64)
automount            no
USB devices          none
datadir              /media/sata_data/nextcloud_data
data in SD           no
data filesystem      btrfs
data disk usage      1.1T/1.9T
rootfs usage         4.6G/57G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    24.0.5.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          up
Postfix service      up
Internet check       ok
public IP            ***REMOVED SENSITIVE VALUE***
public IP            ***REMOVED SENSITIVE VALUE***
Port check 80        
Port check 443       closed
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
Interface            eth0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               1:05

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "5": "nextcloudpi.local",
            "7": "nextcloudpi",
            "8": "nextcloudpi.lan",
            "11": "80.108.89.135",
            "1": "192.168.1.193",
            "3": "nextcloudpi",
            "2": "badewanne.ddns.net",
            "12": "badewanne.ddns.net",
            "20": "https:\/\/badewanne.ddns.net",
            "21": "https:\/\/nextcloudpi.local",
            "14": "nextcloudpi"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "24.0.5.1",
        "overwrite.cli.url": "https:\/\/nextcloudpi\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/media\/sata_data\/nextcloud_data\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "overwriteprotocol": "https",
        "loglevel": "2",
        "log_type": "file",
        "maintenance": false,
        "logfile": "\/media\/sata_data\/nextcloud_data\/nextcloud.log",
        "htaccess.RewriteBase": "\/",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "theme": ""
    }
}

HTTPd logs

[Thu Oct 13 19:57:55.544904 2022] [authz_host:error] [pid 10228:tid 548008186240] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /img/info-white.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.193:4443/css/ncp.css
[Thu Oct 13 19:57:55.545767 2022] [authz_host:error] [pid 10228:tid 548024988032] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /img/files.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.193:4443/css/ncp.css
[Thu Oct 13 19:57:55.546892 2022] [authz_host:error] [pid 10228:tid 548016587136] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /img/dashboard.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.193:4443/css/ncp.css
[Thu Oct 13 19:57:55.636554 2022] [authz_host:error] [pid 10228:tid 548041781632] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Oct 13 19:57:55.641846 2022] [authz_host:error] [pid 10228:tid 548016587136] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Thu Oct 13 19:57:58.557862 2022] [authz_host:error] [pid 10228:tid 548050174336] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /img/info.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.193:4443/css/ncp.css
[Thu Oct 13 19:58:19.136409 2022] [authz_host:error] [pid 10228:tid 548041781632] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Oct 13 19:58:20.928269 2022] [authz_host:error] [pid 10228:tid 548041781632] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Oct 13 19:58:20.928269 2022] [authz_host:error] [pid 10228:tid 548008186240] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /img/delete.svg failed, reason: unable to get the remote host name
[Thu Oct 13 19:58:41.093299 2022] [authz_host:error] [pid 10228:tid 548008186240] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Oct 13 19:59:40.356311 2022] [authz_host:error] [pid 10228:tid 548008186240] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Oct 13 19:59:40.360420 2022] [authz_host:error] [pid 10228:tid 548041781632] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /img/green-circle.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.193:4443/css/ncp.css
[Thu Oct 13 20:14:53.198131 2022] [authz_host:error] [pid 10228:tid 548008186240] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Oct 13 20:14:55.617888 2022] [authz_host:error] [pid 10228:tid 548008186240] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Oct 13 20:26:22.077070 2022] [authz_host:error] [pid 10228:tid 548008186240] [client 192.168.1.113:57518] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Oct 13 20:26:23.887311 2022] [mpm_event:notice] [pid 2363:tid 548214534160] AH00493: SIGUSR1 received.  Doing graceful restart
[Thu Oct 13 20:26:23.923340 2022] [ssl:warn] [pid 2363:tid 548214534160] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 13 20:26:23.927314 2022] [mpm_event:notice] [pid 2363:tid 548214534160] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Thu Oct 13 20:26:23.927380 2022] [core:notice] [pid 2363:tid 548214534160] AH00094: Command line: '/usr/sbin/apache2'
[Thu Oct 13 20:26:30.584604 2022] [authz_host:error] [pid 22121:tid 548016587136] [client 192.168.1.113:40084] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name

Database logs


Nextcloud logs



1 Like

Looks like I resolved the issue for the moment by following the comment of theCalcaholic here: JIT segmentation fault in PHP 8.1 · Issue #7817 · php/php-src · GitHub

Seems like the root cause gets fixed soon by a php update.