Nextcloud version (eg, 20.0.5): 28.0.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.3
Apache or nginx version (eg, Apache 2.4.25): whatever comes in Docker
PHP version (eg, 7.4): as above
The issue you are facing: syncing files to/from Windows desktop client 3.11.0 is very slow.
Is this the first time youāve seen this error? (Y/N): N
Steps to replicate it:
- Go to Windows explorer in Nextcloud sync. folder
- Right click on 500MB file - select āFree up spaceā
- Right click on 500MB file - select āAlways keep on this deviceā
- Go to admin. panel of LAN switch and watch throughput start at about 40Mbit/sec, stay there for about 200MB and then drop back to about 17Mbit/sec for the remainder of the file - it takes several minutes.
Both the client and server are on the same 1Gbit/s LAN. Transferring the same file between the same client and server using either a CIFS share or the Nextclound web interface happens in a few seconds at ~900Mbit/s.
Iām running the docker image server now, but had the exact same symptoms with the .tar.gz image extracted into an existing Apache server and MariaDB.
The output of your Nextcloud log in Admin > Logging:
Nothing
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,
),
),
'upgrade.disable-web' => true,
'instanceid' => 'xxx',
'passwordsalt' => 'xxx',
'secret' => 'xxx,
'trusted_domains' =>
array (
0 => 'slug',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'sqlite3',
'version' => '28.0.1.1',
'overwrite.cli.url' => 'http://slug',
'dbname' => 'nextcloud',
'installed' => true,
);
The output of your Apache/nginx/system log in /var/log/____
:
Here are 3 gets of the same file in the logs - sync. client, browser and sync. client again.
192.168.2.15 - bwatson [31/Dec/2023:23:08:01 -0400] "GET /remote.php/dav/files/bwatson/random.file HTTP/1.1" 200 494716967 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.22621 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.2.15 - - [31/Dec/2023:23:10:29 -0400] "GET /remote.php/dav/files/bwatson/random.file HTTP/1.1" 200 494716968 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
192.168.2.15 - bwatson [31/Dec/2023:23:28:33 -0400] "GET /remote.php/dav/files/bwatson/random.file HTTP/1.1" 200 494716967 "-" "Mozilla/5.0 (Windows) mirall/3.11.0stable-Win64 (build 20231211) (Nextcloud, windows-10.0.22621 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
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.
The following logs are from the setup - failed attempts and docker compose setups. The logs survived.
Warning core
Login failed: ābwatsonā (Remote IP: ā192.168.2.15ā)
Dec 31, 2023, 11:01:24 PM
Error index
InvalidArgumentException No proper share data
Dec 31, 2023, 11:01:19 PM
Warning no app in context
Host slug was not connected to because it violates local access rules
Dec 31, 2023, 11:00:21 PM
Warning no app in context
Host slug was not connected to because it violates local access rules
Dec 31, 2023, 11:00:21 PM
Warning no app in context
Host slug was not connected to because it violates local access rules
Dec 31, 2023, 11:00:21 PM
Warning no app in context
Host slug was not connected to because it violates local access rules
Dec 31, 2023, 11:00:21 PM
Warning no app in context
Host slug was not connected to because it violates local access rules
Dec 31, 2023, 11:00:21 PM
Warning no app in context
Host slug was not connected to because it violates local access rules
Dec 31, 2023, 11:00:21 PM