HI I’m running nextcloudPi and it’s fairly new setup.
I updated from 1.5.0 to 1.5.2 today, I updated armbian and created a manual backup. After that the admin web gui stopped working.
In the left sidebar, I can click anything and it always shows “Something went wrong. Try refreshing the page.”
Which of course doesn’t solve the problem.
I rebooted already. It always shows the system info for a second and then the error message appears.
Here is my ncp-report from SSH:
ncpadmin@nextcloudpi:~$ sudo ncp-report
<--! Paste this in GitHub report -->
<details>
<summary>NextcloudPi diagnostics</summary>
grep: /etc/apache2/sites-available/nextcloud.conf: No such file or directory
NextcloudPi version v1.54.2
NextcloudPi image
OS Armbian 24.5.1 bookworm \l . 6.6.31-current-bcm2712 (aarch64)
automount no
USB devices none
datadir /opt/ncdata/data
data in SD yes
data filesystem ext2/ext3
data disk usage 158G/1.9T
rootfs usage 158G/1.9T
swapfile /dev/zram0
dbdir /var/lib/mysql
Nextcloud check ok
Nextcloud version 28.0.6.1
HTTPD service up
PHP service up
MariaDB service up
Redis service up
HPB service up
Postfix service up
Internet check ok
Public IPv4 ***REMOVED SENSITIVE VALUE***
Public IPv6 ***REMOVED SENSITIVE VALUE***
Port 80 closed
Port 443 open
IP ***REMOVED SENSITIVE VALUE***
Gateway ***REMOVED SENSITIVE VALUE***
Interface wlan0
Certificates ***REMOVED SENSITIVE VALUE***
NAT loopback no
Uptime 6min
</details>
<details>
<summary>Nextcloud configuration</summary>
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"0": "localhost",
"7": "nextcloudpi",
"5": "nextcloudpi.local",
"8": "nextcloudpi.lan",
"3": "nextcloudpi",
"11": "***REMOVED SENSITIVE VALUE***",
"1": "192.168.178.72",
"14": "nextcloudpi",
"20": "***REMOVED SENSITIVE VALUE***"
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "28.0.6.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": "\/opt\/ncdata\/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",
"maintenance": false,
"logfile": "\/opt\/ncdata\/data\/nextcloud.log",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"loglevel": "2",
"log_type": "file",
"htaccess.RewriteBase": "\/"
}
}
</details>
<details>
<summary>HTTPd logs</summary>
[Sun Jun 16 08:49:24.557330 2024] [ssl:warn] [pid 3990:tid 281473613668384] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Jun 16 08:49:24.567368 2024] [mpm_event:notice] [pid 3990:tid 281473613668384] AH00489: Apache/2.4.59 (Debian) OpenSSL/3.0.11 configured -- resuming normal operations
[Sun Jun 16 08:49:24.567428 2024] [core:notice] [pid 3990:tid 281473613668384] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 16 08:50:49.020615 2024] [proxy_fcgi:error] [pid 3991:tid 281473593688352] [remote 192.168.178.71:52638] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n thrown in /var/www/ncp-web/backups.php on line 76'
[Sun Jun 16 08:58:17.543893 2024] [proxy_fcgi:error] [pid 3991:tid 281473416151328] [remote 192.168.178.71:52638] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n thrown in /var/www/ncp-web/backups.php on line 76'
[Sun Jun 16 09:04:44.473174 2024] [proxy_fcgi:error] [pid 3991:tid 281473390788896] [remote 192.168.178.71:52638] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n thrown in /var/www/ncp-web/backups.php on line 76'
[Sun Jun 16 09:04:53.683904 2024] [mpm_event:notice] [pid 3990:tid 281473613668384] AH00492: caught SIGWINCH, shutting down gracefully
[Sun Jun 16 09:04:53.701366 2024] [proxy_fcgi:error] [pid 3991:tid 281473593688352] [remote 192.168.178.71:52638] AH01067: Failed to read FastCGI header
[Sun Jun 16 09:04:53.701411 2024] [proxy_fcgi:error] [pid 3991:tid 281473593688352] (104)Connection reset by peer: [remote 192.168.178.71:52638] AH01075: Error dispatching request to :4443:
[Sun Jun 16 09:04:57.072105 2024] [core:warn] [pid 3990:tid 281473613668384] AH00045: child process 3991 still did not exit, sending a SIGTERM
[Sun Jun 16 09:04:59.074237 2024] [core:warn] [pid 3990:tid 281473613668384] AH00045: child process 3991 still did not exit, sending a SIGTERM
[Sun Jun 16 09:05:01.076339 2024] [core:warn] [pid 3990:tid 281473613668384] AH00045: child process 3991 still did not exit, sending a SIGTERM
[Sun Jun 16 09:05:03.078406 2024] [core:error] [pid 3990:tid 281473613668384] AH00046: child process 3991 still did not exit, sending a SIGKILL
[Sun Jun 16 09:05:24.564469 2024] [ssl:warn] [pid 988:tid 281473400168480] AH01882: Init: this version of mod_ssl was compiled against a newer library (OpenSSL 3.0.13 30 Jan 2024 (OpenSSL 3.0.11 19 Sep 2023), version currently loaded is 0x300000B0) - may result in undefined or erroneous behavior
[Sun Jun 16 09:05:24.584700 2024] [ssl:warn] [pid 988:tid 281473400168480] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Jun 16 09:05:24.634187 2024] [ssl:warn] [pid 1094:tid 281473400168480] AH01882: Init: this version of mod_ssl was compiled against a newer library (OpenSSL 3.0.13 30 Jan 2024 (OpenSSL 3.0.11 19 Sep 2023), version currently loaded is 0x300000B0) - may result in undefined or erroneous behavior
[Sun Jun 16 09:05:24.644809 2024] [ssl:warn] [pid 1094:tid 281473400168480] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Jun 16 09:05:24.663156 2024] [mpm_event:notice] [pid 1094:tid 281473400168480] AH00489: Apache/2.4.59 (Debian) OpenSSL/3.0.11 configured -- resuming normal operations
[Sun Jun 16 09:05:24.663212 2024] [core:notice] [pid 1094:tid 281473400168480] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jun 16 09:05:53.391514 2024] [proxy_fcgi:error] [pid 1110:tid 281473346355488] [remote 192.168.178.71:32810] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /var/www/ncp-web/backups.php:76\nStack trace:\n#0 /var/www/ncp-web/ncp-launcher.php(165): include()\n#1 {main}\n thrown in /var/www/ncp-web/backups.php on line 76'
</details>
<details>
<summary>Database logs</summary>
tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory
</details>
<details>
<summary>Nextcloud logs</summary>
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairInfoEvent: Repair info: No need to remove link shares.","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Clear access cache of projects","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Reset generated avatar flag","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Keep legacy encryption enabled","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Check encryption key format","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Remove old dashboard app config data","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add job to cleanup the bruteforce entries","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Queue a one-time job to check for user uploaded certificates","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Repair DAV shares","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add background job to set the lookup server share state for users","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add token cleanup job","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Clean up abandoned apps","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add possibly missing system config","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add AI tasks cleanup job","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Queue a job to generate metadata","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:04+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::startCheckCodeIntegrity: Starting code integrity check...","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:09+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::finishedCheckCodeIntegrity: Finished code integrity check","userAgent":"--","version":"28.0.5.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:09+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::updateEnd: Update successful","userAgent":"--","version":"28.0.6.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:09+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::maintenanceActive: Maintenance mode is kept active","userAgent":"--","version":"28.0.6.1","data":{"app":"updater"}}
{"reqId":"2xcW6WCQ5H5JdUj1S5AU","level":1,"time":"2024-06-16T09:04:09+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)","userAgent":"--","version":"28.0.6.1","data":{"app":"updater"}}
</details>