Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client tries to synchronise non existing files #4199

Closed
azukaar opened this issue Jan 24, 2022 · 4 comments
Closed

Client tries to synchronise non existing files #4199

azukaar opened this issue Jan 24, 2022 · 4 comments

Comments

@azukaar
Copy link

azukaar commented Jan 24, 2022

I had recently a few files that were producing errors during synchronisation:

image

Fair enough this is valid (although the UI... :D )
So I went on a quest and deleted all the problematic files. They do not appear in the folders anymore, even in VFS or in the settings page:

image

But as you can get from my screenshot, the error does not disappear, even after I disable VFS and re-enable it, or force sync etc... impossible to get rid of it. The reason why it is bothering me, is that I had a few issues with synchronisations of other files (files in a pending state forever) and I was thinking may be the two are linked somehow.

Client version: 3.4.1

Operating system: Win 10

OS language: EN

Nextcloud version: 23.0.0

Storage backend (external storage): Local External Storage

Logs

2022-01-24 17:57:14:213 [ warning default C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\csync\csync_exclude.cpp:428 ]:	System exclude list file could not be read: "E:/Nextcloud/Musics/Aerosmith/Draw The Line/.sync-exclude.lst"
2022-01-24 17:57:14:213 [ info sync.discovery C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\libsync\discovery.cpp:362 ]:	Processing "Musics/Aerosmith/Draw The Line" | valid: true/true/false | mtime: 1641137499/1642970687/0 | size: 0/4096/0 | etag: "_invalid_"//"" | checksum: ""//"" | perm: "DNVCKRm"//"" | fileid: "00246526oc5757b1u2sr"//"" | inode: 477535/477535/ | type: CSyncEnums::ItemTypeDirectory/CSyncEnums::ItemTypeDirectory/CSyncEnums::ItemTypeFile | e2ee: false/false | e2eeMangledName: ""/""
2022-01-24 17:57:14:213 [ info sync.discovery C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\libsync\discovery.cpp:911 ]:	File "Musics/Aerosmith/Draw The Line" is not anymore on server. Going to delete it locally.
2022-01-24 17:57:14:213 [ info sync.discovery C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\libsync\discovery.cpp:1368 ]:	Discovered "Musics/Aerosmith/Draw The Line" CSyncEnums::CSYNC_INSTRUCTION_REMOVE OCC::SyncFileItem::Down CSyncEnums::ItemTypeDirectory
2022-01-24 17:57:14:213 [ warning default C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\csync\csync_exclude.cpp:428 ]:	System exclude list file could not be read: "E:/Nextcloud/Musics/Aerosmith/Draw the Line/.sync-exclude.lst"
2022-01-24 17:57:14:213 [ info sync.discovery C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\libsync\discovery.cpp:362 ]:	Processing "Musics/Aerosmith/Draw the Line" | valid: false/false/true | mtime: 0/0/1641816830 | size: 0/0/0 | etag: ""//"61df2ccee64ad" | checksum: ""//"" | perm: ""//"DNVCKRm" | fileid: ""//"00473837oc5757b1u2sr" | inode: 0/0/ | type: CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeDirectory | e2ee: false/false | e2eeMangledName: ""/""
2022-01-24 17:57:14:213 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\common/ownsql.h:151 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 1 "00473837oc5757b1u2sr"
2022-01-24 17:57:14:213 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\common\ownsql.cpp:295 ]	[ OCC::SqlQuery::exec ]:	SQL exec "SELECT path, inode, modtime, type, md5, fileid, remotePerm, filesize,  ignoredChildrenRemote, contentchecksumtype.name || ':' || contentChecksum, e2eMangledName, isE2eEncrypted  FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE fileid=?1"
2022-01-24 17:57:14:214 [ info sync.discovery C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\libsync\discovery.cpp:1368 ]:	Discovered "Musics/Aerosmith/Draw the Line" CSyncEnums::CSYNC_INSTRUCTION_NEW OCC::SyncFileItem::Down CSyncEnums::ItemTypeDirectory
2022-01-24 17:57:14:214 [ warning default C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\csync\csync_exclude.cpp:428 ]:	System exclude list file could not be read: "E:/Nextcloud/Musics/Aerosmith/Gems/.sync-exclude.lst"

...

2022-01-24 17:57:36:884 [ info nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\gui\tray\activitylistmodel.cpp:443 ]:	Updating Activity/Notification/Error view.
2022-01-24 17:57:37:217 [ info nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\gui\tray\activitylistmodel.cpp:423 ]:	Activity/Notification/Error successfully dismissed:  "Attention, possible case sensitivity clash with E:\\Nextcloud\\Musics\\Aerosmith\\Draw the Line"
2022-01-24 17:57:37:217 [ info nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\gui\tray\activitylistmodel.cpp:424 ]:	Trying to remove Activity/Notification/Error from view... 
2022-01-24 17:57:37:217 [ info nextcloud.gui.activity C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\gui\tray\activitylistmodel.cpp:442 ]:	Activity/Notification/Error successfully removed from the list.


...

2022-01-24 17:57:37:767 [ debug nextcloud.sync.statustracker C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\libsync\syncfilestatustracker.cpp:229 ]	[ OCC::SyncFileStatusTracker::slotAboutToPropagate ]:	Investigating "Musics" OCC::SyncFileItem::NoStatus CSyncEnums::CSYNC_INSTRUCTION_UPDATE_METADATA
2022-01-24 17:57:37:767 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ]	[ OCC::SocketListener::sendMessage ]:	Sending SocketAPI message --> "STATUS:OK:E:\\Nextcloud\\Musics" to QLocalSocket(0x1fdea1e99d0)
2022-01-24 17:57:37:767 [ debug nextcloud.sync.statustracker C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\libsync\syncfilestatustracker.cpp:229 ]	[ OCC::SyncFileStatusTracker::slotAboutToPropagate ]:	Investigating "Musics/Aerosmith" OCC::SyncFileItem::NoStatus CSyncEnums::CSYNC_INSTRUCTION_UPDATE_METADATA
2022-01-24 17:57:37:767 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ]	[ OCC::SocketListener::sendMessage ]:	Sending SocketAPI message --> "STATUS:OK:E:\\Nextcloud\\Musics\\Aerosmith" to QLocalSocket(0x1fdea1e99d0)
2022-01-24 17:57:37:767 [ debug nextcloud.sync.statustracker C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\libsync\syncfilestatustracker.cpp:229 ]	[ OCC::SyncFileStatusTracker::slotAboutToPropagate ]:	Investigating "Musics/Aerosmith/Draw The Line" OCC::SyncFileItem::NoStatus CSyncEnums::CSYNC_INSTRUCTION_REMOVE
2022-01-24 17:57:37:768 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 1 79205144308709856
2022-01-24 17:57:37:768 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\common\ownsql.cpp:295 ]	[ OCC::SqlQuery::exec ]:	SQL exec "SELECT path, inode, modtime, type, md5, fileid, remotePerm, filesize,  ignoredChildrenRemote, contentchecksumtype.name || ':' || contentChecksum, e2eMangledName, isE2eEncrypted  FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1"
2022-01-24 17:57:37:768 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ]	[ OCC::SocketListener::sendMessage ]:	Sending SocketAPI message --> "STATUS:SYNC:E:\\Nextcloud\\Musics\\Aerosmith" to QLocalSocket(0x1fdea1e99d0)
2022-01-24 17:57:37:768 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\common/ownsql.h:145 ]	[ OCC::SqlQuery::bindValue ]:	SQL bind 1 -4781076905535594583
2022-01-24 17:57:37:768 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\common\ownsql.cpp:295 ]	[ OCC::SqlQuery::exec ]:	SQL exec "SELECT path, inode, modtime, type, md5, fileid, remotePerm, filesize,  ignoredChildrenRemote, contentchecksumtype.name || ':' || contentChecksum, e2eMangledName, isE2eEncrypted  FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1"
2022-01-24 17:57:37:768 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-8634\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ]	[ OCC::SocketListener::sendMessage ]:	Sending SocketAPI message --> "STATUS:SYNC:E:\\Nextcloud\\Musics" to QLocalSocket(0x1fdea1e99d0)
@azukaar
Copy link
Author

azukaar commented Jan 26, 2022

After further investigation, the sync engine is tripping because it had already created the folder with one of the casing, and was trying to sync the new one, before deleting the old one :

image

@ghost
Copy link

ghost commented Jan 26, 2022

Have you tried to go back to v3.3.6, as there a lot of syncing issues with 3.4.1? See e.g. #4141

@github-actions
Copy link

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

@github-actions github-actions bot added the stale label Feb 23, 2022
@github-actions
Copy link

github-actions bot commented Mar 9, 2022

This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you!

@github-actions github-actions bot closed this as completed Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants