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, 12.0.2): 18.02
Operating system and version (eg, Ubuntu 17.04): ubuntu 18.X
Apache or nginx version (eg, Apache 2.4.25): nginx 1.17.9
PHP version (eg, 7.1): 7.3.14
The issue you are facing:
I’m getting a internal server error on all logins via the web.
Is this the first time you’ve seen this error? (Y/N):
Y
Steps to replicate it:
Don’t know, happened overnight… maybe some ubuntu patch?
1.
2.
3.
The output of your Nextcloud log in Admin > Logging:
Level
App Message Time
Fatal webdav Sabre\DAV\Exception\BadRequest: Expected filesize of 10000000 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 1032192 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side. 2020-03-19T13:25:02+0100
Error no app in context Sabre\DAV\Exception\BadRequest: Expected filesize of 10000000 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 1032192 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side. 2020-03-19T13:25:02+0100
Error PHP Unknown: POST Content-Length of 134 bytes exceeds the limit of 20 bytes at Unknown#0 2020-03-19T13:22:25+0100
Error index Exception: Argument 1 passed to OC\Core\Controller\ClientFlowLoginV2Controller::poll() must be of the type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 170 2020-03-19T13:22:25+0100
Error PHP Unknown: POST Content-Length of 134 bytes exceeds the limit of 20 bytes at Unknown#0 2020-03-19T13:22:20+0100
Error index Exception: Argument 1 passed to OC\Core\Controller\ClientFlowLoginV2Controller::poll() must be of the type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 170 2020-03-19T13:22:20+0100
Error PHP Unknown: POST Content-Length of 134 bytes exceeds the limit of 20 bytes at Unknown#0 2020-03-19T13:22:15+0100
Error index Exception: Argument 1 passed to OC\Core\Controller\ClientFlowLoginV2Controller::poll() must be of the type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 170 2020-03-19T13:22:15+0100
Error PHP Unknown: POST Content-Length of 134 bytes exceeds the limit of 20 bytes at Unknown#0 2020-03-19T13:22:10+0100
Error index Exception: Argument 1 passed to OC\Core\Controller\ClientFlowLoginV2Controller::poll() must be of the type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 170 2020-03-19T13:22:10+0100
Error PHP Unknown: POST Content-Length of 134 bytes exceeds the limit of 20 bytes at Unknown#0
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => '*',
'secret' => '*',
'trusted_domains' =>
array (
0 => '*',
),
'datadirectory' => '/var/nc_data',
'dbtype' => 'mysql',
'version' => '18.0.2.2',
'overwrite.cli.url' => '*',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'nextcloud',
'installed' => true,
'instanceid' => 'ocfgco6oa42x',
'activity_expire_days' => 14,
'auth.bruteforce.protection.enabled' => true,
'blacklisted_files' =>
array (
0 => '.htaccess',
1 => 'Thumbs.db',
2 => 'thumbs.db',
),
'cron_log' => true,
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\PNG',
1 => 'OC\\Preview\\JPEG',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\BMP',
4 => 'OC\\Preview\\XBitmap',
5 => 'OC\\Preview\\Movie',
6 => 'OC\\Preview\\PDF',
7 => 'OC\\Preview\\MP3',
8 => 'OC\\Preview\\TXT',
9 => 'OC\\Preview\\MarkDown',
),
'filesystem_check_changes' => 0,
'filelocking.enabled' => 'true',
'htaccess.RewriteBase' => '/',
'integrity.check.disabled' => false,
'knowledgebaseenabled' => false,
'logfile' => '/var/nc_data/nextcloud.log',
'loglevel' => 2,
'logtimezone' => 'Europe/Berlin',
'log_rotate_size' => 104857600,
'maintenance' => false,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'overwriteprotocol' => 'https',
'preview_max_x' => 1024,
'preview_max_y' => 768,
'preview_max_scale_factor' => 1,
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
'quota_include_external_storage' => false,
'share_folder' => '/Shares',
'skeletondirectory' => '',
'theme' => '',
'trashbin_retention_obligation' => 'auto, 7',
'updater.release.channel' => 'stable',
'data-fingerprint' => '*',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'nextcloud',
'mail_domain' => 'ricohnorge.no',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'm*',
'mail_smtpport' => '25',
'mail_smtpname' => 'n*',
'mail_smtppassword' => '*',
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'updater.secret' => '*',
);
The output of your Apache/nginx/system log in /var/log/____
:
2020/03/17 07:37:40 [warn] 19818#19818: *1272244 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/2/44/0000003442 while reading upstream, client: 84.215.47.23, server: gateway.ricohnorge.no, request: "GET /remote.php/dav/files/opokje/9110_Andromeda/Andromeda%20Firmware/Gammel%20Firmware/Andromeda%20_P1%20software%204.08/M2056027E/M2056027E.fwu HTTP/1.1", upstream: "fastcgi://unix:/run/php/ph$php/php7.3-fpm.sock:", host: "*"