26.0.1 Internal Server Error when accessing settings

Hi

Today I updated to 26.0.1. Now whenever I try to access personal or administrative settings i get:

Internal Server Error
The server was unable to complete the request.

If this issue persists, please send the following technical details to your server administrator.

Further details can be found in the server log.

Technical Details
Remote Address: 192.168.YYY.YYY
Request ID: sF5XtxFMzsPnOAljxvD

System Details

  • Nextcloud version: 26.0.1
  • Operating system and version: Ubuntu 22.04.2 latest patches
  • System setup: everything is run in docker containers Version 24.0.1
  • Is this the first time you’ve seen this error?: Y
  • Steps to replicate it:
  1. Update to 26.0.1
  2. Try to access personal or administrative settings
  • Nextcloud log in Admin > Logging: Not able to get there.

nginx access.log:

[20/May/2023:22:49:14 +0200] "GET /settings/user HTTP/2.0" 500 4679 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42"

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

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'ocpnco0p7gjh',
  'passwordsalt' =>pwd,
  'secret' =>  secret,
  'trusted_domains' => 
  array (
    0 => 'mydomain1',
    1 => 'mydomain2',
    2 => 'mydomain3',
  ),
  'dbtype' => 'mysql',
  'version' => '26.0.1.1',
  'overwrite.cli.url' => 'mydomain',
  'dbname' => 'nextcloud',
  'dbhost' => 'IP.IP.IP.IP',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'oc_admin',
  'dbpassword' => 'pwd',
  'installed' => true,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 1,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'nanana',
  'mail_domain' => 'nothing.no',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.nothing.no',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'nanana',
  'mail_smtppassword' => 'pwd',
  'encryption.legacy_format_support' => false,
  'encryption.key_storage_migrated' => false,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'default_phone_region' => 'CH',
  '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',
  ),
  'facerecognition.external_model_url' => 'http://192.168.0.20:8080',
  'facerecognition.external_model_api_key' => 'key',
  'log_type' => 'file',
  'logfile' => '/config/log/nextcloud/nextcloud.log',
  'updater.secret' => 'key',
);

Apache/nginx/system log in /var/log/____: not shure where to get this as I am using the linuxserver/nextcloud:latest docker image.

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors: As mentioned - UI not accessible due to the error. But error logfiles don’t show anything.

Any help would be appreciated!

Thank you

The log file that will tell you what is going on, per your config, is /config/log/nextcloud/nextcloud.log>

Do you by chance have the discourse integration installed?

SOLVED: Admin Overview not loading after 26.0.2 upgrade “No such file or directory”

thank you very much!!!

1 Like