Nextcloud version : 24.0.6
Operating system and version : debian 10
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.54
PHP version (eg, 7.4): 8.0
Desktop client: 3.6
I’m using the official docker-apache image
The issue you are facing:
I have 2 pc’s where I have the desktop client installed, one of which is an old laptop which I’m barely using. When I’m syncing with my old laptop, he often re-uploads files which were already deleted or moved to another folder of my nextcloud instance. It’s acting as if they are new files.
To illustrate the issue, consider this situation:
- Folder 1
– File A
– File B
– File C
– File D
This folder is synced to both laptops. Then I’m doing some file operations on my new laptop which leads to the following situation:
-
Folder 1
– File B
– File D -
Folder 2
–File A
File C has been deleted.
The files have been synced from my new laptop to my Nextcloud. When I’m powering on my old laptop after some weeks, the client thinks that File A & C are new and get re-uploaded. This leads to the following situation:
- Folder 1
– File A
– File B
– File C
– File D
-Folder 2
–File A
So obviously, this leads to a lot of duplicate files and files that are no longer needed. I’m not sure if it has something to do with the fact that I barely use my old laptop. If I find the time I test it with another laptop to see if it’s the same behavior.
Is this the first time you’ve seen this error? (Y/N):No
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,
),
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'nextcloud-redis',
'password' => '<PASSWORD>',
'port' => 6379,
),
'passwordsalt' => '<PASSWORD>',
'secret' => '<PASSWORD>',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'mycloud.com',
),
'datadirectory' => '/srv/Nextcloud-data',
'dbtype' => 'mysql',
'version' => '24.0.6.1',
'overwrite.cli.url' => 'https://mycloud.com',
'dbname' => 'nextcloud_db',
'dbhost' => 'db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud_user',
'dbpassword' => '<PASSWORD>',
'installed' => true,
'instanceid' => '<ID>',
'trusted_proxies' =>
array (
1 => '127.0.0.1',
),
'overwritehost' => 'mycloud.com',
'overwriteprotocol' => 'https',
'default_phone_region' => 'BE',
'loglevel' => 4,
'maintenance' => false,
'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\\MP3',
6 => 'OC\\Preview\\TXT',
7 => 'OC\\Preview\\MarkDown',
8 => 'OC\\Preview\\OpenDocument',
9 => 'OC\\Preview\\Krita',
10 => 'OC\\Preview\\Movie',
11 => 'OC\\Preview\\PNG',
12 => 'OC\\Preview\\MP4',
13 => 'OC\\Preview\\PDF',
),
'remember_login_cookie_lifetime' => 1296000,
'session_lifetime' => 86400,
'theme' => '',
'mail_smtpmode' => 'smtp',
'mail_smtphost' => '172.17.0.1',
'mail_sendmailmode' => 'smtp',
'mail_smtpport' => '25',
'has_rebuilt_cache' => true,
'app_install_overwrite' =>
array (
0 => 'radio',
1 => 'dicomviewer',
),
);
If any other information is needed to solve this problem , please let me know.