-
Notifications
You must be signed in to change notification settings - Fork 817
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]: 3.12.3 Cannot sync E2EE files. Encrypted metadata setup error! #6722
Comments
[NC Client 3.13.0 not recognizing file renaming in Windows!!!!!!!! The same problem described here NC Client 3.12.0 not recognizing file renaming in Windows 3 has been reintroduced in the Nextcloud-3.13.0-x64 version. I have reverted to Nextcloud-3.12.3-x64 version and it works correctly again. |
Can confirm the issue is effecting 3.13.0 again. Just like toniQva, reverting to 3.12.3 did alleviate the issue, though I did have to clear and redo the private key then reupload. Also NC pushes to upgrade now. OP said 3.12.3 was the problem but that wasn't my experience. |
Is there any additional information you need from me on this? Not being able to sync with my server is getting annoying. |
Idk, but they quietly continued patching the 3.12 branch in the background and it's now 3.12.5 on github. I would just switch to that. |
Just tried 3.12.5 and still getting the same error. |
I had to copy out all the unencrypted private data. Go into the user's security prefrences and remove the encrypted keys. Then redo the whole thing from scratch. For me it worked on the 3.12 branch, 3.13 just went back to the situation. |
For some reason, all my E2EE files are showing as encrypted on my computer so nothing is decrypted. |
oh no... do you have a backup of the unencrypted data? |
Maybe? |
There is some information here on how to decrypt, but honestly I think its better to keep a backup of the files unencrypted just in case. (or at least encrypted via other means, eg restic database) Ive been burned by E2EE before. |
It looks like I have access to that data on my mobile device so I can recreate it from there. I think those instructions are for server-side encryption and not E2EE. |
Ah you may be right... I keep a backup of my unencrypted files by syncing the private folder to restic periodically on the local machine (borg is a good choice too). |
I haven't tried it, yet, but it looks like this might work: https://github.com/nextcloud/encryption-recovery-tools/tree/master/end-to-end-encryption |
Ah that's good that there is an emergency solution. Still I'll try not to need it in the first place. I've said it before, E2EE, while great, is kinda dangerous. It doesn't take much for it to become unhappy and have its internal keys all messed up. |
3.12.3 It's ok 👌 |
I just updated my windows client to 3.13.1 and still got this error. I cant sync because of one folder issue since weeks. |
Did it work? Whats your status right now? |
I get the same error message with 3.13.2 (installed by Debian package 3.13.2-2). Downgrading to 3.11.0 (Debian package 3.11.0-1.1+b1) makes the error disappear. Addendum: Installing the old version completely messed up my encrypted files and folders. I had to restore them from a backup. I therefore advise against downgrading. |
I think I was able to fix this... We will see how it goes. |
Still the same error message with version 3.14.1 (Debian package 3.14.1-1). |
No. These were manual steps I wanted to suggest. I don't know the root cause. |
Could you please share these manual steps? It would potentially help me working around this problem, and maybe will also help others to understand or solve this problem. |
Basically I had to do sync from scratch - I believe this is not the fix for you if your data in synced folders was only on NextCloud and not either in backup or still there in synced folders.
|
I get the same error after upgrading from 3.14.0-1.fc41 to 3.15.3-2.fc41 (Fedora 41). No locks in database, all other client still can access (and decrypt) the encrypted data. |
Same problem with the Windows client version 3.15.3. I downgraded to version 3.14.0 but still see the same error message. |
I solved this by upgrading the server to latest. |
Not for me. Still having this issue with server 30.0.5 and nextcloud-client-0:3.15.3-2.fc41. |
I was running server 24 and windows client 3.8 for several years with no problem, including an E2EE folder, and suddenly the E2EE folder stopped syncing with this error message. I upgraded to latest server 30.0.6 and client 3.15, but still the unencrypted folders would only sync if I detached the E2EE folder. It gave me the error message and wouldn't sync. I don't think this is server side as my android client could still access and download E2EE files from the encrypted folder. Finally I created a new folder on the client, turned on E2EE encryption for the new folder, copied the files over, and now the new encrypted folder is syncing fine. The original one still does not sync and blocks all folder syncing when attached. It seems something in the old E2EE folder configuration got corrupted client side. For any maintainers working on this bug, could you check for client side E2EE config corruption? |
Bug description
In version 3.12.3, I'm not able to sync E2EE files. In fact, right now some of the E2EE files are showing up in their encrypted form on my client. I've verified the encryption mnemonic is the same.
Steps to reproduce
Expected behavior
Files sync as expected.
Which files are affected by this bug
2024-01-26-Eric-Thrift_Savings_Plan_statement.pdf
Operating system
Linux
Which version of the operating system you are running.
Both the packaged version in the Fedora 39 repo and the flatpak version.
Package
Distro package manager
Nextcloud Server version
28.0.5
Nextcloud Desktop Client version
3.12.3
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
Additional info
No response
Uploading nextcloud-client-logs.zip…
The text was updated successfully, but these errors were encountered: