Upgraded to 25.0.2 - seeing an error and can no longer log in

Nextcloud version (eg, 20.0.5): 25.0.2
Operating system and version (eg, Ubuntu 20.04): Debian 11.6
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.54
PHP version (eg, 7.4): 7.4.33

The issue you are facing:

performed web update to 25.0.2, now I get an error on login and this in my corresponding nextcloud.log

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

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

"reqId":"Y8Bheg5VKN5Uer5NDmXG9QAAAAo","level":0,"time":"2023-01-12T19:37:30+00:00","remoteAddr":"74.76.32.107","user":"admin","app":"encryption","method":"GET","url":"/nextcloud/index.php/apps/dashboard/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.2.3","data":{"app":"encryption"}}
{"reqId":"Y8Bheg5VKN5Uer5NDmXG9QAAAAo","level":0,"time":"2023-01-12T19:37:30+00:00","remoteAddr":"74.76.32.107","user":"admin","app":"music","method":"GET","url":"/nextcloud/index.php/apps/dashboard/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.2.3","data":{"app":"music"}}
{"reqId":"Y8Bheg5VKN5Uer5NDmXG9QAAAAo","level":0,"time":"2023-01-12T19:37:30+00:00","remoteAddr":"74.76.32.107","user":"admin","app":"fulltextsearch","method":"GET","url":"/nextcloud/index.php/apps/dashboard/","message":"Could not determine if provider with id 'deck' was properly indexed because the corresponding provider-option could not be found. Make sure the initial indexing process has been completed successfully.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.2.3","data":{"app":"fulltextsearch","level":"0"}}
{"reqId":"Y8Bheg5VKN5Uer5NDmXG9QAAAAo","level":0,"time":"2023-01-12T19:37:30+00:00","remoteAddr":"74.76.32.107","user":"admin","app":"fulltextsearch","method":"GET","url":"/nextcloud/index.php/apps/dashboard/","message":"Could not determine if provider with id 'files' was properly indexed because the corresponding provider-option could not be found. Make sure the initial indexing process has been completed successfully.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.2.3","data":{"app":"fulltextsearch","level":"0"}}
{"reqId":"Y8Bheg5VKN5Uer5NDmXG9QAAAAo","level":3,"time":"2023-01-12T19:37:30+00:00","remoteAddr":"74.76.32.107","user":"admin","app":"index","method":"GET","url":"/nextcloud/index.php/apps/dashboard/","message":"Call to undefined method OCA\\Talk\\Config::getSignalingTokenPublicKey()","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.2.3","exception":{"Exception":"Error","Message":"Call to undefined method OCA\\Talk\\Config::getSignalingTokenPublicKey()","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/CapabilitiesManager.php","line":75,"function":"getCapabilities","class":"OCA\\Talk\\Capabilities","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/JSConfigHelper.php","line":166,"function":"getCapabilities","class":"OC\\CapabilitiesManager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TemplateLayout.php","line":229,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/legacy/OC_Template.php","line":184,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/html/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php","line":213,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":178,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1047,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/apps/spreed/lib/Capabilities.php","Line":153,"CustomMessage":"--"}}

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

  'datadirectory' => '/var/www/html/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '25.0.2.3',
  'overwrite.cli.url' => 'https://oddtime.net/nextcloud',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'ncloud',
  'dbpassword' => 'Dehcloud4me',
  'installed' => true,
  'maintenance' => false,
  'default_language' => 'en',
  'default_locale' => 'en_US',
  'default_phone_region' => 'US',
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'root',
  'mail_domain' => 'oddtime.net',
  'mail_smtphost' => '127.0.0.1',
  'mail_smtpport' => '25',
  'has_rebuilt_cache' => true,
  'theme' => '',

The output of your Apache/nginx/system log in `/var/log/____`:
  • [12/Jan/2023:19:45:35 +0000] “GET /nextcloud/ HTTP/1.1” 302 1864 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0”
    • [12/Jan/2023:19:45:35 +0000] “GET /nextcloud/index.php/apps/dashboard/ HTTP/1.1” 500 29064 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0”
    • [12/Jan/2023:19:45:37 +0000] “GET /nextcloud/index.php/apps/recommendations/api/recommendations/always HTTP/1.1” 412 2010 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0”
    • [12/Jan/2023:19:45:37 +0000] “GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1” 200 1611 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0”
    • [12/Jan/2023:19:45:37 +0000] “GET /nextcloud/ocs/v2.php/search/providers?from=%2Fnextcloud%2Fapps%2Fdashboard%2F HTTP/1.1” 200 2368 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0”

Fixed - shut down apache and ran sudo -u www-data php ./occ db:add-missing-indices. Did not seem to do it when apache was running