Support intro
Sorry to hear you’re facing problems
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
Nextcloud version (eg, 20.0.5): 26.0.0
Operating system and version (eg, Ubuntu 20.04): 22.04.2 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.52
PHP version (eg, 7.4): 8.1.17 (according to ‘php -v’)
The issue you are facing:
front page of domain gives
"Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log."
In short: NC26 worked for maybe a day after update from NC25 (stable channel). Around the same time I did a standard update of Ubuntu - there may have been an update to php8.2, which I later tried to uninstall. If that is not the culprit here, another hypothesis is my renewal of Let’s encrypt certificate.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it (not sure):
- upgrade from 25.x.x to 26.0.0
- renew let’s encrypt certificate
- update normally ubuntu system
The output of your Nextcloud log in Admin > Logging:
cannot login to Nextcloud instance
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '[instanceid]',
'passwordsalt' => '[passwordsalt]',
'secret' => '[secret]',
'trusted_domains' =>
array (
0 => '[public domain]',
1 => '[local ip]',
2 => '[public ip]',
3 => '[local ip]',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '26.0.0.11',
'overwrite.cli.url' => '[domain]',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '[dbuser]',
'dbpassword' => '[dbpassword]',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'mail_from_address' => '[from]',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => '[domain]',
'mail_smtphost' => '[domain]',
'mail_smtpauth' => 1,
'mail_smtpname' => '[username]',
'mail_smtppassword' => '[password]',
'mail_smtpsecure' => 'tls',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpport' => '587',
'app_install_overwrite' =>
array (
0 => 'social',
),
'updater.secret' => '[long text with different characters]';```
The output of your Apache/nginx/system log in `/var/log/____`:
[Mon Apr 03 00:00:01.621890 2023] [mpm_prefork:notice] [pid 8742] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured – resuming normal operations
[Mon Apr 03 00:00:01.621939 2023] [core:notice] [pid 8742] AH00094: Command line: ‘/usr/sbin/apache2’
[Mon Apr 03 14:29:05.097617 2023] [authz_core:error] [pid 11945] [client 35.216.229.26:57056] AH01630: client denied by server configuration: /var/www/html/server-status
[Mon Apr 03 14:29:05.953792 2023] [php:error] [pid 35919] [client 35.216.229.26:57102] script ‘/var/www/html/info.php’ not found or unable to stat
[Mon Apr 03 17:53:07.501869 2023] [php:error] [pid 16975] [client 134.122.78.116:43654] script ‘/var/www/html/phpinfo.php’ not found or unable to stat
[Mon Apr 03 19:07:00.655704 2023] [mpm_prefork:notice] [pid 8742] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Apr 03 19:07:26.835773 2023] [mpm_prefork:notice] [pid 1088] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured – resuming normal operations
[Mon Apr 03 19:07:26.852357 2023] [core:notice] [pid 1088] AH00094: Command line: ‘/usr/sbin/apache2’
[Mon Apr 03 22:31:28.903640 2023] [mpm_prefork:notice] [pid 1088] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Apr 03 22:31:30.061103 2023] [mpm_prefork:notice] [pid 14911] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured – resuming normal operations
[Mon Apr 03 22:31:30.061214 2023] [core:notice] [pid 14911] AH00094: Command line: ‘/usr/sbin/apache2’
PASTE HERE
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.
first this snippet, more in the pastebin below:
{“reqId”:“jxoYzFqXhRMP8m6KqIFK”,“level”:3,“time”:“2023-03-29T10:58:59+00:00”,“remoteAddr”:“[ip address]”,“user”:“–”,“app”:“no app in context”,“method”:“GET”,“url”:“/core/ajax/update.php?requesttoken=Jk%2FQevaohe98415L5Z%2B8VN3GiQBk9tztySdQWT0SKmc%3D%3AUhqFNpGQ9Yorlj04n%2B6JGLCX4VcPgb6J%2FhEWNEU5XTE%3D”,“message”:“App "GeoBlocker" cannot be installed because it is not compatible with this version of the server.”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0”,“version”:“25.0.5.1”,“exception”:{“Exception”:“Exception”,“Message”:“App "GeoBlocker" cannot be installed because it is not compatible with this version of the server.”,“Code”:0,“Trace”:[{“file”:“/var/www/html/lib/private/legacy/OC_App.php”,“line”:451,“function”:“installApp”,“class”:“OC\Installer”,“type”:“->”},{“file”:“/var/www/html/lib/private/Updater.php”,“line”:431,“function”:“enable”,“class”:“OC_App”,“type”:“->”},{“file”:“/var/www/html/lib/private/Updater.php”,“line”:284,“function”:“upgradeAppStoreApps”,“class”:“OC\Updater”,“type”:“->”},{“file”:“/var/www/html/lib/private/Updater.php”,“line”:140,“function”:“doUpgrade”,“class”:“OC\Updater”,“type”:“->”},{“file”:“/var/www/html/core/ajax/update.php”,“line”:185,“function”:“upgrade”,“class”:“OC\Updater”,“type”:“->”}],“File”:“/var/www/html/lib/private/Installer.php”,“Line”:131,“message”:“App "GeoBlocker" cannot be installed because it is not compatible with this version of the server.”,“exception”:{},“CustomMessage”:“App "GeoBlocker" cannot be installed because it is not compatible with this version of the server.”}}