-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Error synching via NextCloud on Android #209
Comments
Which version of the Windows app are you using? There's a bug in older versions which could result in a file being left half uploaded on Nextcloud (which is what happened in your case), but it's normally fixed in recent versions. Also which Nextcloud provider are you using? Is it self-hosted or an existing provider? |
Current Windows app 0.10.61. Fresh updated and resynced, I think the initial import and sync of the enex file was a slightly older but not very old. Can I simply delete the half uploaded md on the server and then resync? |
Ok hopefully it was a bug in the older version and not in the new one, but if happens again please post here. I'm also using Nextcloud sync and haven't seen this bug since I've implemented the fix. Yes if you delete the file 55104b4322bc404c85010079e4821b20.md it will resume the sync. Note that this item will then be deleted from your desktop so keep a copy of it somewhere and manually recreate it. |
OK, I deleted the one md, resynced and the second one was also damaged. I guess I suffer from the old bug, so I will delete all 500 notes and start from scratch :-) |
Sorry, but I cannot make it work.
|
Did you also delete the data in Nextcloud? As this is where the corrupted data is. |
Sorry, forgot to mention. Yes, the folder was completely empty. |
Oh that's right, the item is corrupted at the exact same spot so I thought it was still the same data, but it's indeed a different ID. If you check on Nextcloud, how does the file e1396f3f07b34843910cc6b51f0685b9.md look? Does it end with just "type"? Just to know if it's the data that is corrupted or the app not being able to read it for some reason. |
yes, it ends with "type". But that's not the only note, I found some ending with "type_", some with "type_:", "type_: 1", even "encrypti" |
Ok it seems there's something not right with the Nextcloud installation as it shouldn't be storing half uploaded files. I wonder if it might be linked to the PHP config? What are the values of upload_max_filesize and post_max_size? Actually if you upload a text file to Nextcloud via the UI, does it end up corrupted too? |
PHP 7.1.14 I could increase the values, but the corrupted text files are rather small (1KB). I uploaded one 3.7MB file via Nextcloud GUI, that worked fine and the file was complete. |
OK, I created a small test.enex with only 8 notes and some images I could share with you. This triggers the error. I could also create a Nextcloud account for you if you want to test. |
I've indeed managed to replicate and fix this issue using the test file you provided, so please download the latest version. Thanks for the help debugging this! |
I can confirm that it works now for me. Thanks for fixing this! |
Operating system
Application
I imported a Evernote .enex file on the Windows app using the NextCloud provider. This worked perfectly fine.
I then wanted to sync this to the fresh installed Android app 0.10.86. No single note was synced, I got this error:
Logfile
No encryption is involved.
The text was updated successfully, but these errors were encountered: