Nextcloud version: 26.0.1.1
Operating system and version: Ubuntu 22.04.2 LTS
Apache or nginx version: Apache2 2.4.52
PHP version: PHP 8.1.2-1ubuntu2.11
The issue you are facing:
When I try to upload a file (500MB) to my local Nextcloud instance, the upload speed immediately drops to around 100 Kbits per second after a very short time (1 second). It can’t be because of my internet connection, since it’s 40MBit/s. In addition, the speed is low if I only upload to the Nextcloud instance within my own network.
Is this the first time you’ve seen this error?:
No, its since the Installation
Steps to replicate it:
- Upload a file over the Internet to my local Nextcloud Instance
- Upload a file over the local Network to my local Nextcloud Instance
The output of your Nextcloud log in Admin > Logging:
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'XXX',
'passwordsalt' => 'XXX',
'secret' => 'XXX',
'trusted_domains' =>
array (
0 => 'XXX',
1 => 'XXX',
2 => 'XXX',
3 => 'XXX',
),
'datadirectory' => '/nextcloud-data',
'dbtype' => 'mysql',
'version' => '26.0.1.1',
'overwrite.cli.url' => 'https://XXX',
'overwriteprotocol' => 'https',
'htaccess.RewriteBase' => '/',
'dbname' => 'db_nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'usr_nextcloud',
'dbpassword' => 'XXX',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_from_address' => 'XXX',
'mail_domain' => 'XXX',
'mail_smtphost' => 'XXX',
'mail_smtpport' => '465',
'mail_smtpname' => 'XXX',
'mail_smtppassword' => 'XXX',
'default_language' => 'de',
'default_locale' => 'de',
'default_phone_region' => 'DE',
'defaultapp' => 'files,dashboard',
'knowledgebaseenabled' => false,
'allow_user_to_change_display_name' => false,
'skeletondirectory' => '',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => true,
'redis' =>
array (
'host' => '/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.release.channel' => 'stable',
);
The output of your Apache/nginx/system log in /var/log/____
:
Apache2 Log:
[Wed May 03 00:00:02.092275 2023] [mpm_prefork:notice] [pid 876] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Wed May 03 00:00:02.092292 2023] [core:notice] [pid 876] AH00094: Command line: '/usr/sbin/apache2'
[Wed May 03 16:18:09.042506 2023] [mpm_prefork:notice] [pid 876] AH00170: caught SIGWINCH, shutting down gracefully
[Wed May 03 16:18:09.137401 2023] [mpm_prefork:notice] [pid 28369] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Wed May 03 16:18:09.137427 2023] [core:notice] [pid 28369] AH00094: Command line: '/usr/sbin/apache2'
[Wed May 03 16:18:14.285828 2023] [mpm_prefork:notice] [pid 28369] AH00170: caught SIGWINCH, shutting down gracefully
[Wed May 03 16:18:14.356394 2023] [mpm_prefork:notice] [pid 28392] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Wed May 03 16:18:14.356418 2023] [core:notice] [pid 28392] AH00094: Command line: '/usr/sbin/apache2'
Redis Log (last 100 entries):
772:M 03 May 2023 14:20:02.014 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 14:20:02.014 * Background saving started by pid 26684
26684:C 03 May 2023 14:20:02.027 * DB saved on disk
26684:C 03 May 2023 14:20:02.028 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 14:20:02.115 * Background saving terminated with success
772:M 03 May 2023 14:30:01.769 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 14:30:01.769 * Background saving started by pid 26738
26738:C 03 May 2023 14:30:01.799 * DB saved on disk
26738:C 03 May 2023 14:30:01.800 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 14:30:01.869 * Background saving terminated with success
772:M 03 May 2023 14:35:02.052 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 14:35:02.052 * Background saving started by pid 26766
26766:C 03 May 2023 14:35:02.066 * DB saved on disk
26766:C 03 May 2023 14:35:02.066 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 14:35:02.152 * Background saving terminated with success
772:M 03 May 2023 14:45:01.620 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 14:45:01.621 * Background saving started by pid 26874
26874:C 03 May 2023 14:45:01.632 * DB saved on disk
26874:C 03 May 2023 14:45:01.633 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 14:45:01.721 * Background saving terminated with success
772:M 03 May 2023 14:50:02.099 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 14:50:02.099 * Background saving started by pid 26942
26942:C 03 May 2023 14:50:02.113 * DB saved on disk
26942:C 03 May 2023 14:50:02.113 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 14:50:02.199 * Background saving terminated with success
772:M 03 May 2023 15:00:01.742 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 15:00:01.743 * Background saving started by pid 26995
26995:C 03 May 2023 15:00:01.754 * DB saved on disk
26995:C 03 May 2023 15:00:01.755 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 15:00:01.843 * Background saving terminated with success
772:M 03 May 2023 15:05:02.017 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 15:05:02.017 * Background saving started by pid 27023
27023:C 03 May 2023 15:05:02.029 * DB saved on disk
27023:C 03 May 2023 15:05:02.029 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 15:05:02.117 * Background saving terminated with success
772:M 03 May 2023 15:15:01.841 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 15:15:01.842 * Background saving started by pid 27133
27133:C 03 May 2023 15:15:01.853 * DB saved on disk
27133:C 03 May 2023 15:15:01.854 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 15:15:01.943 * Background saving terminated with success
772:M 03 May 2023 15:20:02.006 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 15:20:02.006 * Background saving started by pid 27164
27164:C 03 May 2023 15:20:02.018 * DB saved on disk
27164:C 03 May 2023 15:20:02.018 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 15:20:02.106 * Background saving terminated with success
772:M 03 May 2023 15:30:01.954 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 15:30:01.954 * Background saving started by pid 27217
27217:C 03 May 2023 15:30:01.967 * DB saved on disk
27217:C 03 May 2023 15:30:01.968 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 15:30:02.054 * Background saving terminated with success
772:M 03 May 2023 15:35:03.031 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 15:35:03.031 * Background saving started by pid 27244
27244:C 03 May 2023 15:35:03.043 * DB saved on disk
27244:C 03 May 2023 15:35:03.043 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 15:35:03.131 * Background saving terminated with success
772:M 03 May 2023 15:45:01.168 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 15:45:01.169 * Background saving started by pid 27353
27353:C 03 May 2023 15:45:01.180 * DB saved on disk
27353:C 03 May 2023 15:45:01.181 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 15:45:01.269 * Background saving terminated with success
772:M 03 May 2023 15:50:02.047 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 15:50:02.047 * Background saving started by pid 27383
27383:C 03 May 2023 15:50:02.059 * DB saved on disk
27383:C 03 May 2023 15:50:02.059 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 15:50:02.147 * Background saving terminated with success
772:M 03 May 2023 16:00:01.291 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 16:00:01.291 * Background saving started by pid 27436
27436:C 03 May 2023 16:00:01.303 * DB saved on disk
27436:C 03 May 2023 16:00:01.304 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 16:00:01.392 * Background saving terminated with success
772:M 03 May 2023 16:05:02.061 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 16:05:02.061 * Background saving started by pid 27467
27467:C 03 May 2023 16:05:02.072 * DB saved on disk
27467:C 03 May 2023 16:05:02.073 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 16:05:02.161 * Background saving terminated with success
772:M 03 May 2023 16:10:03.041 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 16:10:03.041 * Background saving started by pid 27553
27553:C 03 May 2023 16:10:03.054 * DB saved on disk
27553:C 03 May 2023 16:10:03.055 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 16:10:03.142 * Background saving terminated with success
772:M 03 May 2023 16:15:34.686 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 16:15:34.686 * Background saving started by pid 27584
27584:C 03 May 2023 16:15:34.698 * DB saved on disk
27584:C 03 May 2023 16:15:34.698 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 16:15:34.786 * Background saving terminated with success
772:M 03 May 2023 16:20:35.085 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 16:20:35.086 * Background saving started by pid 28423
28423:C 03 May 2023 16:20:35.098 * DB saved on disk
28423:C 03 May 2023 16:20:35.098 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 16:20:35.186 * Background saving terminated with success
772:M 03 May 2023 16:25:36.066 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 16:25:36.066 * Background saving started by pid 28472
28472:C 03 May 2023 16:25:36.079 * DB saved on disk
28472:C 03 May 2023 16:25:36.080 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 16:25:36.166 * Background saving terminated with success
772:M 03 May 2023 16:30:37.041 * 10 changes in 300 seconds. Saving...
772:M 03 May 2023 16:30:37.041 * Background saving started by pid 28516
28516:C 03 May 2023 16:30:37.055 * DB saved on disk
28516:C 03 May 2023 16:30:37.055 * RDB: 0 MB of memory used by copy-on-write
772:M 03 May 2023 16:30:37.142 * Background saving terminated with success
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.