Hi All,
My Nextcloud instance has been running trouble free for a good few months. Today I saw that 24.0.6 was available (I was on 24.0.5 before), so kicked off the update. At the backup stage, I kept getting 503 errors, so I SSH’d in to give it a roboot, when I saw that Ubuntu LTS 22.0.1 is also available, so I went ahead and installed that (I know, I know…silly mistake).
After the reboot, when I go to http://nc.domain.name, which used to be the login page for Nextcloud, I now just get a bunch of raw PHP config:
When I check if cron jobs are working, I get this error:
OCP\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
I’ve had a look at some Google results from this error, and I’m slightly confused. Thought I’d best ask here before I screw things up even more :-o
Any suggestions?
[/details]
Nextcloud version (eg, 20.0.5): 20.0.5
Operating system and version (e, Ubuntu 20.04): Ubuntu 22.0.1
Apache or nginx version (eg, Apache 2.4.25): 2.4.52
PHP version (eg, 7.4): 8.1.2
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
The output of your Nextcloud log in Admin > Logging: (from cli)
sudo tail -f /var/log/apache2/nc_access.log
192.168.1.1 - - [06/Oct/2022:14:59:34 +0100] “GET / HTTP/1.1” 304 -
192.168.1.1 - - [06/Oct/2022:14:59:50 +0100] “GET /index.htm HTTP/1.1” 404 3456
192.168.1.1 - - [06/Oct/2022:14:59:55 +0100] “GET /index.html HTTP/1.1” 200 144
192.168.1.1 - - [06/Oct/2022:14:59:55 +0100] “GET /index.php HTTP/1.1” 200 3456
192.168.1.1 - - [06/Oct/2022:15:16:24 +0100] “GET /index.php HTTP/1.1” 304 -
192.168.1.1 - - [06/Oct/2022:15:20:10 +0100] “GET / HTTP/1.1” 304 -
192.168.1.1 - - [06/Oct/2022:15:20:12 +0100] “GET / HTTP/1.1” 304 -
192.168.1.1 - - [06/Oct/2022:15:20:15 +0100] “GET / HTTP/1.1” 304 -
192.168.1.1 - - [06/Oct/2022:15:36:48 +0100] “GET / HTTP/1.1” 200 3456
192.168.1.1 - - [06/Oct/2022:15:36:50 +0100] “GET / HTTP/1.1” 304 -
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'och8dtwkw0xr',
'passwordsalt' => 'redacted',
'secret' => 'redacted',
'trusted_domains' =>
array (
0 => '192.168.1.95',
1 => 'redacted',
2 => 'redacted',
3 => 'redacted',
4 => 'redacted',
5 => 'redacted',
),
'datadirectory' => '/media/u/Nextcloud',
'dbtype' => 'mysql',
'version' => '24.0.5.1',
'overwrite.cli.url' => 'http://192.168.1.95',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'redacted',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.release.channel' => 'stable',
'app_install_overwrite' =>
array (
0 => 'smb_test',
),
'updater.secret' => 'redacted',