Issue no menu, login window or buttons after upgrade from 26.x.x to 27.x.x, only the frame of the website

Hello Community,

I have a strange behaviour in one of the clouds I am supporting. I have good experienses over along time with nextcloud. Actually I support six different instances, all are always up to date. Nearly all problems in the past, I was able to solve by myself, because nextcloud is well documentated as you know.

I have this behaviour only in one of my instances, all the others are fine. But I could not find the reason for it. It is a cloud with many users (more than 100), so I use the updater via commandline. The updateprocess is running to the end without any errors, everything seems to be fine.

After the update is performed I have the following problem:

  • if my browser has catched my Login, only the frame of the website is visible, but there`s no other function visible like the folder button, the menu link, notifications and so one, the frame is blank
  • if I am not authenticated in the browser on the loginpage, the prompt and fields are even not visible

I don`t know what is causing this issue, clean the browsercache, changing to different browsers (tested with Edge, Firefox and Chrome) did not change anything on this.

Nextcloud version: 26.0.8
Operating system and version : Ubuntu 20.04.6 LTS
Apache: 2.4.41
PHP version : 8.2.12

The issue you are facing:

Is this the first time you’ve seen this error? (Y):

Steps to replicate it:

  1. Start Nextcloud Update via commandline
  2. Perform the update
  3. Open Website of Nextcloud instance

The output of your Nextcloud log in Admin > Logging:
Hint: I guess this is not helpful, because after the update is performed, logging is stopping here too, this is the last entry, there is no error hint to see in this log

{"reqId":"pVkM6bwWoE9TDfn1UvHU","level":1,"time":"2023-11-17T06:58:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)","userAgent":"--","version":"27.1.3.2","data":{"app":"updater"}}

Additional, and may be more helpful, here is the updater log, but I can see no error here:

2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] getChangelogURL()
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] end of checkForUpdate() Update to Nextcloud 27.1.3 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-27.1.3.zip
Open changelog ↗
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] updater run in non-interactive mode
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] updater started
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] executeStep request for step “1”
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] startStep(“1”)
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] checkForExpectedFilesAndFolders()
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] end of checkForExpectedFilesAndFolders()
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] endStep(“1”)
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] executeStep request for step “2”
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] startStep(“2”)
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] checkWritePermissions()
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] end of checkWritePermissions()
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] endStep(“2”)
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] executeStep request for step “3”
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] startStep(“3”)
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] createBackup()
2023-11-17T06:56:58+0000 ugdS4WZ2WM [info] backup folder location: /var/ncdata/updater-ocy9r9oj7fyg/backups/nextcloud-26.0.8.2-1700204218/
2023-11-17T06:57:09+0000 ugdS4WZ2WM [info] end of createBackup()
2023-11-17T06:57:09+0000 ugdS4WZ2WM [info] endStep(“3”)
2023-11-17T06:57:09+0000 ugdS4WZ2WM [info] executeStep request for step “4”
2023-11-17T06:57:09+0000 ugdS4WZ2WM [info] startStep(“4”)
2023-11-17T06:57:09+0000 ugdS4WZ2WM [info] downloadUpdate()
2023-11-17T06:57:09+0000 ugdS4WZ2WM [info] getUpdateServerResponse()
2023-11-17T06:57:09+0000 ugdS4WZ2WM [info] updaterServer: https://updates.nextcloud.com/updater_server/
2023-11-17T06:57:09+0000 ugdS4WZ2WM [info] releaseChannel: stable
2023-11-17T06:57:09+0000 ugdS4WZ2WM [info] internal version: 26.0.8.2
2023-11-17T06:57:09+0000 ugdS4WZ2WM [info] updateURL: https://updates.nextcloud.com/updater_server/?version=26x0x8x2xxxstablexx2023-10-26T17%3A40%3A31%2B00%3A00+1526013f426db26481adb4ea8170e8f95d56c5f8x8x2x12
2023-11-17T06:57:09+0000 ugdS4WZ2WM [info] getUpdateServerResponse response: Array
(
[version] => 27.1.3.2
[versionstring] => Nextcloud 27.1.3
[url] => https://download.nextcloud.com/server/releases/nextcloud-27.1.3.zip
[web] => How to upgrade — Nextcloud latest Administration Manual latest documentation
[changes] => https://updates.nextcloud.com/changelog_server/?version=27.1.3
[autoupdater] => 1
[eol] => 0
[signature] => Xq8MHdDc/C5cRZiT5JoT9Empo0WAOyBP3ufwRjFXAfxl3aGBk7f8UL1UNcobaf49
3O8Jf4g4e4ad4lE+B16p9L96X3J3+W54UPp5exQzSP7TJ7km/cX2MB+DExjOJ6Hx
ZmFVok1asIPRSTz3fw2kPem4gNx1/xOsgdB9XuiysdgdZy9CMYCEsdHnkQkMhO08
9BqphwWy7dWYHE8YE3B2CSru11kIjTZj3/0S5cMEe1otkKg2ukoPSUHNQe+RKPyS
3pzFuf0rb84rPdTS3iX254g+KlXg8fNy8leBgTLuB7CFTliVv/IH0coWpo6Gl0gb
nvxG0m2MWJoFS1OI1OB3JQ==
)

2023-11-17T06:57:09+0000 ugdS4WZ2WM [info] storage location exists
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] end of downloadUpdate()
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] endStep(“4”)
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] executeStep request for step “5”
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] startStep(“5”)
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] verifyIntegrity()
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] getUpdateServerResponse()
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] updaterServer: https://updates.nextcloud.com/updater_server/
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] releaseChannel: stable
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] internal version: 26.0.8.2
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] updateURL: https://updates.nextcloud.com/updater_server/?version=26x0x8x2xxxstablexx2023-10-26T17%3A40%3A31%2B00%3A00+1526013f426db26481adb4ea8170e8f95d56c5f8x8x2x12
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] getUpdateServerResponse response: Array
(
[version] => 27.1.3.2
[versionstring] => Nextcloud 27.1.3
[url] => https://download.nextcloud.com/server/releases/nextcloud-27.1.3.zip
[web] => How to upgrade — Nextcloud latest Administration Manual latest documentation
[changes] => https://updates.nextcloud.com/changelog_server/?version=27.1.3
[autoupdater] => 1
[eol] => 0
[signature] => Xq8MHdDc/C5cRZiT5JoT9Empo0WAOyBP3ufwRjFXAfxl3aGBk7f8UL1UNcobaf49
3O8Jf4g4e4ad4lE+B16p9L96X3J3+W54UPp5exQzSP7TJ7km/cX2MB+DExjOJ6Hx
ZmFVok1asIPRSTz3fw2kPem4gNx1/xOsgdB9XuiysdgdZy9CMYCEsdHnkQkMhO08
9BqphwWy7dWYHE8YE3B2CSru11kIjTZj3/0S5cMEe1otkKg2ukoPSUHNQe+RKPyS
3pzFuf0rb84rPdTS3iX254g+KlXg8fNy8leBgTLuB7CFTliVv/IH0coWpo6Gl0gb
nvxG0m2MWJoFS1OI1OB3JQ==
)

2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] storage location: /var/ncdata/updater-ocy9r9oj7fyg/downloads/
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] end of verifyIntegrity()
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] endStep(“5”)
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] executeStep request for step “6”
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] startStep(“6”)
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] extractDownload()
2023-11-17T06:57:33+0000 ugdS4WZ2WM [info] storage location: /var/ncdata/updater-ocy9r9oj7fyg/downloads/
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] end of extractDownload()
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] endStep(“6”)
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] executeStep request for step “7”
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] startStep(“7”)
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] setMaintenanceMode(“true”)
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] configFileName /var/www/nextcloud/updater/…/config/config.php
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] end of setMaintenanceMode()
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] endStep(“7”)
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] executeStep request for step “8”
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] startStep(“8”)
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] replaceEntryPoints()
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] replace index.php
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] replace status.php
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] replace remote.php
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] replace public.php
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] replace ocs/v1.php
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] replace ocs/v2.php
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] end of replaceEntryPoints()
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] endStep(“8”)
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] executeStep request for step “9”
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] startStep(“9”)
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] deleteOldFiles()
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] config sample exists
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] themes README exists
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] end of deleteOldFiles()
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] endStep(“9”)
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] executeStep request for step “10”
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] startStep(“10”)
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] moveNewVersionInPlace()
2023-11-17T06:57:37+0000 ugdS4WZ2WM [info] storage location: /var/ncdata/updater-ocy9r9oj7fyg/downloads/nextcloud/
2023-11-17T06:57:38+0000 ugdS4WZ2WM [info] end of moveNewVersionInPlace()
2023-11-17T06:57:38+0000 ugdS4WZ2WM [info] endStep(“10”)
2023-11-17T06:57:38+0000 ugdS4WZ2WM [info] executeStep request for step “12”
2023-11-17T06:57:38+0000 ugdS4WZ2WM [info] startStep(“12”)
2023-11-17T06:57:38+0000 ugdS4WZ2WM [info] finalize()
2023-11-17T06:57:38+0000 ugdS4WZ2WM [info] storage location: /var/ncdata/updater-ocy9r9oj7fyg/downloads/nextcloud/
2023-11-17T06:57:38+0000 ugdS4WZ2WM [info] call opcache_reset()
2023-11-17T06:57:38+0000 ugdS4WZ2WM [info] end of finalize()
2023-11-17T06:57:38+0000 ugdS4WZ2WM [info] endStep(“12”)
2023-11-17T06:57:38+0000 ugdS4WZ2WM [info] update of code successful.
2023-11-17T06:57:38+0000 ugdS4WZ2WM [info] updater run in non-interactive mode - occ upgrade is started
2023-11-17T06:58:08+0000 ugdS4WZ2WM [info] updater run in non-interactive mode - disabling maintenance mode
2023-11-17T06:58:09+0000 ugdS4WZ2WM [info] maintenance mode is disabled - return code: 0

I know there`s a bigger more detailed log for that, but even there, no errors or hints for this behaviour…

config.php Info:

  <?php
$CONFIG = array (
  'passwordsalt' => '######',
  'secret' => '######',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => 'local IP,
    2 => '######',
    3 => '######',
    4 => '######',
    5 => '######',
    6 => '######',
    7 => '######',
  ),
  'trusted_proxies' =>
  array (
    0 => '######',
    1 => '######',
    2 => '######',
    3 => '######',
  ),
  'datadirectory' => '/var/ncdata',
  'default_phone_region' => 'DE',
  'overwrite.cli.url' => '######',
  'dbtype' => 'mysql',
  'version' => '26.0.8.2',
  'dbname' => 'nextcloud_db',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '######',
  'dbpassword' => '######',
  'logtimezone' => 'UTC',
  'installed' => true,
  'instanceid' => '######',
  'appstore.experimental.enabled' => 'true',
  'mail_smtpmode' => 'smtp',
  'mail_smtpport' => '25',
  'mail_smtphost' => '######',
  'mail_smtpstreamoptions' =>
  array (
    'ssl' =>
    array (
      'allow_self_signed' => true,
      'verify_peer' => false,
      'verify_peer_name' => false,
    ),
  ),
  'mail_from_address' => '######',
  'mail_domain' => '######',
  'preview_libreoffice_path' => '/usr/bin/libreoffice',
  'filelocking.enabled' => true,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0,
    'dbindex' => 0,
  ),
  'maintenance' => false,
  'skeletondirectory' => '',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'loglevel' => 2,
  'theme' => '',
  'updater.release.channel' => 'stable',
  'mysql.utf8mb4' => true,
  'has_rebuilt_cache' => true,
  'app_install_overwrite' =>
  array (
    0 => 'calendar',
  ),
);

The output of your Apache2 log in :

error log is empty, everything seems to be fine here too

So, if someone has an idea what is faulty here, it would be great.

I compared permissions and settings, php versions, php modules and so on to the other servers and instances, but I`m running in cycles.

I hope someone can help me with this,.

Can you check the browser developer tools, if it fails to load some resources?

Do you use a customized theming?

Hi tflidd,

both hints are good ones, thank you.

Yes, in this cloud I`m using customize themes and I found some empty strings in the configuration. I corrected this, but the behaviour was the same. Even if I go back to the default themes of nextcloud, no changes.

Your first hint to check what the browser develpement tools say brings me a new information. It seems like no js libarys can be load after after the update.

But till now I dont know why js is not loading, this could be a hint that theres something wrong with the proxysettings in the cloud, but I cant prove it, this proxyconfiguration worked for round about 10 years without any issue, I will write it down here again, if I know more.

Regarding javascript, there was a change:

Hi tflidd,

thank you for the link. You are right, there was a change. After reading the changelog I compared the setting of this cloud with another one with focus on the apache conf and the mime types because of the link you sent me.

After that I renewed the whole apache2 conf and added some missing libapache mods. The mime js mjs was already set in etc/mime.types and grabbed by /etc/apache2/mods-enable/mime.conf too. I renewed all because this is the only cloud where I was not the one who build it. On all other instances, I did everything from installing the os to the nextcloud installation/configuration. This was a out of the box distribution and I overtook this after it was running for a few years, so I like to cleanup step by step things when I find them. And the last years this cloud was running fine with all updates and less problems.

To be sure the mime (js mjs) is really set I temporarely used hard code in .htaccess (which no one should do, if she or he is not knowing what she or he is doing there), but the result is always the same.

I was pretty sure that mimes are the problem while I was reading the article you sent. On the good site is I found some dirty configurations which I could clenaup. But on the bad site is that I am on the start now. I have the same behaviour after an update, can`t find any helping logs, the only thing I can say is that js are not loading anymore after the update, without catching the cause.

:roll_eyes: