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: 25.0.0.18
Operating system and version: Ubuntu 22.04.1 LTS
+ Docker 20.10.20
+
Docker image: nextcloud:latest
The issue you are facing:
After updateing the host OS Ubuntu and the Nextcloud App container, the browser just shows a blank screen when loading the Nextcloud URL + shows 500 response code in dev tools. (I know updateing 2 things at ones was not a good idea…)
What I checked / tried:
- path to nextcloud / config / data is writable and not full
- db is accessible from nextcloud container and from phpmyadmin running externally. Nothing in logs.
- Redis is receiving requests and works normally
- occ commands work normally
-
curl localhost -v
executed inside the container also results 500
It seams like the backend is running ok (since occ works) but does not get the requests from (maybe) the webserver?
Is this the first time you’ve seen this error?: Yes
The output of your config.php file in /path/to/nextcloud
:
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'redis',
'password' => '',
'port' => 6379,
),
'overwriteprotocol' => 'https',
'trusted_proxies' =>
array (
0 => '172.33.0.0/16,',
1 => '172.99.0.0/16',
2 => '192.168.90.0/24',
),
'instanceid' => 'xxxx',
'passwordsalt' => 'xxxx',
'secret' => 'xxxx',
'trusted_domains' =>
array (
0 => 'xxxx',
1 => 'xxxx',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '25.0.0.18',
'overwrite.cli.url' => 'https://xxxx',
'dbname' => 'nextcloud',
'dbhost' => 'db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxxx',
'dbpassword' => 'xxxx',
'installed' => true,
'default_phone_region' => 'DE',
'allow_local_remote_servers' => true,
'mail_from_address' => 'xxxx',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'xxxx',
'mail_smtpsecure' => 'ssl',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'xxxx',
'mail_smtpport' => '465',
'mail_smtpname' => 'xxxx',
'mail_smtppassword' => 'xxxx',
'onlyoffice' =>
array (
'verify_peer_off' => true,
'DocumentServerInternalUrl' => 'http://xxxx/',
),
'maintenance' => false,
'loglevel' => 0,
'trashbin_retention_obligation' => 'auto, 30',
'simpleSignUpLink.shown' => false,
'data-fingerprint' => 'xxxx',
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'preview_max_memory' => 1280,
'app_install_overwrite' =>
array (
0 => 'drawio',
1 => 'camerarawpreviews',
),
);
Docker container log:
Configuring Redis as session handler
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.99.0.8. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.99.0.8. Set the 'ServerName' directive globally to suppress this message
[Sat Oct 22 19:06:41.047053 2022] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.54 (Debian) PHP/8.1.11 configured -- resuming normal operations
[Sat Oct 22 19:06:41.048463 2022] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
172.70.251.148 - *** [22/Oct/2022:19:06:41 +0000] "MKCOL /remote.php/dav/files/********* HTTP/1.1" 500 1624 "-" "-"
172.70.243.20 - *** [22/Oct/2022:19:06:41 +0000] "PUT /remote.php/dav/files/************ HTTP/1.1" 500 1628 "-" "-"
// More calls showing 500 responses for UI calls ...
occ log:tail
results:
------- ------------------- -------------------------------------------------------------------------------------------------------------- ---------------------------
Level App Message Time
------- ------------------- -------------------------------------------------------------------------------------------------------------- ---------------------------
Debug cron CLI cron call has selected job with ID 230363 2022-10-22T19:25:01+00:00
Debug cron CLI cron call has selected job with ID 230954 2022-10-22T19:25:01+00:00
Debug cron CLI cron call has selected job with ID 230957 2022-10-22T19:25:01+00:00
Debug cron CLI cron call has selected job with ID 230958 2022-10-22T19:25:01+00:00
Debug cron CLI cron call has selected job with ID 230959 2022-10-22T19:25:01+00:00
Debug cron CLI cron call has selected job with ID 230960 2022-10-22T19:25:01+00:00
Debug drawio /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-10-22T19:29:03+00:00
Info related_resources Could not resolve OCA\Circles\CirclesManager! Class "OCA\Circles\CirclesManager" does not exist 2022-10-22T19:29:03+00:00
Debug drawio /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead. 2022-10-22T19:29:17+00:00
Info related_resources Could not resolve OCA\Circles\CirclesManager! Class "OCA\Circles\CirclesManager" does not exist 2022-10-22T19:29:17+00:00
------- ------------------- -------------------------------------------------------------------------------------------------------------- ---------------------------