Nextcloud version (eg, 20.0.5): 24.latest, upgrading to 25.0
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.54 running behind nginx 1.23.1 reverse proxy
PHP version (eg, 7.4): 8.0
The issue you are facing:
I’ve had no issues upgrading nextcloud for the last 20 or 30 times, so I’m fairly used to the process. This is the first time I’ve had a major issue.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Run upgrade using upgrader.phar
- Visit login page. No login box is displayed.
- Visit dashboard on a browser already logged in: nothing to see. One letter on top right for user account. No menu, no text, no images on the normal dashboard.
The output of your Nextcloud log in Admin > Logging:
Nothing unusual in here. Normal upgrade messages only.
And then nothing after upgrade had completed.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'sdfasdfasdf',
'passwordsalt' => 'asdafasdf3QnjAq6P',
'secret' => 'shhhhhhhhhh+ll6Rmnexj+YB',
'trusted_domains' =>
array (
0 => 'nc.domain.com',
),
'datadirectory' => '/home/user/web/nc.domain.com/public_html/data',
'dbtype' => 'mysql',
'version' => '25.0.0.18',
'overwrite.cli.url' => 'https://nc.domain.com',
'dbname' => 'db_nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'db_nextcloudu',
'dbpassword' => '8ddddddddYU',
'installed' => true,
'mail_from_address' => 'nextcloud',
'mail_smtpmode' => 'sendmail',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'domain.com',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '127.0.0.1',
'port' => 6379,
'dbindex' => 1,
),
'default_phone_region' => 'TH',
);
The output of your Apache/nginx/system log in /var/log/____
:
Nothing in here. No 404s, no problems in error log.
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
Nothing in nextcloud.log after upgrade has completed.
Symptoms. No text, images, menus appear on web login. CalDAV sync with Thunderbird is still working. File sync with Nextcloud Desktop is still working.
Have checked file permissions and ownership. All dirs are chmod 755. All files are chmod 644. Have even tried 664.
Redis is working: have checked with redis-cli
Nothing changed on the server between before and after upgrade. Same PHP, APache, config.
Have cleared browser caches, used alternate browser. Rebooted server.
Now have run out of ideas.