nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
2.99k stars 789 forks source link

3.6.2 - Folder got not sychronized, even when enabling "always keep on this device" #5211

Open Githopp192 opened 1 year ago

Githopp192 commented 1 year ago

⚠️ Before submitting, please verify the following: ⚠️

Bug description

Nextcloud Window (Virtual)Agent: 3.6.2 - Folder got not sychronized, even when enabling "always keep on this device"

image

Double-checked on another computer, where virtual agent is not active. Result: all files from related directory are there.

Steps to reproduce

  1. Virtual Files is ACTIVE 1.1 Also the Desktop Agent shows, that folder "export_1" has got content (=files in it - 23MB under UP000000-Folder structure)

image

  1. Enable "always keep on this device" on folder
  2. Go to windows explorer - folder is empty
  3. Go to the Nextcloud WEB Page: folder is there, and files (23MB) are in the folder
  4. Go to another computer without virtual agent active: folder is there, files are there (in the folder)
  5. Check if relevant folder is hidden: no
  6. Check if show hidden files is active: yes, but folder still shows no files in it
  7. Nextcloud Desktop Agent shows the "green" flag - that means - all is ok (locally downloaded) - but it isn't.

Expected behavior

Nextcloud virtual agent should work as expected. By clicking a file or folder download should happen (this is functional for some other directories and files) By enabling "keep this folder/file on local device" - the files should be properly downloaded to the local computer.

Which files are affected by this bug

folder: Export_1

Operating system

Windows

Which version of the operating system you are running.

Windows 11 Home

Package

Other

Nextcloud Server version

24.0.7

Nextcloud Desktop Client version

3.6.2

Is this bug present after an update or on a fresh install?

Updated from a minor version (ex. 3.4.2 to 3.4.4)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

Nextcloud Server logs

2022-11-25 13:14:50:293 [ info nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:362 ]:  Received SocketAPI message <-- "GET_STRINGS:CONTEXT_MENU_TITLE" from QLocalSocket(hidden)
2022-11-25 13:14:50:293 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ]  [ OCC::SocketListener::sendMessage ]:   Sending SocketAPI message --> "GET_STRINGS:BEGIN" to QLocalSocket(hidden)
2022-11-25 13:14:50:293 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ]  [ OCC::SocketListener::sendMessage ]:   Sending SocketAPI message --> "STRING:CONTEXT_MENU_TITLE:Nextcloud" to QLocalSocket(hidden)
2022-11-25 13:14:50:293 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ]  [ OCC::SocketListener::sendMessage ]:   Sending SocketAPI message --> "GET_STRINGS:END" to QLocalSocket(hidden)
2022-11-25 13:14:50:293 [ info nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:362 ]:  Received SocketAPI message <-- "GET_MENU_ITEMS:\\Export_1" from QLocalSocket(hidden)
2022-11-25 13:14:50:293 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ]  [ OCC::SocketListener::sendMessage ]:   Sending SocketAPI message --> "GET_MENU_ITEMS:BEGIN" to QLocalSocket(hidden)
2022-11-25 13:14:50:293 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ]  [ OCC::SqlQuery::bindValue ]:   SQL bind 1 hidden bind
2022-11-25 13:14:50:293 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\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,   lock, lockOwnerDisplayName, lockOwnerId, lockType, lockOwnerEditor, lockTime, lockTimeout  FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1"
2022-11-25 13:14:50:293 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ]  [ OCC::SqlQuery::bindValue ]:   SQL bind 1 hidden bind
2022-11-25 13:14:50:293 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\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,   lock, lockOwnerDisplayName, lockOwnerId, lockType, lockOwnerEditor, lockTime, lockTimeout  FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1"
2022-11-25 13:14:50:293 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ]  [ OCC::SqlQuery::bindValue ]:   SQL bind 1 hidden bind
2022-11-25 13:14:50:293 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\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,   lock, lockOwnerDisplayName, lockOwnerId, lockType, lockOwnerEditor, lockTime, lockTimeout  FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1"
2022-11-25 13:14:50:293 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ]  [ OCC::SqlQuery::bindValue ]:   SQL bind 1 hidden bind
2022-11-25 13:14:50:293 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\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,   lock, lockOwnerDisplayName, lockOwnerId, lockType, lockOwnerEditor, lockTime, lockTimeout  FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1"
2022-11-25 13:14:50:293 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ]  [ OCC::SocketListener::sendMessage ]:   Sending SocketAPI message --> "MENU_ITEM:OPEN_PRIVATE_LINK::Im Browser öffnen" to QLocalSocket(hidden)
2022-11-25 13:14:50:293 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\common/ownsql.h:145 ]  [ OCC::SqlQuery::bindValue ]:   SQL bind 1 hidden bind
2022-11-25 13:14:50:293 [ debug nextcloud.sync.database.sql C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\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,   lock, lockOwnerDisplayName, lockOwnerId, lockType, lockOwnerEditor, lockTime, lockTimeout  FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1"
2022-11-25 13:14:50:293 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ]  [ OCC::SocketListener::sendMessage ]:   Sending SocketAPI message --> "MENU_ITEM:SHARE::Freigabeoptionen" to QLocalSocket(hidden)
2022-11-25 13:14:50:293 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ]  [ OCC::SocketListener::sendMessage ]:   Sending SocketAPI message --> "MENU_ITEM:COPY_PUBLIC_LINK::Öffentlichen Link kopieren" to QLocalSocket(hidden)
2022-11-25 13:14:50:293 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ]  [ OCC::SocketListener::sendMessage ]:   Sending SocketAPI message --> "MENU_ITEM:COPY_PRIVATE_LINK::Internen Link kopieren" to QLocalSocket(hidden)
2022-11-25 13:14:50:293 [ debug nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:205 ]  [ OCC::SocketListener::sendMessage ]:   Sending SocketAPI message --> "GET_MENU_ITEMS:END" to QLocalSocket(hidden)
2022-11-25 13:14:50:349 [ info nextcloud.gui.socketapi C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\socketapi\socketapi.cpp:331 ]:  Lost connection  QLocalSocket(hidden)
2022-11-25 13:14:51:951 [ debug nextcloud.gui.folderwatcher C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\folderwatcher_win.cpp:160 ]    [ OCC::WatcherThread::watchChanges ]:   Skipping syncing of "//Export_1"
2022-11-25 13:15:02:175 [ info nextcloud.gui.folder.manager C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\folderman.cpp:881 ]:   Etag poll timer timeout
2022-11-25 13:15:02:175 [ info nextcloud.gui.folder.manager C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\folderman.cpp:885 ]:   Folders to sync: 1
2022-11-25 13:15:02:175 [ info nextcloud.gui.folder.manager C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\folderman.cpp:895 ]:   Number of folders that don't use push notifications: 1
2022-11-25 13:15:02:175 [ info nextcloud.gui.folder.manager C:\Users\sysadmin\AppData\Local\Temp\2\windows-12296\client-building\desktop\src\gui\folderman.cpp:912 ]:   Run etag job on folder OCC::Folder(hidden)

Additional info

No response

AndrewBucklin commented 1 year ago

Same issue. Did you figure this out?

EDIT: For my user (running Windows 11 22H2), I temporarily disabled virtual file support and then quickly re-enabled it. Nextcloud then went and reindexed all 33,558 files and it's working fine now. The last round of Windows Updates were installed on 12/21/2022, including the 22H2 feature update as well as KB5021255 and KB5020880). I configured it with the user and the timing seems to match up with the feature update to 22H2.

Githopp192 commented 1 year ago

Upgraded to NC Windows Agent 3.6.6.

Same Problem :

image

Directory "Export_1" shows no content - but content with sub-folders do exist.

Since this issue is not fixed since month, i think, there are more urgent issues to fix from Nextcloud.

My Environment:

Windows 11 HOME, 22H2, Build: 22621.1194 Server-NC Version: 24.0.8