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): 21.0.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.41
PHP version (eg, 7.4): PHP 7.4.3
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- upgrade to 21.0.1
- upload a new pdf or image
- try to view or download that file after (file will be corrupt, some info is still there but e.g. images have large missing parts)
- view the same file directly from the storage, not via web-ui (file looks perfectly fine)
The output of your Nextcloud log in Admin > Logging:
https://paste.ubuntu.com/p/4nwqhM6Z86/
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => '<redacted>',
'secret' => '<redacted>',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '<redacted>',
2 => '<redacted>',
3 => '<redacted>',
),
'datadirectory' => '/mnt/ncdata',
'dbtype' => 'pgsql',
'version' => '21.0.1.1',
'overwrite.cli.url' => '<redacted>',
'dbname' => 'nextcloud_db',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => '<redacted>',
'dbpassword' => '<redacted>',
'installed' => true,
'instanceid' => '<redacted>',
'upgrade.disable-web' => 'true',
'log_type' => 'file',
'logfile' => '/var/log/nextcloud/nextcloud.log',
'loglevel' => '2',
'log.condition' =>
array (
'apps' =>
array (
0 => 'admin_audit',
),
),
'mail_smtpmode' => 'smtp',
'remember_login_cookie_lifetime' => '1800',
'log_rotate_size' => '10485760',
'trashbin_retention_obligation' => 'auto, 180',
'versions_retention_obligation' => 'auto, 365',
'simpleSignUpLink.shown' => false,
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => true,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.5,
'dbindex' => 0,
'password' => '<redacted>',
),
'logtimezone' => 'Europe/Zurich',
'htaccess.RewriteBase' => '/',
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
11 => 'OC\\Preview\\PNG',
12 => 'OC\\Preview\\JPEG',
13 => 'OC\\Preview\\GIF',
14 => 'OC\\Preview\\BMP',
15 => 'OC\\Preview\\MarkDown',
16 => 'OC\\Preview\\MP3',
17 => 'OC\\Preview\\TXT',
18 => 'OC\\Preview\\Movie',
),
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'maintenance' => false,
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_smtpauth' => 1,
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => 'noreply',
'mail_domain' => '<redacted>',
'mail_smtphost' => '<redacted>',
'mail_smtpport' => '465',
'mail_smtpname' => '<redacted>',
'mail_smtppassword' => '<redacted>',
'default_phone_region' => 'ch',
);
The output of your Apache/nginx/system log in /var/log/____
:
upon request