Nextcloud 21 only show's webupdate page

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): 21.0.0
Operating system and version (eg, Ubuntu 20.04): Arch Linux 5.11.11-hardened
Apache or nginx version (eg, Apache 2.4.25): nginx/1.18.0
PHP version (eg, 7.4): 8.0.3 with Zend OPcache v8.0.3

The issue you are facing:
Hello all, since i had upgraded the nextcloud to 21, i can access my files from davfs with no problem but i can’t acces to the webapp.
When i try to access i can only see the webupgrade page.
The occ command gives me - “Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade”.
i already tried to upgrade but i keep getting to the same page.

The output of your Nextcloud log in Admin > Logging:

{"reqId":"il0P34vrClouGRWMlm4M","level":1,"time":"2021-04-07T10:03:03+00:00","remoteAddr":"******","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=W2L3Tb4Zo1unKW%2F64Ry46Iu%2BeKmvJmW7%2FNDtBOopnQY%3D%3AHlOxPu1x9THdcUSw0mrQjuH6Hs3KCSHRhpzUN6tZ8W8%3D","message":"\\OC\\Repair::step: Repair step: Queue a one-time job to check for user uploaded certificates","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0","version":"20.0.7.1"}
{"reqId":"il0P34vrClouGRWMlm4M","level":1,"time":"2021-04-07T10:03:03+00:00","remoteAddr":"******","user":"--","app":"no app in context","method":"GET","url":"/core/ajax/update.php?requesttoken=W2L3Tb4Zo1unKW%2F64Ry46Iu%2BeKmvJmW7%2FNDtBOopnQY%3D%3AHlOxPu1x9THdcUSw0mrQjuH6Hs3KCSHRhpzUN6tZ8W8%3D","message":"Deprecated event type for \\OC\\Repair::step: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0","version":"20.0.7.1"}
{"reqId":"il0P34vrClouGRWMlm4M","level":1,"time":"2021-04-07T10:03:03+00:00","remoteAddr":"******","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=W2L3Tb4Zo1unKW%2F64Ry46Iu%2BeKmvJmW7%2FNDtBOopnQY%3D%3AHlOxPu1x9THdcUSw0mrQjuH6Hs3KCSHRhpzUN6tZ8W8%3D","message":"\\OC\\Repair::step: Repair step: Repair DAV shares","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0","version":"20.0.7.1"}
{"reqId":"il0P34vrClouGRWMlm4M","level":1,"time":"2021-04-07T10:03:03+00:00","remoteAddr":"******","user":"--","app":"no app in context","method":"GET","url":"/core/ajax/update.php?requesttoken=W2L3Tb4Zo1unKW%2F64Ry46Iu%2BeKmvJmW7%2FNDtBOopnQY%3D%3AHlOxPu1x9THdcUSw0mrQjuH6Hs3KCSHRhpzUN6tZ8W8%3D","message":"Deprecated event type for \\OC\\Repair::info: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0","version":"20.0.7.1"}
{"reqId":"il0P34vrClouGRWMlm4M","level":1,"time":"2021-04-07T10:03:03+00:00","remoteAddr":"******","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=W2L3Tb4Zo1unKW%2F64Ry46Iu%2BeKmvJmW7%2FNDtBOopnQY%3D%3AHlOxPu1x9THdcUSw0mrQjuH6Hs3KCSHRhpzUN6tZ8W8%3D","message":"\\OC\\Repair::info: Repair info: Repaired DAV group shares","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0","version":"20.0.7.1"}
{"reqId":"il0P34vrClouGRWMlm4M","level":1,"time":"2021-04-07T10:03:03+00:00","remoteAddr":"******","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=W2L3Tb4Zo1unKW%2F64Ry46Iu%2BeKmvJmW7%2FNDtBOopnQY%3D%3AHlOxPu1x9THdcUSw0mrQjuH6Hs3KCSHRhpzUN6tZ8W8%3D","message":"\\OC\\Updater::startCheckCodeIntegrity: Starting code integrity check...","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0","version":"20.0.7.1"}
{"reqId":"il0P34vrClouGRWMlm4M","level":1,"time":"2021-04-07T10:03:47+00:00","remoteAddr":"******","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=W2L3Tb4Zo1unKW%2F64Ry46Iu%2BeKmvJmW7%2FNDtBOopnQY%3D%3AHlOxPu1x9THdcUSw0mrQjuH6Hs3KCSHRhpzUN6tZ8W8%3D","message":"\\OC\\Updater::finishedCheckCodeIntegrity: Finished code integrity check","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0","version":"20.0.7.1"}
{"reqId":"il0P34vrClouGRWMlm4M","level":1,"time":"2021-04-07T10:03:47+00:00","remoteAddr":"******","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=W2L3Tb4Zo1unKW%2F64Ry46Iu%2BeKmvJmW7%2FNDtBOopnQY%3D%3AHlOxPu1x9THdcUSw0mrQjuH6Hs3KCSHRhpzUN6tZ8W8%3D","message":"\\OC\\Updater::updateEnd: Update successful","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0","version":"21.0.0.18"}
{"reqId":"il0P34vrClouGRWMlm4M","level":1,"time":"2021-04-07T10:03:47+00:00","remoteAddr":"******","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=W2L3Tb4Zo1unKW%2F64Ry46Iu%2BeKmvJmW7%2FNDtBOopnQY%3D%3AHlOxPu1x9THdcUSw0mrQjuH6Hs3KCSHRhpzUN6tZ8W8%3D","message":"\\OC\\Updater::maintenanceDisabled: Turned off maintenance mode","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0","version":"21.0.0.18"}
{"reqId":"il0P34vrClouGRWMlm4M","level":1,"time":"2021-04-07T10:03:47+00:00","remoteAddr":"******","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=W2L3Tb4Zo1unKW%2F64Ry46Iu%2BeKmvJmW7%2FNDtBOopnQY%3D%3AHlOxPu1x9THdcUSw0mrQjuH6Hs3KCSHRhpzUN6tZ8W8%3D","message":"\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0","version":"21.0.0.18"}

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

<?php
$CONFIG = array (
  'instanceid' => '*******',
  'passwordsalt' => '*******',
  'secret' => '*******',
  'trusted_domains' => 
  array (
    0 => '*******',
    1 => '*******',
    2 => '*******',
    3 => '*******',
    4 => '*******',
  ),
  'datadirectory' => '/media',
  'logfile' => '/var/log/nextcloud/nextcloud.log',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/usr/share/webapps/nextcloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/lib/nextcloud/apps',
      'url' => '/wapps',
      'writable' => true,
    ),
  ),
  'dbtype' => 'mysql',
  'version' => '20.0.7.1',
  'overwrite.cli.url' => '*******',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '*******',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'nextcloud',
  'mail_domain' => '*******',
  'mail_smtpport' => '465',
  'mail_smtphost' => '******',
  'mail_smtpauth' => 1,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpname' => '******',
  'mail_smtppassword' => '******',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
    'timeout' => 0.0,
  ),
  'theme' => '',
  'loglevel' => 0,
  'debug' => false,
  'maintenance' => true,
  'appstoreenabled' => true,
  'config_is_read_only' => false,
  'upgrade.disable-web' => false,
);

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

Don't have errors in this log.

Have you tried to use the occ command to upgrade your system?

Yes already used occ and manual update.
i think that theres something missing on config

Hey @aeb

Looking at the log snippet you provided, it looks like the update finished successfully but the maintenance mode was not turned off properly, despite it saying:

"message":"\\OC\\Updater::maintenanceDisabled: Turned off maintenance mode"

Please can you try to turn off the maintenance mode manually via OCC?

php occ maintenance:mode --off

If this command should return, that no maintenance mode is enabled, try changing the parameter in your config from:

'maintenance' => true,

to

'maintenance' => false,

After php occ maintenance:mode --off i got:

Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Maintenance mode already disabled

Changed config file and the result is the same

result of occ status:

Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade

  • installed: true
  • version: 21.0.0.18
  • versionstring: 21.0.0
  • edition:

I’ve found a congig.php.pacnew.1 on config folder, after delete it everything started to work.
It’s solved thank you all for the help!

1 Like

Glad to see you found the problem and could solve it. Please can you mark your last post as solution, just in case someone else is having the same issue and is looking for a solution?