Support intro
Nextcloud version (eg, 20.0.5): 27.0.1.2
Operating system and version (eg, Ubuntu 20.04): Debian 12, bookworm (amd64)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.57 (Debian)
PHP version (eg, 7.4): 8.2.8
The issue you are facing:
Before upgrade to 27.0.1.2 everything worked fine.
Update via web-based updater.
Update finished successfully.
On switching back to admin settings page: “Internal Server Error”.
Since then no login via browser possible: “Internal Server Error”
but: caldav sync works fine with all my devices, as well as Android nextcloud app.
Only access via browser is not possible any more.
Strange (but probably a hint)
After …occ maintenance:mode --on and rebooting the server:
Web-response: “Maintenance mode”
… occ maintenance:mode --off
Web-response: “Maintenance mode”
… service apache2 restart
Web-response: “Internal Server error”
… … occ maintenance:mode --on
Web-response: “internal Server error”
… occ maintenance:mode --off
Web-response: “internal Server error”
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- just access nextcloud via browser…
The output of your Nextcloud log in Admin > Logging:
…/data/nextcloud.log:
{"reqId":"JRdSURwLXfC0RtIlFToX","level":3,"time":"2023-07-25T20:28:05+00:00","remoteAddr":"10.143.25.49","user":"--","app":"index","method":"GET","url":"/ao/login","message":"The requested uri(/ao/login) cannot be processed by the script '/nextcloud/index.php')","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"27.0.1.2","exception":{"Exception":"Exception","Message":"The requested uri(/ao/login) cannot be processed by the script '/nextcloud/index.php')","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/base.php","line":1009,"function":"getRawPathInfo","class":"OC\\AppFramework\\Http\\Request","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Request.php","Line":730,"CustomMessage":"--"}}
The output of your config.php file in /path/to/nextcloud/config/
(make sure you remove any identifiable information!):
?php
$CONFIG = array (
'instanceid' => '***',
'passwordsalt' => '***',
'secret' => '***',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'domain.com',
2 => '***.***.com',
3 => '***.***.com',
),
'datadirectory' => '/var/www/nextcloud/data',
'dbtype' => 'mysql',
'version' => '27.0.1.2',
'overwrite.cli.url' => 'https://domain.com/xy',
'dbname' => '***',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '***',
'dbpassword' => '***',
'installed' => true,
'htaccess.RewriteBase' => '/nextcloud',
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
'default_locale' => '***',
'default_phone_region' => '**',
'maintenance' => false,
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => '***',
'mail_domain' => '***',
'mail_smtphost' => '***',
'mail_smtpport' => '587',
'mail_smtpauth' => 1,
'mail_smtpname' => '***',
'mail_smtppassword' => '****',
'theme' => '',
'loglevel' => 2,
);
The output of your Apache/nginx/system log in /var/log/____
:
… /apache2/error.log:
[Tue Jul 25 22:28:05.064703 2023] [autoindex:error] [pid 1507] [client 10.143.25.49:47556] AH01276: Cannot serve directory /var/www/nextcloud/: No matching DirectoryIndex (none) found, and server-generated directory index forbidden by Options directive
/var/log/syslog:
no entry with a timestamp nearby
Many thanks for any hint/help!