Desktop App wont get in sync

Expected behaviour

Files should be syncronized

Actual behaviour

not syncronized

Steps to reproduce

delete a file from external sftp storage

Server configuration

Windows

Web server:
Ubuntu 18.04

Database:
MariaDB

PHP version:
7.3

ownCloud version:
10.5

Storage backend (external storage):
Ubuntu 18.04 with openSSH SFTP

Client configuration

Client version:
2.7.2
Operating system:
Windows
OS language:
German
Qt version used by client package (Linux only, see also Settings dialog):

Client package (From ownCloud or distro) (Linux only):

Here is the sync log. file test.pdf exists on locally but does not exist in external storage. It has been deleted there.

timestamp | duration | file | instruction | dir | modtime | etag | size | fileId | status | errorString | http result code | other size | other modtime | X-Request-ID

#=#=#=# Syncrun started 2020-12-05T07:06:31Z
#=#=#=#=# Propagation starts 2020-12-05T07:06:32Z (last step: 1028 msec, total: 1028 msec)
07:06:51||Bauspar.pdf|8|1|1606928174|5fcb318e0b984|269661|00027541ocofd8svzwk4|4||201|0|0|7eacdd8e-3862-4e55-a507-69b38de01fd6|
#=#=#=# Syncrun finished 2020-12-05T07:06:36Z (last step: 4619 msec, total: 5647 msec)
#=#=#=# Syncrun started 2020-12-05T07:07:24Z
#=#=#=# Syncrun started 2020-12-05T07:16:37Z
#=#=#=#=# Propagation starts 2020-12-05T07:16:38Z (last step: 1191 msec, total: 1191 msec)
07:16:57||test.pdf|8|1|1606928174|5fcb33ec2a9e5|269661|00027543ocofd8svzwk4|4||201|0|0|34c6c057-a7be-46d2-901f-73ca84983e52|
#=#=#=# Syncrun finished 2020-12-05T07:16:42Z (last step: 3760 msec, total: 4952 msec)
#=#=#=# Syncrun started 2020-12-05T07:17:35Z
#=#=#=# Syncrun finished 2020-12-05T08:16:36Z (last step: 3540908 msec, total: 3540908 msec)
#=#=#=# Syncrun started 2020-12-05T08:17:36Z
#=#=#=# Syncrun finished 2020-12-05T09:17:32Z (last step: 3595534 msec, total: 3595534 msec)
#=#=#=# Syncrun started 2020-12-05T09:18:32Z
#=#=#=# Syncrun finished 2020-12-05T10:18:30Z (last step: 3598154 msec, total: 3598154 msec)
#=#=#=# Syncrun started 2020-12-05T10:19:31Z
#=#=#=# Syncrun finished 2020-12-05T11:19:29Z (last step: 3598171 msec, total: 3598171 msec)
#=#=#=# Syncrun started 2020-12-05T11:20:29Z
#=#=#=# Syncrun finished 2020-12-05T12:20:28Z (last step: 3598171 msec, total: 3598171 msec)
#=#=#=# Syncrun started 2020-12-05T12:21:28Z
#=#=#=# Syncrun finished 2020-12-05T13:21:26Z (last step: 3598143 msec, total: 3598143 msec)
#=#=#=# Syncrun started 2020-12-05T13:22:27Z
#=#=#=# Syncrun finished 2020-12-05T15:22:22Z (last step: 7194676 msec, total: 7194676 msec)
#=#=#=# Syncrun started 2020-12-05T15:23:22Z
#=#=#=# Syncrun finished 2020-12-05T16:23:20Z (last step: 3598106 msec, total: 3598106 msec)
#=#=#=# Syncrun started 2020-12-05T16:24:20Z
#=#=#=# Syncrun finished 2020-12-05T17:24:19Z (last step: 3598201 msec, total: 3598201 msec)
#=#=#=# Syncrun started 2020-12-05T17:25:19Z
#=#=#=# Syncrun finished 2020-12-05T18:25:17Z (last step: 3598185 msec, total: 3598185 msec)
#=#=#=# Syncrun started 2020-12-05T18:26:18Z
#=#=#=# Syncrun finished 2020-12-05T19:26:16Z (last step: 3598190 msec, total: 3598190 msec)
#=#=#=# Syncrun started 2020-12-05T19:27:16Z
#=#=#=# Syncrun finished 2020-12-05T21:43:04Z (last step: 8147009 msec, total: 8147009 msec)
#=#=#=# Syncrun started 2020-12-05T21:44:03Z
#=#=#=# Syncrun finished 2020-12-05T21:45:02Z (last step: 59079 msec, total: 59079 msec)
#=#=#=# Syncrun started 2020-12-05T21:45:15Z

ownCloud desktop app can’t reliably detect changes on external storages. You need to add a Cronjob with a filescan to discover such changes.

Docs:
https://doc.owncloud.com/server/admin_manual/configuration/files/external_storage_configuration_gui.html#detecting-files-added-to-external-storages

1 Like

Yes, this is what I already did.

occ files:scan --all

After that the server is in sync. e.g. a deleted file from external storage is not shown any more in web-frontend.

But this change is not propagated to Windows Desktop Client. Means that this deleted file remains on Windows side.

This has worked before last client update.