503 Error After Upgrade to 27.1.3

Nextcloud version: 27.1.3
Operating system and version: Ubuntu 22.04
Apache or nginx version: Apache 2.4.52 (Ubuntu)
PHP version: 8.2.12

The issue I am facing:
I upgraded from 27.1.2.1 to 2.7.1.3 via the WebGUI update function. The system did not come back up and is throwing “503 Service Unavailable”.

I logged into the console and performed occ maintenance:repair
Issue persists

Initiated update in cli via updater.phar.
Update proceeded to backup and install without issue or error.

Restarted apache2
Confirmed apache2 status is green with no errors.

Verified occ status:

- installed: true
- version: 27.1.3.2
- versionstring: 27.1.3
- edition:
- maintenance: false
- needsDbUpgrade: false
- productname: Nextcloud
- extendedSupport: false

Verified maintenance mode is off:

Maintenance mode already disabled

Rebooted system
Issue persists.

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

Steps to replicate it:

  1. Attempt to login from WebGui.

The output of your Nextcloud log in Admin > Logging:

Unavailable, no webgui access

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

<?php
$CONFIG = array (
  'instanceid' => 'ockj5xi7v586',
  'passwordsalt' => 'x/FdlZWUmr8I5M9wMaqfaFruzKsA7O',
  'secret' => 'kSOnMU3my7reP7OQOmw1teGZfH9RCpv63X9GpPmNvb0tZ5el',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => '192.168.2.*',
  ),
  'datadirectory' => '/var/www/html/nextcloud/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '27.1.3.2',
  'overwrite.cli.url' => 'https://localhost/nextcloud',
  'dbname' => 'DBNAME',
  'dbhost' => 'localhost:5432',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'DBUSER',
  'dbpassword' => 'DBPASSWORD',
  'installed' => true,
  'trashbin_retention_obligation' => 'auto,14',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 1,
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => 'EMAIL',
  'mail_domain' => 'gmail.com',
  'mail_smtphost' => 'smtp.gmail.com',
  'mail_smtpport' => '587',
  'mail_smtpsecure' => 'tls',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'SMTPNAMEf',
  'mail_smtppassword' => 'SMTPPASSWORD
  array (
    0 => 'occweb',
    1 => 'duplicatefinder',
  ),
);

The output of your Apache error log in /var/log/____:

[Tue Nov 14 16:22:06.446390 2023] [mpm_prefork:notice] [pid 1285] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Nov 14 16:22:06.496150 2023] [mpm_prefork:notice] [pid 3997] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Tue Nov 14 16:22:06.496256 2023] [core:notice] [pid 3997] AH00094: Command line: '/usr/sbin/apache2'
[Tue Nov 14 16:22:06.499189 2023] [:error] [pid 3998] avahi_entry_group_add_service_strlst("nextcloud") failed: Invalid host name

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.

{"reqId":"xyMx7IpgVGjrCDRWwneL","level":1,"time":"2023-11-14T23:26:10+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::startCheckCodeIntegrity: Starting code integrity check...","userAgent":"--","version":"27.1.2.1","data":{"app":"updater"}}
{"reqId":"xyMx7IpgVGjrCDRWwneL","level":1,"time":"2023-11-14T23:26:16+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::finishedCheckCodeIntegrity: Finished code integrity check","userAgent":"--","version":"27.1.2.1","data":{"app":"updater"}}
{"reqId":"xyMx7IpgVGjrCDRWwneL","level":1,"time":"2023-11-14T23:26:16+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::updateEnd: Update successful","userAgent":"--","version":"27.1.3.2","data":{"app":"updater"}}
{"reqId":"xyMx7IpgVGjrCDRWwneL","level":1,"time":"2023-11-14T23:26:16+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::maintenanceActive: Maintenance mode is kept active","userAgent":"--","version":"27.1.3.2","data":{"app":"updater"}}
{"reqId":"xyMx7IpgVGjrCDRWwneL","level":1,"time":"2023-11-14T23:26:16+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::resetLogLevel: Reset log level to Info(1)","userAgent":"--","version":"27.1.3.2","data":{"app":"updater"}}
{"reqId":"0m1V2JQBIFNlDRwJFeKU","level":1,"time":"2023-11-14T23:40:14+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"/var/www/html/nextcloud/nextcloud/data/updater-ockj5xi7v586/backups exists - start to clean it up","userAgent":"--","version":"27.1.3.2","data":[]}
{"reqId":"0m1V2JQBIFNlDRwJFeKU","level":1,"time":"2023-11-14T23:40:15+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"List of all directories that will be deleted: []","userAgent":"--","version":"27.1.3.2","data":[]}
{"reqId":"0m1V2JQBIFNlDRwJFeKU","level":1,"time":"2023-11-14T23:40:15+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Cleanup finished","userAgent":"--","version":"27.1.3.2","data":[]}
{"reqId":"gZG0CNuzi0h12gMsusmx","level":1,"time":"2023-11-15T00:21:10+00:00","remoteAddr":"","user":"--","app":"related_resources","method":"","url":"--","message":"Could not resolve OCA\\Circles\\CirclesManager! Class \"OCA\\Circles\\CirclesManager\" does not exist","userAgent":"--","version":"27.1.3.2","data":{"app":"related_resources"}}
{"reqId":"zJ51ti9geu7XNm2fnmHk","level":1,"time":"2023-11-15T00:22:18+00:00","remoteAddr":"","user":"--","app":"related_resources","method":"","url":"--","message":"Could not resolve OCA\\Circles\\CirclesManager! Class \"OCA\\Circles\\CirclesManager\" does not exist","userAgent":"--","version":"27.1.3.2","data":{"app":"related_resources"}}
{"reqId":"txx6o6EVFL7nHdOd74Xd","level":1,"time":"2023-11-15T00:29:54+00:00","remoteAddr":"","user":"--","app":"related_resources","method":"","url":"--","message":"Could not resolve OCA\\Circles\\CirclesManager! Class \"OCA\\Circles\\CirclesManager\" does not exist","userAgent":"--","version":"27.1.3.2","data":{"app":"related_resources"}}
{"reqId":"OHKjvzVCL2gRABgKm5oK","level":1,"time":"2023-11-15T00:39:59+00:00","remoteAddr":"","user":"--","app":"related_resources","method":"","url":"--","message":"Could not resolve OCA\\Circles\\CirclesManager! Class \"OCA\\Circles\\CirclesManager\" does not exist","userAgent":"--","version":"27.1.3.2","data":{"app":"related_resources"}}
{"reqId":"cIB2xby8fwAU5J6sPPMw","level":1,"time":"2023-11-15T00:45:01+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"/var/www/html/nextcloud/nextcloud/data/updater-ockj5xi7v586/backups exists - start to clean it up","userAgent":"--","version":"27.1.3.2","data":[]}
{"reqId":"cIB2xby8fwAU5J6sPPMw","level":1,"time":"2023-11-15T00:45:01+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"List of all directories that will be deleted: []","userAgent":"--","version":"27.1.3.2","data":[]}
{"reqId":"cIB2xby8fwAU5J6sPPMw","level":1,"time":"2023-11-15T00:45:01+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Cleanup finished","userAgent":"--","version":"27.1.3.2","data":[]}
{"reqId":"765thAKO6KpQgF4clTy7","level":1,"time":"2023-11-15T00:46:15+00:00","remoteAddr":"","user":"--","app":"related_resources","method":"","url":"--","message":"Could not resolve OCA\\Circles\\CirclesManager! Class \"OCA\\Circles\\CirclesManager\" does not exist","userAgent":"--","version":"27.1.3.2","data":{"app":"related_resources"}}
{"reqId":"7i88XvOpgE0S7kO1FU7Z","level":1,"time":"2023-11-15T01:34:35+00:00","remoteAddr":"","user":"--","app":"related_resources","method":"","url":"--","message":"Could not resolve OCA\\Circles\\CirclesManager! Class \"OCA\\Circles\\CirclesManager\" does not exist","userAgent":"--","version":"27.1.3.2","data":{"app":"related_resources"}}
{"reqId":"4323Bch928C9ERPKioS5","level":1,"time":"2023-11-15T01:35:30+00:00","remoteAddr":"","user":"--","app":"related_resources","method":"","url":"--","message":"Could not resolve OCA\\Circles\\CirclesManager! Class \"OCA\\Circles\\CirclesManager\" does not exist","userAgent":"--","version":"27.1.3.2","data":{"app":"related_resources"}}

Apparently this was OS related as the issue has resolved itself after th OS update and reboot performed today.

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