[Bug]: Renaming subfolders in E2EE-encrypted folders fails and may result in E2EE metadata corruption unless Virtual File Support is disabled
⚠️ Before submitting, please verify the following: ⚠️
- [x] This is a bug, not a question or a configuration issue.
- [x] This issue is not already reported on Github (I've searched it).
- [x] Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- [x] I agree to follow Nextcloud's Code of Conduct
Bug description
Hello everyone,
Virtual File Support is enabled by default. Renaming subfolders within E2EE-encrypted folders fails to work as expected. The problem often occurs when multiple operations—such as renaming, syncing, or adding files are performed in quick succession. These actions can disrupt the encryption metadata, potentially leading to corruption or complete failure of the E2EE feature.
Note: In some cases, simply renaming the encrypted folder can help restore it to a less severe state (syncing other files resumes) .
I did not notice the issue when Virtual File Support is disabled
Steps to reproduce
- Enable E2EE and create encrypted folder
- Create a subfolder within the newly created encrypted folder
- Allow deskop client to sync the new folder
- Rename the subfolder to any new name
- You can see that renaming fails and old name persists
Now, repeat the above steps, but this time add files within the subfolder before renaming it. After performing a few sync operations and renames, you will notice that the client fails to sync and e2ee becomes corrupted.
Expected behavior
- Rename files at the encrypted folder top level (works)
- Rename files within subfolders (works)
- Rename subfolders (now fails)
- Rename the encryted folder itself (now fails)
Which files are affected by this bug
nextcloud.log
Operating system
Windows
Which version of the operating system you are running.
Windows 10
Package
Official Linux AppImage
Nextcloud Server version
master
Nextcloud Desktop Client version
3.15.2
Is this bug present after an update or on a fresh install?
Fresh desktop client install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
- [x] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Nextcloud Server logs
{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":200,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\Controller\\MetaDataController","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/Route/Router.php","line":306,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/root/nc/server-master/ocs/v1.php","line":49,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/root/nc/server-master/ocs/v2.php","line":7,"args":["/root/nc/server-master/ocs/v1.php"],"function":"require_once"}],"File":"/root/nc/server-master/lib/private/Files/Node/File.php","Line":35,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"pou5f31Q3HdGQtqDg8KO","level":3,"time":"2024-12-17T21:26:21+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/595?format=json","message":"file_get_contents(/root/nc/server-master/data/appdata_3f41rgocgx8l/end_to_end_encryption/meta-data/595/meta.data): Failed to open stream: No such file or directory at /root/nc/server-master/lib/private/Files/Storage/Local.php#294","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"app":"PHP"}}
{"reqId":"pou5f31Q3HdGQtqDg8KO","level":3,"time":"2024-12-17T21:26:21+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"end_to_end_encryption","method":"GET","url":"/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/595?format=json","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/root/nc/server-master/lib/private/Files/SimpleFS/SimpleFile.php","line":55,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/root/nc/server-master/apps/end_to_end_encryption/lib/MetaDataStorage.php","line":60,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/root/nc/server-master/apps/end_to_end_encryption/lib/Controller/MetaDataController.php","line":71,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\MetaDataStorage","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":200,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\Controller\\MetaDataController","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/Route/Router.php","line":306,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/root/nc/server-master/ocs/v1.php","line":49,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/root/nc/server-master/ocs/v2.php","line":7,"args":["/root/nc/server-master/ocs/v1.php"],"function":"require_once"}],"File":"/root/nc/server-master/lib/private/Files/Node/File.php","Line":35,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"W4ZLTbcFADu14oiZktaF","level":3,"time":"2024-12-17T21:26:21+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/595?format=json","message":"file_get_contents(/root/nc/server-master/data/appdata_3f41rgocgx8l/end_to_end_encryption/meta-data/595/meta.data): Failed to open stream: No such file or directory at /root/nc/server-master/lib/private/Files/Storage/Local.php#294","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"app":"PHP"}}
{"reqId":"W4ZLTbcFADu14oiZktaF","level":3,"time":"2024-12-17T21:26:21+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"end_to_end_encryption","method":"GET","url":"/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/595?format=json","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/root/nc/server-master/lib/private/Files/SimpleFS/SimpleFile.php","line":55,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/root/nc/server-master/apps/end_to_end_encryption/lib/MetaDataStorage.php","line":60,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/root/nc/server-master/apps/end_to_end_encryption/lib/Controller/MetaDataController.php","line":71,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\MetaDataStorage","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":200,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\Controller\\MetaDataController","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/Route/Router.php","line":306,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/root/nc/server-master/ocs/v1.php","line":49,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/root/nc/server-master/ocs/v2.php","line":7,"args":["/root/nc/server-master/ocs/v1.php"],"function":"require_once"}],"File":"/root/nc/server-master/lib/private/Files/Node/File.php","Line":35,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"xPX8nfc1G5yFxWrkPqcr","level":3,"time":"2024-12-17T21:26:22+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/595?format=json","message":"file_get_contents(/root/nc/server-master/data/appdata_3f41rgocgx8l/end_to_end_encryption/meta-data/595/meta.data): Failed to open stream: No such file or directory at /root/nc/server-master/lib/private/Files/Storage/Local.php#294","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"app":"PHP"}}
{"reqId":"xPX8nfc1G5yFxWrkPqcr","level":3,"time":"2024-12-17T21:26:22+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"end_to_end_encryption","method":"GET","url":"/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/595?format=json","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/root/nc/server-master/lib/private/Files/SimpleFS/SimpleFile.php","line":55,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/root/nc/server-master/apps/end_to_end_encryption/lib/MetaDataStorage.php","line":60,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/root/nc/server-master/apps/end_to_end_encryption/lib/Controller/MetaDataController.php","line":71,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\MetaDataStorage","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":200,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\Controller\\MetaDataController","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/Route/Router.php","line":306,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/root/nc/server-master/ocs/v1.php","line":49,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/root/nc/server-master/ocs/v2.php","line":7,"args":["/root/nc/server-master/ocs/v1.php"],"function":"require_once"}],"File":"/root/nc/server-master/lib/private/Files/Node/File.php","Line":35,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"EWGEvBCe45bTO1TuDMlL","level":3,"time":"2024-12-17T21:26:33+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/595?format=json","message":"file_get_contents(/root/nc/server-master/data/appdata_3f41rgocgx8l/end_to_end_encryption/meta-data/595/meta.data): Failed to open stream: No such file or directory at /root/nc/server-master/lib/private/Files/Storage/Local.php#294","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"app":"PHP"}}
{"reqId":"EWGEvBCe45bTO1TuDMlL","level":3,"time":"2024-12-17T21:26:33+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"end_to_end_encryption","method":"GET","url":"/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/595?format=json","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/root/nc/server-master/lib/private/Files/SimpleFS/SimpleFile.php","line":55,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/root/nc/server-master/apps/end_to_end_encryption/lib/MetaDataStorage.php","line":60,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/root/nc/server-master/apps/end_to_end_encryption/lib/Controller/MetaDataController.php","line":71,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\MetaDataStorage","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":200,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\Controller\\MetaDataController","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/Route/Router.php","line":306,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/root/nc/server-master/ocs/v1.php","line":49,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/root/nc/server-master/ocs/v2.php","line":7,"args":["/root/nc/server-master/ocs/v1.php"],"function":"require_once"}],"File":"/root/nc/server-master/lib/private/Files/Node/File.php","Line":35,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"Ps2KPSdhi5PXhey9wArP","level":3,"time":"2024-12-17T21:26:33+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/643?format=json","message":"file_get_contents(/root/nc/server-master/data/appdata_3f41rgocgx8l/end_to_end_encryption/meta-data/643/meta.data): Failed to open stream: No such file or directory at /root/nc/server-master/lib/private/Files/Storage/Local.php#294","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"app":"PHP"}}
{"reqId":"Ps2KPSdhi5PXhey9wArP","level":3,"time":"2024-12-17T21:26:33+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"end_to_end_encryption","method":"GET","url":"/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/643?format=json","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/root/nc/server-master/lib/private/Files/SimpleFS/SimpleFile.php","line":55,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/root/nc/server-master/apps/end_to_end_encryption/lib/MetaDataStorage.php","line":60,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/root/nc/server-master/apps/end_to_end_encryption/lib/Controller/MetaDataController.php","line":71,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\MetaDataStorage","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":200,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\Controller\\MetaDataController","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/Route/Router.php","line":306,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/root/nc/server-master/ocs/v1.php","line":49,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/root/nc/server-master/ocs/v2.php","line":7,"args":["/root/nc/server-master/ocs/v1.php"],"function":"require_once"}],"File":"/root/nc/server-master/lib/private/Files/Node/File.php","Line":35,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"1PoclJju0A9osSQwM9uD","level":3,"time":"2024-12-17T21:26:33+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/595?format=json","message":"file_get_contents(/root/nc/server-master/data/appdata_3f41rgocgx8l/end_to_end_encryption/meta-data/595/meta.data): Failed to open stream: No such file or directory at /root/nc/server-master/lib/private/Files/Storage/Local.php#294","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"app":"PHP"}}
{"reqId":"1PoclJju0A9osSQwM9uD","level":3,"time":"2024-12-17T21:26:33+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"end_to_end_encryption","method":"GET","url":"/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/595?format=json","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/root/nc/server-master/lib/private/Files/SimpleFS/SimpleFile.php","line":55,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/root/nc/server-master/apps/end_to_end_encryption/lib/MetaDataStorage.php","line":60,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/root/nc/server-master/apps/end_to_end_encryption/lib/Controller/MetaDataController.php","line":71,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\MetaDataStorage","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":200,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\Controller\\MetaDataController","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/Route/Router.php","line":306,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/root/nc/server-master/ocs/v1.php","line":49,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/root/nc/server-master/ocs/v2.php","line":7,"args":["/root/nc/server-master/ocs/v1.php"],"function":"require_once"}],"File":"/root/nc/server-master/lib/private/Files/Node/File.php","Line":35,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"bR44mv2sI5Y2GQA1OuHg","level":3,"time":"2024-12-17T21:26:33+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/595?format=json","message":"file_get_contents(/root/nc/server-master/data/appdata_3f41rgocgx8l/end_to_end_encryption/meta-data/595/meta.data): Failed to open stream: No such file or directory at /root/nc/server-master/lib/private/Files/Storage/Local.php#294","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"app":"PHP"}}
{"reqId":"bR44mv2sI5Y2GQA1OuHg","level":3,"time":"2024-12-17T21:26:33+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"end_to_end_encryption","method":"GET","url":"/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/595?format=json","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/root/nc/server-master/lib/private/Files/SimpleFS/SimpleFile.php","line":55,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/root/nc/server-master/apps/end_to_end_encryption/lib/MetaDataStorage.php","line":60,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/root/nc/server-master/apps/end_to_end_encryption/lib/Controller/MetaDataController.php","line":71,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\MetaDataStorage","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":200,"function":"getMetaData","class":"OCA\\EndToEndEncryption\\Controller\\MetaDataController","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/root/nc/server-master/lib/private/Route/Router.php","line":306,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/root/nc/server-master/ocs/v1.php","line":49,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/root/nc/server-master/ocs/v2.php","line":7,"args":["/root/nc/server-master/ocs/v1.php"],"function":"require_once"}],"File":"/root/nc/server-master/lib/private/Files/Node/File.php","Line":35,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"RJBeYKewBqWpBoNYPeua","level":3,"time":"2024-12-17T21:30:24+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"PHP","method":"POST","url":"/remote.php/dav/bulk","message":"file_put_contents(/root/nc/server-master/data/admin/files/e2ee/s/aerial_view-wallpaper-3840x2160.jpg): Failed to open stream: No such file or directory at /root/nc/server-master/lib/private/Files/Storage/Local.php#302","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"app":"PHP"}}
{"reqId":"RJBeYKewBqWpBoNYPeua","level":3,"time":"2024-12-17T21:30:24+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"no app in context","method":"POST","url":"/remote.php/dav/bulk","message":"Could not create path \"/admin/files/e2ee/s/aerial_view-wallpaper-3840x2160.jpg\"","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"path":"/e2ee/s/aerial_view-wallpaper-3840x2160.jpg"}}
{"reqId":"RJBeYKewBqWpBoNYPeua","level":3,"time":"2024-12-17T21:30:24+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"PHP","method":"POST","url":"/remote.php/dav/bulk","message":"file_put_contents(/root/nc/server-master/data/admin/files/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440 (1).jpg): Failed to open stream: No such file or directory at /root/nc/server-master/lib/private/Files/Storage/Local.php#302","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"app":"PHP"}}
{"reqId":"RJBeYKewBqWpBoNYPeua","level":3,"time":"2024-12-17T21:30:24+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"no app in context","method":"POST","url":"/remote.php/dav/bulk","message":"Could not create path \"/admin/files/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440 (1).jpg\"","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"path":"/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440 (1).jpg"}}
{"reqId":"RJBeYKewBqWpBoNYPeua","level":3,"time":"2024-12-17T21:30:24+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"PHP","method":"POST","url":"/remote.php/dav/bulk","message":"file_put_contents(/root/nc/server-master/data/admin/files/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440.jpg): Failed to open stream: No such file or directory at /root/nc/server-master/lib/private/Files/Storage/Local.php#302","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"app":"PHP"}}
{"reqId":"RJBeYKewBqWpBoNYPeua","level":3,"time":"2024-12-17T21:30:24+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"no app in context","method":"POST","url":"/remote.php/dav/bulk","message":"Could not create path \"/admin/files/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440.jpg\"","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"path":"/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440.jpg"}}
{"reqId":"qd4cqJ5EYfOHajM7FN1h","level":3,"time":"2024-12-17T21:30:43+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"PHP","method":"POST","url":"/remote.php/dav/bulk","message":"file_put_contents(/root/nc/server-master/data/admin/files/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440 (1).jpg): Failed to open stream: No such file or directory at /root/nc/server-master/lib/private/Files/Storage/Local.php#302","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"app":"PHP"}}
{"reqId":"qd4cqJ5EYfOHajM7FN1h","level":3,"time":"2024-12-17T21:30:43+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"no app in context","method":"POST","url":"/remote.php/dav/bulk","message":"Could not create path \"/admin/files/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440 (1).jpg\"","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"path":"/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440 (1).jpg"}}
{"reqId":"SEAFCXBQPowwg2T4VdG8","level":3,"time":"2024-12-17T21:31:44+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"PHP","method":"POST","url":"/remote.php/dav/bulk","message":"file_put_contents(/root/nc/server-master/data/admin/files/e2ee/s/aerial_view-wallpaper-3840x2160.jpg): Failed to open stream: No such file or directory at /root/nc/server-master/lib/private/Files/Storage/Local.php#302","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"app":"PHP"}}
{"reqId":"SEAFCXBQPowwg2T4VdG8","level":3,"time":"2024-12-17T21:31:44+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"no app in context","method":"POST","url":"/remote.php/dav/bulk","message":"Could not create path \"/admin/files/e2ee/s/aerial_view-wallpaper-3840x2160.jpg\"","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"path":"/e2ee/s/aerial_view-wallpaper-3840x2160.jpg"}}
{"reqId":"SEAFCXBQPowwg2T4VdG8","level":3,"time":"2024-12-17T21:31:44+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"PHP","method":"POST","url":"/remote.php/dav/bulk","message":"file_put_contents(/root/nc/server-master/data/admin/files/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440 (1).jpg): Failed to open stream: No such file or directory at /root/nc/server-master/lib/private/Files/Storage/Local.php#302","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"app":"PHP"}}
{"reqId":"SEAFCXBQPowwg2T4VdG8","level":3,"time":"2024-12-17T21:31:44+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"no app in context","method":"POST","url":"/remote.php/dav/bulk","message":"Could not create path \"/admin/files/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440 (1).jpg\"","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"path":"/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440 (1).jpg"}}
{"reqId":"SEAFCXBQPowwg2T4VdG8","level":3,"time":"2024-12-17T21:31:44+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"PHP","method":"POST","url":"/remote.php/dav/bulk","message":"file_put_contents(/root/nc/server-master/data/admin/files/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440.jpg): Failed to open stream: No such file or directory at /root/nc/server-master/lib/private/Files/Storage/Local.php#302","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"app":"PHP"}}
{"reqId":"SEAFCXBQPowwg2T4VdG8","level":3,"time":"2024-12-17T21:31:44+00:00","remoteAddr":"192.168.68.56","user":"admin","app":"no app in context","method":"POST","url":"/remote.php/dav/bulk","message":"Could not create path \"/admin/files/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440.jpg\"","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.2 (build 20241216) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.0.6","data":{"path":"/e2ee/s/aerial_view_sand_sea_maldives_islands-wallpaper-3440x1440.jpg"}}
Additional info
No response
Update 1: Even after disabling VFS; Multiple renaming, moving files & folders arround, sharing with others within encrypted folders cause data loss. E2EE is unreliable in my opinion.
Client logs
2024-12-19 03:10:42:321 [ info nextcloud.sync.networkjob.lscol C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\networkjobs.cpp:386 ]: LSCOL of QUrl("https://192.168.68.64:8002/remote.php/dav/files/admin/admin_encrypted") FINISHED WITH STATUS "OK"
2024-12-19 03:10:42:322 [ info nextcloud.sync.networkjob.clientsideencrypt C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\clientsideencryptionjobs.cpp:55 ]: Requesting the metadata for the fileId "3322" as encrypted
2024-12-19 03:10:42:322 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\accessmanager.cpp:67 ]: 2 "" "https://192.168.68.64:8002/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/3322?format=json" has X-Request-ID "fc57ab87-ff42-45b9-8e7b-37e268400557"
2024-12-19 03:10:42:322 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\abstractnetworkjob.cpp:365 ]: OCC::GetMetadataApiJob created for "https://192.168.68.64" + "ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/3322" ""
2024-12-19 03:10:42:352 [ info nextcloud.sync.credentials.webflow C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\creds\webflowcredentials.cpp:405 ]: request finished
2024-12-19 03:10:42:352 [ info nextcloud.sync.networkjob.clientsideencrypt C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\clientsideencryptionjobs.cpp:74 ]: metadata received for file id "3322" "{\"ocs\":{\"data\":{\"meta-data\":\"{\\n \\\"metadata\\\": {\\n \\\"authenticationTag\\\": \\\"vavfsGAzEXFqN3HK+cgocQ==\\\",\\n \\\"ciphertext\\\": \\\"mzGdUkqQ59Dab5fkGRiI+m+v8enN+fUaUpPc4896y1P+wMdrhKyii4vZ9MX+felh9N36d6eg/buC2dy671yN1fq93VXaR+EFYV0tbFkW/5OXIi4IvVaJnHWeXsqqtt76m/By+Y1xrMyZtwctzFTHDgOszPo8FWQxF3GVZdQ8MswSfR7P4qsyD5NIkpJxJ15yU7a1CFtmQjZhBE1Cxm9q9+wYDMRcWo3ccr5yChx|UpE2XGnnA6NeK5DuynKcEw==\\\",\\n \\\"nonce\\\": \\\"UpE2XGnnA6NeK5DuynKcEw==\\\"\\n },\\n \\\"users\\\": [\\n {\\n \\\"certificate\\\": \\\"-----BEGIN CERTIFICATE-----\\\\nMIIDkjCCAnqgAwIBAgIBADANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJERTEb\\\\nMBkGA1UECAwSQmFkZW4tV3VlcnR0ZW1iZXJnMRIwEAYDVQQHDAlTdHV0dGdhcnQx\\\\nEjAQBgNVBAoMCU5leHRjbG91ZDEOMAwGA1UEAwwFYWRtaW4wHhcNMjQxMjE3MjEx\\\\nNjA1WhcNNDQxMjEyMjExNjA1WjBiMQswCQYDVQQGEwJERTEbMBkGA1UECAwSQmFk\\\\nZW4tV3VlcnR0ZW1iZXJnMRIwEAYDVQQHDAlTdHV0dGdhcnQxEjAQBgNVBAoMCU5l\\\\neHRjbG91ZDEOMAwGA1UEAwwFYWRtaW4wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw\\\\nggEKAoIBAQDsD5UjgeDCcgi+cMmjUn1iLPTL8RRMMBRf9EGTaO7Sq7FOGRT4m+28\\\\ngDeaHRIeXIgeyo34c/3cRKLqUfbEsnjN/0cnEMJsCH8XO7Yfbq7gzWU1Ge2\\\\nSzW+neYMqJfP/LfIoakQeSUytOj3hyFGCdP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IBAQAYWA3tQ2z2RBRw\\\\ne1ID9+2F8v24CaOXdgToNY8fySoqenpsOn6UyvZb++uM96M0Pl6EvqncEoVamx0v\\\\n70QkzO/fdcq4CYah04i87BSn4+SUBZkbpVTMkk/OTVxlNtL/Nf0TiP0mU\\\\nZGCULrSiuZ5BA23VxKcTfHUednGJUkLKFvGQqbbzTOITq2HJXaakftrebSTr4Tml\\\\ngIvlRY/9Qnz5XSqn7srBbQOkPKEVyFqjb1hwlrDW8RnKJjDhd/cxq8WICbfWMzl0\\\\nMkwaonlpOjIRsQ3FxPeomkHYI0kcTqTTs0L1xixR5AOqrDZyvIDp7i3U/AIg6x8F\\\\nu7hUqgIc\\\\n-----END CERTIFICATE-----\\\\n\\\",\\n \\\"encryptedMetadataKey\\\": \\\"iNlil93Dk8MVUmJ3KKaATIoH9A/USkbDKNIgxobhruIzyU+C/RV6TCiQ4by4p2e9wh+KrRSaAHcGIT/J8iOoDWchoGxWIbYkucGN9/tVNykmcJVVrgMykhtT1HsdWhbmmKqxcKhzDIrqI9V/3Q5r8v0GDdKbur5co0c5nhzHhV1Wjy0tcjabsA4jzW3K/usWenPGHDtd5orANEx8Q7UxwUeIjBrmxKXI8Hnn7mue614n1nNRr9p9gQYV6SOgVpr1hNvhqism/wQ5SiuslwKD0rBC4Ycjxy+VwCpggSPcPAZzfCWbE2Hq7GgnEPlRPr81RV5hYjyC6Ri0FaKEd67AIw==\\\",\\n \\\"userId\\\": \\\"user1\\\"\\n }\\n ],\\n \\\"version\\\": \\\"2.0\\\"\\n}\\n\"},\"meta\":{\"message\":\"OK\",\"status\":\"ok\",\"statuscode\":200}}}"
2024-12-19 03:10:42:353 [ info nextcloud.metadata C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\foldermetadata.cpp:93 ]: "{\"ocs\":{\"data\":{\"meta-data\":\"{\\n \\\"metadata\\\": {\\n \\\"authenticationTag\\\": \\\"vavfsGAzEXFqN3HK+cgocQ==\\\",\\n \\\"ciphertext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53BZUvah04i87BSn4+SUBZkbpVTMkk/OTVxlNtL/Nf0TiP0mU\\\\nZGCULrSiuZ5BA23VxKcTfHUednGJUkLKFvGQqbbzTOITq2HJXaakftrebSTr4Tml\\\\ngIvlRY/9Qnz5XSqn7srBbQOkPKEVyFqjb1hwlrDW8RnKJjDhd/cxq8WICbfWMzl0\\\\nMkwaonlpOjIRsQ3FxPeomkHYI0kcTqTTs0L1xixR5AOqrDZyvIDp7i3U/AIg6x8F\\\\nu7hUqgIc\\\\n-----END CERTIFICATE-----\\\\n\\\",\\n \\\"encryptedMetadataKey\\\": \\\"iNlil93Dk8MVUmJ3KKaATIoH9A/USkbDKNIgxobhruIzyU+C/RV6TCiQ4by4p2e9wh+KrRSaAHcGIT/J8iOoDWchoGxWIbYkucGN9/tVNykmcJVVrgMykhtT1HsdWhbmmKqxcKhzDIrqI9V/3Q5r5co0c5nhzHhV1Wjy0tcjabsA4jzW3K/usWenPGHDtd5orANEx8Q7UxwUeIjBrmxKXI8Hnn7mue614n1nNRr9p9gQYV6SOgVpr1hNvhqism/wQ5SiuslwKD0rBC4Ycjxy+VwCpggSPcPAZzfCWbE2Hq7GgnEPlRPr81RV5hYjyC6Ri0FaKEd67AIw==\\\",\\n \\\"userId\\\": \\\"user1\\\"\\n }\\n ],\\n \\\"version\\\": \\\"2.0\\\"\\n}\\n\"},\"meta\":{\"message\":\"OK\",\"status\":\"ok\",\"statuscode\":200}}}"
2024-12-19 03:10:42:353 [ info nextcloud.metadata C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\foldermetadata.cpp:111 ]: Setting up existing metadata
2024-12-19 03:10:42:354 [ info nextcloud.e2e C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\clientsideencryption.cpp:660 ]: Start to work the decryption.
2024-12-19 03:10:42:354 [ info nextcloud.e2e C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\clientsideencryption.cpp:700 ]: Size of output is: 256
2024-12-19 03:10:42:354 [ info nextcloud.e2e C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\clientsideencryption.cpp:701 ]: Size of data is: 256
2024-12-19 03:10:42:355 [ critical nextcloud.e2e C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\clientsideencryption.cpp:708 ]: Could not decrypt the data. "2C370000:error:02000079:rsa routines:RSA_padding_check_PKCS1_OAEP_mgf1:oaep decoding error:..\\openssl-3.3.1\\crypto\\rsa\\rsa_oaep.c:308:\n"
2024-12-19 03:10:42:355 [ warning nextcloud.metadata C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\foldermetadata.cpp:115 ]: Failed to setup FolderMetadata. Could not parse/create metadataKey!
2024-12-19 03:10:42:356 [ info nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\discovery.cpp:2097 ]: serverJob has finished for folder: "admin_encrypted" and it has _isFileDropDetected: false
2024-12-19 03:10:42:356 [ warning nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\discovery.cpp:2110 ]: Server error in directory "admin_encrypted" 0
2024-12-19 03:10:42:356 [ warning nextcloud.gui.activity C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\tray\usermodel.cpp:640 ]: Item "Nextcloud4" retrieved resulted in "Server replied with an error while reading directory \"admin_encrypted\" : Encrypted metadata setup error!"
2024-12-19 03:10:42:356 [ info nextcloud.sync.engine C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\syncengine.cpp:909 ]: Sync run took 129 ms
2024-12-19 03:10:42:366 [ info nextcloud.gui.folderwatcher C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\folderwatcher.cpp:252 ]: Detected changes in paths: QSet("C:/Users/fisal/Nextcloud4/.sync_894a10bc2e49.db-wal")
2024-12-19 03:10:42:367 [ info nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\folder.cpp:1212 ]: Client version 3.15.2 (build 20241216) Qt 6.7.2 SSL OpenSSL 3.3.1 4 Jun 2024
2024-12-19 03:10:42:367 [ warning nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\folder.cpp:1219 ]: SyncEngine finished with ERROR
2024-12-19 03:10:42:367 [ info nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\folder.cpp:432 ]: Folder "" sync result: OCC::SyncResult::SyncPrepare
2024-12-19 03:10:42:367 [ info nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\folder.cpp:1248 ]: the last 1 syncs failed
2024-12-19 03:10:42:367 [ info nextcloud.gui.application C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\owncloudgui.cpp:251 ]: Sync state changed for folder "https://192.168.68.64:8002/remote.php/dav/files/admin/" : "Error"
I ran into the same or a similar issue. I had disable end-to-end encryption and reset the keys to get end-to-end encryption working again. The issue got triggered after deleting a single file in an end-to-end encrypted folder. Unfortunately, I didn’t find this Github issue until after I had reset everything.