Broken UI after update to v27.0.1

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:

Nextcloud version (eg, 20.0.5): 27.0.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.52
PHP version (eg, 7.4): php 8.1
Cloudflare proxying is in use and proxy on/off has no effect on symptoms

The issue you are facing:

Is this the first time you’ve seen this error? (N): This happened when I tried to upgrade from 26.0.3 to 27.0.0

Steps to replicate it:

  1. upgraded from v26.0.4
  2. sudo -u www-data php /nextclouddir/updater/updater.phar
  3. upgrade completed
  4. accessing site from computer Firefox/Chrome/Chromium results in incomplete UI, no login form or menu items
    4.a accessing previously authenticated session results in same symptom per above
  5. accessing site from Android Firefox results in normal login UI which I can log in and access the site normally with
  6. accessing site from computer Brave works fine but Collabora document editing does not work
  7. have cleared cache as part of testing

The output of your Nextcloud log in Admin > Logging:

not accessible due to symptoms
![image|690x451](upload://dbYbbNDigPyyGzWLYJ5Ski6xm27.png)


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

                            
<?php
$CONFIG = array (
  'allow_local_remote_servers' => true,
  'enable_previews' => true,
  'preview_max_filesize_image' => 5,
  'instanceid' => 'removed',
  'passwordsalt' => 'removed',
  'secret' => 'removed',
  'trusted_domains' => 
  array (
    0 => 'subdomain1.domain.suffix.au',
    1 => 'subdomain2.domain.suffix.au',
  ),
  'trusted_proxies' => '10.0.0.1',
  'datadirectory' => '/var/www/subdomain1_domain_suffix_au_ncdata',
  'dbtype' => 'mysql',
  'version' => '27.0.1.2',
  'overwrite.cli.url' => 'https://subdomain1.domain.suffix.au',
  'dbname' => 'subdomain1_domain_suffix_au_nc',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'subdomain1_domain_suffix_au_nc',
  'dbpassword' => 'removed',
  'installed' => true,
  'default_locale' => 'en_GB',
  'default_phone_region' => 'AU',
  'mail_from_address' => 'files',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'domain.suffix.au',
  'mail_smtphost' => 'internal.host.name.lan',
  'mail_smtpport' => '25',
  'maintenance' => false,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'twofactor_enforced' => 'false',
  'twofactor_enforced_groups' => 
  array (
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
  ),
  'loglevel' => 2,
  'updater.release.channel' => 'stable',
  'theme' => '',
  'app_install_overwrite' => 
  array (
    0 => 'drawio',
    1 => 'impersonate',
    2 => 'files_markdown',
    3 => 'socialsharing_email',
    4 => 'files_trackdownloads',
    5 => 'limit_login_to_ip',
  ),
);

The output of your Apache/nginx/system log in /var/log/____:

username@server:/var/log/apache2$ sudo tail -f access.log
[sudo] password for username: 
::1 - - [23/Jul/2023:12:35:11 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:35:12 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:35:13 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:35:14 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:35:15 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:35:16 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:36:13 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:36:16 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:37:15 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:38:16 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:43:05 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:43:06 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:43:07 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:43:08 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:43:09 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:43:10 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:43:11 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:43:12 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"
::1 - - [23/Jul/2023:12:43:16 +1000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 (internal dummy connection)"

no output from tail -f /var/log/apache2/error.log

PASTE HERE


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.

\OC\\Updater::finishedCheckCodeIntegrity: Finished code integrity check","userAgent":"--","version":"26.0.4.2","data":{"app":"updater"}}                    
{"reqId":"0N7IUNvqAly4Sdk3pzwJ","level":1,"time":"2023-07-23T02:14:41+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::updateEnd: Update successful","userAgent":"--","version":"27.0.1.2","data":{"app":"updater"}}                                                 
{"reqId":"0N7IUNvqAly4Sdk3pzwJ","level":1,"time":"2023-07-23T02:14:41+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::maintenanceActive: Maintenance mode is kept active","userAgent":"--","version":"27.0.1.2","data":{"app":"updater"}}                           
{"reqId":"0N7IUNvqAly4Sdk3pzwJ","level":1,"time":"2023-07-23T02:14:41+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)","userAgent":"--","version":"27.0.1.2","data":{"app":"updater"}}                                 
{"reqId":"ZoKetHrtZ7s5izJJ4Gkw","level":2,"time":"2023-07-23T02:21:02+00:00","remoteAddr":"","user":"--","app":"files","method":"","url":"--","message":"User stephen still has unscanned files after running background scan, background scan might be stopped prematurely","userAgent":"--","version":"27.0.1.2","data":{"app":"files"}}                                                                                                                                          
{"reqId":"3ITwfhKv3jpysiuCACEI","level":2,"time":"2023-07-23T02:27:02+00:00","remoteAddr":"","user":"--","app":"files","method":"","url":"--","message":"User stephen still has unscanned files after running background scan, background scan might be stopped prematurely","userAgent":"--","version":"27.0.1.2","data":{"app":"files"}}                                                                                                                                          
{"reqId":"f5XWOSEkfA7VKXMxLejD","level":2,"time":"2023-07-23T02:38:03+00:00","remoteAddr":"","user":"--","app":"files","method":"","url":"--","message":"User stephen still has unscanned files after running background scan, background scan might be stopped prematurely","userAgent":"--","version":"27.0.1.2","data":{"app":"files"}}                                                                                                                                          
{"reqId":"806z5Cry7zSemKQczoko","level":2,"time":"2023-07-23T02:49:02+00:00","remoteAddr":"","user":"--","app":"files","method":"","url":"--","message":"User stephen still has unscanned files after running background scan, background scan might be stopped prematurely","userAgent":"--","version":"27.0.1.2","data":{"app":"files"}}                                                                                                                                          
{"reqId":"pna97aTniFbiVKOCyM6I","level":2,"time":"2023-07-23T03:00:02+00:00","remoteAddr":"","user":"--","app":"files","method":"","url":"--","message":"User stephen still has unscanned files after running background scan, background scan might be stopped prematurely","userAgent":"--","version":"27.0.1.2","data":{"app":"files"}}