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

[Bug]: E2EE encryption of folder fails with "The folder has a minor sync problem. (...)" #7830

Open
4 of 8 tasks
TheLizLee opened this issue Feb 8, 2025 · 1 comment
Open
4 of 8 tasks

Comments

@TheLizLee
Copy link

TheLizLee commented Feb 8, 2025

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

Bug description

When I try to encrypt (E2EE) a folder in the desktop client via right-clicking it and selecting "Encrypt" in the context menu nothing happens. Instead I only get a pop-up window saying "The folder has a minor sync problem. Encryption of this folder will be possible once it has synced successfully".

The synchronization actually seems to work flawlessly.

The client says that E2EE is activated for the account in the green banner at the top.

The folder I want to encrypt is located in the root folder and is empty.

Steps to reproduce

  1. Right click on the folder on the desktop-client
  2. Select "Encrypt"

Expected behavior

Folder should be encrypted.

Which files are affected by this bug

zzzenctest (folder)

Operating system

Windows

Which version of the operating system you are running.

Windows 11 Pro x64 24H2
Build 26100.3037
Windows Feature Experience Pack 1000.26100.48.0

Nextcloud Server version

Nextcloud Hub 8 (29.0.9)

Nextcloud Desktop Client version

3.15.3

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

I have not tried E2EE before, so I can't say.

Are you using the Nextcloud Server Encryption module?

Server-side encryption is disabled.

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

Unfortunately I cannot provide a logfile of the server, as I do not have access to it.

Additional info

I already unsuccessfully

  • tried resetting the end-to-end encryption settings on the server via the webinterface under "Personal -> Security".
  • de- and reinstalled the end-to-end encryption app on the server. The version of the E2EE app on the server is 1.15.2.
  • forced the synchronization
@TheLizLee
Copy link
Author

TheLizLee commented Feb 8, 2025

Here I stripped down the desktop client log files so that only entries regarding the relevant folder ("zzzenctest") is shown.
(I am aware of that the full logfiles directory would be more helpful, but it contains a lot of personal data in the filenames so I cannot provide that)

`2025-02-08 19:54:28:092 [ info nextcloud.gui.folderwatcher C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\gui\folderwatcher.cpp:252 ]: Detected changes in paths: QSet("D:/user_YS/zzzenctest")

2025-02-08 19:54:30:095 [ info nextcloud.sync.engine C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\syncengine.cpp:1224 ]: paths to discover locally ", Neuer Ordner, zzzenctest"

2025-02-08 19:54:30:208 [ info nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\discovery.cpp:553 ]: "Processing "zzzenctest" | (db/local/remote) | valid: false/true/false | mtime: 0/1739040848/0 | size: 0/0/0 | etag: ""//"" | checksum: ""//"" | perm: ""//"" | fileid: ""//"" | type: CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeDirectory/CSyncEnums::ItemTypeFile | e2ee: false/false | e2eeMangledName: ""/"" | file lock: not locked// | file lock type: ""//"" | live photo: false//false | metadata missing: /false/"

2025-02-08 19:54:30:208 [ info nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\discovery.cpp:1497 ]: Rename detected (up) "Neuer Ordner" -> "zzzenctest"

2025-02-08 19:54:30:211 [ info nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\discovery.cpp:86 ]: STARTING "Neuer Ordner" OCC::ProcessDirectoryJob::ParentNotChanged "zzzenctest" OCC::ProcessDirectoryJob::NormalQuery

2025-02-08 19:54:30:214 [ info nextcloud.sync.statustracker C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\syncfilestatustracker.cpp:239 ]: Investigating "zzzenctest" OCC::SyncFileItem::NoStatus CSyncEnums::CSYNC_INSTRUCTION_RENAME OCC::SyncFileItem::Up

2025-02-08 19:54:30:219 [ info nextcloud.sync.propagator C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\owncloudpropagator.h:221 ]: Starting CSyncEnums::CSYNC_INSTRUCTION_RENAME propagation of "zzzenctest" by OCC::PropagateRemoteMove(0x184fbd04b40)

2025-02-08 19:54:30:219 [ info nextcloud.sync.propagator.remotemove C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\propagateremotemove.cpp:84 ]: "Neuer Ordner" "zzzenctest"

2025-02-08 19:54:30:427 [ info nextcloud.sync.database C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\common\syncjournaldb.cpp:959 ]: Updating file record for path: "zzzenctest" inode: 69609 modtime: 1739040857 type: CSyncEnums::ItemTypeDirectory etag: "67a7a859ce3e5" fileId: "00590886ocmeep720d6f" remotePerm: "DNVCKR" fileSize: 0 checksum: "" e2eMangledName: "" isE2eEncrypted: false lock: false lock owner type: 0 lock owner: "" lock owner id: "" lock editor: "" sharedByMe: false isShared: false lastShareStateFetchedTimestamp: 1739040862015 isLivePhoto false livePhotoFile ""

2025-02-08 19:54:30:427 [ info nextcloud.sync.propagator C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\owncloudpropagator.cpp:290 ]: Completed propagation of "zzzenctest" by OCC::PropagateRemoteMove(0x184fbd04b40) with status OCC::SyncFileItem::Success

2025-02-08 19:54:30:435 [ info nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\filesystem.cpp:438 ]: "D:/user_YS/zzzenctest" will be read write
2025-02-08 19:54:30:435 [ info nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\filesystem.cpp:438 ]: "D:/user_YS/zzzenctest" will be read write
2025-02-08 19:54:30:435 [ info nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\filesystem.cpp:438 ]: "D:/user_YS/zzzenctest" will be read write
2025-02-08 19:54:30:435 [ info nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\filesystem.cpp:438 ]: "D:/user_YS/zzzenctest" will be read write
2025-02-08 19:54:30:435 [ info nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\filesystem.cpp:438 ]: "D:/user_YS/zzzenctest" will be read write
2025-02-08 19:54:30:435 [ info nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\filesystem.cpp:438 ]: "D:/user_YS/zzzenctest" will be read write
2025-02-08 19:54:30:435 [ info nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\filesystem.cpp:438 ]: "D:/user_YS/zzzenctest" will be read write
2025-02-08 19:54:30:435 [ info nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\filesystem.cpp:438 ]: "D:/user_YS/zzzenctest" will be read write
2025-02-08 19:54:30:435 [ info nextcloud.sync.database C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\common\syncjournaldb.cpp:959 ]: Updating file record for path: "zzzenctest" inode: 69609 modtime: 1739040857 type: CSyncEnums::ItemTypeDirectory etag: "67a7a859ce3e5" fileId: "00590886ocmeep720d6f" remotePerm: "DNVCKR" fileSize: 0 checksum: "" e2eMangledName: "" isE2eEncrypted: false lock: false lock owner type: 0 lock owner: "" lock owner id: "" lock editor: "" sharedByMe: false isShared: false lastShareStateFetchedTimestamp: 1739040862015 isLivePhoto false livePhotoFile ""

2025-02-08 19:54:41:280 [ info nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\discovery.cpp:553 ]: "Processing "zzzenctest" | (db/local/remote) | valid: true/db/true | mtime: 1739040857/0/1739040857 | size: 0/0/0 | etag: "67a7a859ce3e5"//"67a7a859ce3e5" | checksum: ""//"" | perm: "DNVCKR"//"DNVCKR" | fileid: "00590886ocmeep720d6f"//"00590886ocmeep720d6f" | type: CSyncEnums::ItemTypeDirectory/CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeDirectory | e2ee: false/false | e2eeMangledName: ""/"" | file lock: not locked//not locked | file lock type: ""//"0" | live photo: false//false | metadata missing: /false/"

2025-02-08 19:54:41:286 [ info nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\discovery.cpp:86 ]: STARTING "zzzenctest" OCC::ProcessDirectoryJob::ParentNotChanged "zzzenctest" OCC::ProcessDirectoryJob::ParentNotChanged

2025-02-08 19:54:56:444 [ info nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\discovery.cpp:553 ]: "Processing "zzzenctest" | (db/local/remote) | valid: true/true/true | mtime: 1739040857/1739040848/1739040857 | size: 0/0/0 | etag: "67a7a859ce3e5"//"67a7a859ce3e5" | checksum: ""//"" | perm: "DNVCKR"//"DNVCKR" | fileid: "00590886ocmeep720d6f"//"00590886ocmeep720d6f" | type: CSyncEnums::ItemTypeDirectory/CSyncEnums::ItemTypeDirectory/CSyncEnums::ItemTypeDirectory | e2ee: false/false | e2eeMangledName: ""/"" | file lock: not locked//not locked | file lock type: ""//"0" | live photo: false//false | metadata missing: /false/"

2025-02-08 19:54:56:756 [ info nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\discovery.cpp:86 ]: STARTING "zzzenctest" OCC::ProcessDirectoryJob::ParentNotChanged "zzzenctest" OCC::ProcessDirectoryJob::NormalQuery

2025-02-08 19:54:58:448 [ info nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\discovery.cpp:553 ]: "Processing "zzzenctest" | (db/local/remote) | valid: true/db/true | mtime: 1739040857/0/1739040857 | size: 0/0/0 | etag: "67a7a859ce3e5"//"67a7a859ce3e5" | checksum: ""//"" | perm: "DNVCKR"//"DNVCKR" | fileid: "00590886ocmeep720d6f"//"00590886ocmeep720d6f" | type: CSyncEnums::ItemTypeDirectory/CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeDirectory | e2ee: false/false | e2eeMangledName: ""/"" | file lock: not locked//not locked | file lock type: ""//"0" | live photo: false//false | metadata missing: /false/"

2025-02-08 19:54:58:464 [ info nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\discovery.cpp:86 ]: STARTING "zzzenctest" OCC::ProcessDirectoryJob::ParentNotChanged "zzzenctest" OCC::ProcessDirectoryJob::ParentNotChanged

2025-02-08 19:54:58:448 [ info nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\discovery.cpp:553 ]: "Processing "zzzenctest" | (db/local/remote) | valid: true/db/true | mtime: 1739040857/0/1739040857 | size: 0/0/0 | etag: "67a7a859ce3e5"//"67a7a859ce3e5" | checksum: ""//"" | perm: "DNVCKR"//"DNVCKR" | fileid: "00590886ocmeep720d6f"//"00590886ocmeep720d6f" | type: CSyncEnums::ItemTypeDirectory/CSyncEnums::ItemTypeSkip/CSyncEnums::ItemTypeDirectory | e2ee: false/false | e2eeMangledName: ""/"" | file lock: not locked//not locked | file lock type: ""//"0" | live photo: false//false | metadata missing: /false/"

2025-02-08 19:54:58:464 [ info nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\discovery.cpp:86 ]: STARTING "zzzenctest" OCC::ProcessDirectoryJob::ParentNotChanged "zzzenctest" OCC::ProcessDirectoryJob::ParentNotChanged
`

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

1 participant