Low download and upload speed

Nextcloud version (eg, 20.0.5): 25.0.4
Operating system and version (eg, Ubuntu 20.04): debian 11 server
Apache or nginx version (eg, Apache 2.4.25): nginx version: openresty/1.21.4.1
PHP version (eg, 7.4): 8.1.16

The issue you are facing: slow upload and download speeds, video playback buffers constantly

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?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,
    ),
  ),
  'instanceid' => '########',
  'passwordsalt' => '########',
  'secret' => '########',
  'trusted_domains' =>
  array (
    0 => '########',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '25.0.4.1',
  'overwrite.cli.url' => '########',
  'dbname' => '########',
  'dbhost' => '########',
  'dbport' => '########',
  'dbtableprefix' => '########',
  'mysql.utf8mb4' => true,
  'dbuser' => '########',
  'dbpassword' => '########',
  'installed' => true,
  'overwriteprotocol' => 'https',
  'maintenance' => false,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'redis' =>
    array (
      'host' => 'redis',
      //'host' => 'docker',
      'port' => 6379,
      'password' => '########',
  ),
);

The output of your Apache/nginx/system log in /var/log/____:

nginx configuration is handled by NginxProxyManager

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.

no such file

Hi @Alec_Jensen:

I understand the video playback issue part, but can you expand a bit on “slow”? What performance, specifically, are you seeing? And is this via the web interface or some other access method?

Also can you provide some further context about your server environment (i.e. Bare metal? Virtualized? Containered? Etc), data path/network topology, and underlying storage?

Your nextcloud.log will be located - in your case - in /var/www/html/data. Check it for any recurring indications of possible problems.

Two miscellaneous tidbits:

  • You’re running a somewhat outdated version of NC25. Latest in that train is v25.0.8.
  • Your mentioned NGINX Proxy Manager, but your NC configuration doesn’t indicate a proxy (I don’t see a trusted_proxy section).

By “slow”, I mean that the speed is very low (3mb/s up, 1mb/s down). Iperf between my machine and my Nextcloud instance shows 70 mb/s bandwidth (from server, through reverse proxy, to my machine). I am doing this through the web interface. Nextcloud is running inside of a docker container on one server, with a reverse proxy running on a different server.

I won’t provide my log as it seems to contain IP addresses, but I have looked through it and there does not appear to be any relevant errors.

I just haven’t gotten to updating, I’ll try it.
I did not know there was additional setup necessary for proxies, I will look into that.

My previous post revealed a whole bunch of secrets, thus it was deleted.

Update: I updated to 27.0, and did the appropriate proxy setup (I believe). I still have the exact same speeds.
New config.php:

<?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,
    ),
  ),
  'instanceid' => '########',
  'passwordsalt' => '########',
  'secret' => '########',
  'trusted_domains' =>
  array (
    0 => '########',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '27.0.0.8',
  'overwrite.cli.url' => '########',
  'dbname' => '########',
  'dbhost' => '########',
  'dbport' => '########',
  'dbtableprefix' => '########',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '########',
  'installed' => true,
  'overwriteprotocol' => 'https',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '########',
    'port' => ########,
    'password' => '########',
  ),
  'loglevel' => 2,
  'maintenance' => false,
  'trusted_proxies'   => ['192.168.86.52'],
);

i think i forgot to reply in my previous posts