HTTP Error 500 after Upgrade to 28.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.1.5
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04.6 LTS
Apache or nginx version (eg, Apache 2.4.25): nginx/1.24.0
PHP version (eg, 7.4): 8.1.26

The issue you are facing:

I ran the web updater to upgrade to 28.0.1. When prompted to return to Nextcloud to complete the upgrade, I get a http 500 error and the instance no longer works.

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

Steps to replicate it:

  1. Run web updater to update instance from 27.1.5 to 28.0.1

The output of your Nextcloud log in Admin > Logging:

Web panel not available

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

<?php
$CONFIG = array (
  'passwordsalt' => 'SECRET',
  'secret' => 'SECRET',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => 'cloud.orangekarat.com',
  ),
  'datadirectory' => '/var/www/vhosts/orangekarat.com/.nextcloud/data/14dba62a3b83',
  'dbtype' => 'mysql',
  'version' => '27.1.5.1',
  'overwrite.cli.url' => 'http://localhost',
  'dbname' => 'nextcloud_c1115859',
  'dbhost' => 'localhost:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'SECRET',
  'dbpassword' => 'SECRET',
  'installed' => true,
  'instanceid' => 'ocq4idcc0ref',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'noreply',
  'mail_domain' => 'SECRET',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => 'SECRET',
  'default_phone_region' => 'US',
  'skeletondirectory' => '',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'SECRET',
'mail_smtpname' => 'SECRET',
  'mail_smtppassword' => 'SECRET',
  'mail_smtpport' => '465',
  'app_install_overwrite' => 
  array (
    0 => 'documentserver_community',
    1 => 'impersonate',
    2 => 'richdocumentscode',
  ),
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'filelocking.enabled' => true,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'enable_previews' => true,
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\Movie',
    1 => 'OC\\Preview\\PNG',
    2 => 'OC\\Preview\\JPEG',
    3 => 'OC\\Preview\\GIF',
    4 => 'OC\\Preview\\BMP',
    5 => 'OC\\Preview\\XBitmap',
    6 => 'OC\\Preview\\MP3',
    7 => 'OC\\Preview\\MP4',
    8 => 'OC\\Preview\\TXT',
    9 => 'OC\\Preview\\MarkDown',
    10 => 'OC\\Preview\\PDF',
  ),
  'updater.secret' => 'SECRET',
);

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

2023/12/22 00:06:51 [crit] 674829#0: *362007 SSL_do_handshake() failed (SSL: error:14201044:SSL routines:tls_choose_sigalg:internal >
2023/12/22 00:15:11 [crit] 674829#0: *362122 SSL_do_handshake() failed (SSL: error:14201044:SSL routines:tls_choose_sigalg:internal >
2023/12/22 04:06:39 [crit] 674829#0: *365519 SSL_do_handshake() failed (SSL: error:14201044:SSL routines:tls_choose_sigalg:internal >
2023/12/22 04:15:26 [crit] 674829#0: *365653 SSL_do_handshake() failed (SSL: error:14201044:SSL routines:tls_choose_sigalg:internal >
2023/12/22 06:06:54 [crit] 674829#0: *367329 SSL_do_handshake() failed (SSL: error:14201044:SSL routines:tls_choose_sigalg:internal >
2023/12/22 06:15:01 [crit] 674829#0: *367443 SSL_do_handshake() failed (SSL: error:14201044:SSL routines:tls_choose_sigalg:internal >
2023/12/22 08:06:34 [crit] 674829#0: *369645 SSL_do_handshake() failed (SSL: error:14201044:SSL routines:tls_choose_sigalg:internal >
2023/12/22 08:15:22 [crit] 674829#0: *369772 SSL_do_handshake() failed (SSL: error:14201044:SSL routines:tls_choose_sigalg:internal >

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.

2023-12-22 08:53:29	Error	163.123.29.55	500	GET /index.php/204 HTTP/1.0		Mozilla/5.0 (Linux) mirall/3.10.1git (Nextcloud, manjaro-6.6.7-4-MANJARO ClientArchitecture: x86_64 OsArchitecture: x86_64)	1.36 K	Apache SSL/TLS access
2023-12-22 08:53:30	Error	163.123.29.55	500	GET /index.php/204 HTTP/1.0		Mozilla/5.0 (Linux) mirall/3.10.1git (Nextcloud, manjaro-6.6.7-4-MANJARO ClientArchitecture: x86_64 OsArchitecture: x86_64)	1.36 K	Apache SSL/TLS access
2023-12-22 08:53:30	Access	163.123.29.55	200	GET /status.php HTTP/1.0		Mozilla/5.0 (Macintosh) mirall/3.5.0git (build 10063) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)	1.51 K	Apache SSL/TLS access
2023-12-22 08:53:30	Access	163.123.29.55	200	GET /status.php HTTP/1.0		Mozilla/5.0 (Linux) mirall/3.10.1git (Nextcloud, manjaro-6.6.7-4-MANJARO ClientArchitecture: x86_64 OsArchitecture: x86_64)	1.51 K	Apache SSL/TLS access
2023-12-22 08:53:30	Error	163.123.29.55	503	PROPFIND /remote.php/dav/files/cddrew/ HTTP/1.0		Mozilla/5.0 (Macintosh) mirall/3.5.0git (build 10063) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)	1.31 K	Apache SSL/TLS access
2023-12-22 08:53:30	Error	163.123.29.55	503	PROPFIND /remote.php/dav/files/cddrew/ HTTP/1.0		Mozilla/5.0 (Linux) mirall/3.10.1git (Nextcloud, manjaro-6.6.7-4-MANJARO ClientArchitecture: x86_64 OsArchitecture: x86_64)	1.31 K	Apache SSL/TLS access
2023-12-22 08:53:30	Error	163.123.29.55		AH01071: Got error 'PHP message: PHP Fatal error: Class OCA\\GroupFolders\\Helper\\LazyFolder contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (OCP\\Files\\Folder::searchBySystemTag, OCP\\Files\\FileInfo::getMetadata) in /var/www/vhosts/orangekarat.com/cloud.orangekarat.com/apps/groupfolders/lib/Helper/LazyFolder.php on line 32'				Apache error
2023-12-22 08:53:30	Error	163.123.29.55		AH01071: Got error 'PHP message: PHP Fatal error: Class OCA\\GroupFolders\\Helper\\LazyFolder contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (OCP\\Files\\Folder::searchBySystemTag, OCP\\Files\\FileInfo::getMetadata) in /var/www/vhosts/orangekarat.com/cloud.orangekarat.com/apps/groupfolders/lib/Helper/LazyFolder.php on line 32'				Apache error
2023-12-22 08:53:45	Access	163.123.29.55	200	GET /status.php HTTP/1.0		Mozilla/5.0 (Macintosh) mirall/3.5.0git (build 10063) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)	1.51 K	Apache SSL/TLS access
2023-12-22 08:53:45	Error	163.123.29.55	503	PROPFIND /remote.php/dav/files/SaraDrew/ HTTP/1.0		Mozilla/5.0 (Macintosh) mirall/3.5.0git (build 10063) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)	1.31 K	Apache SSL/TLS access
2023-12-22 08:53:50	Error	45.55.51.19	404	GET /apps/richdocuments/settings/fonts.json HTTP/1.0		COOLWSD HTTP Agent 23.05.6.2	1.54 K	Apache SSL/TLS access
2023-12-22 08:54:31	Error	163.123.29.55	500	GET /index.php/204 HTTP/1.0		Mozilla/5.0 (Linux) mirall/3.10.1git (Nextcloud, manjaro-6.6.7-4-MANJARO ClientArchitecture: x86_64 OsArchitecture: x86_64)	1.36 K	Apache SSL/TLS access
2023-12-22 08:54:32	Error	163.123.29.55	500	GET /index.php/204 HTTP/1.0		Mozilla/5.0 (Linux) mirall/3.10.1git (Nextcloud, manjaro-6.6.7-4-MANJARO ClientArchitecture: x86_64 OsArchitecture: x86_64)	1.36 K	Apache SSL/TLS access
2023-12-22 08:54:32	Error	163.123.29.55		AH01071: Got error 'PHP message: PHP Fatal error: Class OCA\\GroupFolders\\Helper\\LazyFolder contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (OCP\\Files\\Folder::searchBySystemTag, OCP\\Files\\FileInfo::getMetadata) in /var/www/vhosts/orangekarat.com/cloud.orangekarat.com/apps/groupfolders/lib/Helper/LazyFolder.php on line 32'				Apache error
2023-12-22 08:54:32	Error	163.123.29.55		AH01071: Got error 'PHP message: PHP Fatal error: Class OCA\\GroupFolders\\Helper\\LazyFolder contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (OCP\\Files\\Folder::searchBySystemTag, OCP\\Files\\FileInfo::getMetadata) in /var/www/vhosts/orangekarat.com/cloud.orangekarat.com/apps/groupfolders/lib/Helper/LazyFolder.php on line 32'				Apache error

Disable group folders app and report

Thank you! I disabled the app and was able to complete the upgrade.

I now see this warning, which I assume is related to the problem I was having:

I tried re-enabling the group folders app and it failed with an error saying it was incompatible with the server.

Did you update installed apps as well?

For NC28 you need group folder app with at least v16.0.1

I swore up and down that I upgraded that app before attempting the system update.

Right now, the app can only be enabled by choosing “Allow Untested App”

I have allowed it, but the one group folder I was using is now gone! Is there any way of recovering it??

Check your installation. The group folders app has a valid release for nc28.

1 Like

Oh wait, I see now. All is well. I clicked “Allow Untested App” and forgot that you still have to click “Enable” after that. All is well now. Thanks again for the quick help. That group folder is actually really important education folder!

Will the huge number of logged error rotate out eventually?

That is not good!
Which version of the app is shown in your app management?

Yes, AFAIK after 7 days.

It is 16.0.1, which is what you thought it should be. And it works. Not sure why it initially had that “Allow Untested App” warning.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.