Data syncing issues on jailbroken iOS concerning updates 1.0.16/17
After not using Zotero for a while (following Box's discontinuation of its WebDAV service -- this time for good), I decided to make use of the jailbroken iPad I use for reading and figured out a way to locally sync my attachment files with the use of Resilio Sync (and a symlink trick on the iPad).
It all seemed to be working well, until updating to 1.0.17, when the data syncing stopped working. Don't ask me how or why, the file syncing was done with Resilio correctly, it was just the data not synced: e.g. renames of files and removals from certain collections made on the PC did not reflect on the mobile device, despite Zotero data sync being turned on (yes, I was logged in, and waited enough).
So I decided to further make use of the JB state and downgraded back to 1.0.15 and hey presto -- now data is syncing properly as before.
My question:
Are the data syncing hiccups (if you have been aware of those anyway) going to be fixed in the future or I can say goodbye to further updates of the app?
Or is it just me that uses the downloads folder and not using WebDAV or Zotero sync to sync the files? I mean, data still should be syncing and obviously something HAS changed since the last updates.
Cheers
It all seemed to be working well, until updating to 1.0.17, when the data syncing stopped working. Don't ask me how or why, the file syncing was done with Resilio correctly, it was just the data not synced: e.g. renames of files and removals from certain collections made on the PC did not reflect on the mobile device, despite Zotero data sync being turned on (yes, I was logged in, and waited enough).
So I decided to further make use of the JB state and downgraded back to 1.0.15 and hey presto -- now data is syncing properly as before.
My question:
Are the data syncing hiccups (if you have been aware of those anyway) going to be fixed in the future or I can say goodbye to further updates of the app?
Or is it just me that uses the downloads folder and not using WebDAV or Zotero sync to sync the files? I mean, data still should be syncing and obviously something HAS changed since the last updates.
Cheers
Are you getting a sync error? Can you provide a Debug ID for a sync attempt (pulling down on the items list)?
https://www.zotero.org/support/kb/changes_not_syncing
You are, as far as I know, the only person using the iOS app with linked files who has posted here, and that's certainly not something that you'd get support for, but e.g. moving an item to a different collection should, as you say, be purely data syncing and work independent of that
I am not sure Debugging is doable on the iOS side?
I linked to instructions.
Yes, data sync is different from file sync, which is handled separately.
iPad was not restarted, as it would entail needing to re-jailbreak again.
Then, I will be back with you later on.
D574819737
I made some changes on PC (moved item to a different collection), upgraded to 1.0.17 and did the debugging steps; changes, again not reflecting on iOS side.
It seemed to be... as back on 1.0.15 it no longer syncs again.
But the item I moved to a different (`.to-read`) collection a few days ago (I don't remember on which device) is in the proper place on both devices.
I am beginning to think it was a big fluke managing to add my files on the PC side with Folder Import and have not only the files themselves but also the collections complete with items in their proper places to begin with...
One thing is for sure, this setup will not work the way it is now.
Needless to say, though, yours is very much not a supported configuration, so you should not expect help from us for most issues.
https://forum.obsidian.md/t/ios-jb-zotero-local-file-sync-with-resilio-sync-for-free/61421
I've got to admit, as soon as I wrote it on the forum (which I kind of think now I shouldn't have), I had an idea that I could be targeting the wrong folder. That I should be working with a folder where the WebDAV files would be populated. But then I thought if the files need to be zipped (as I still have them on Box), I am not going to zip 3.5k PDF's...
So when you say I should sync with Zotero, you see the files are there and 300MB will run out quickly (the Robin Hood I am, I don't own a bank account anywhere so official sync is out). Granted, the files are linked to under the `custom_my_library` folder, but physically available to sync, because that's the folder the iOS app uses for downloads from Safari.
So it looks like it is how Adam said.
There should be a setting on iPad that bypasses the need for file sync with either Zotero or WebDAV. Which setting obviously will not be a top priority todo on the devs’ shelf, for one guy from the oak tree.
Thanks, peeps anyway
There were two files giving errors (SSL error). They were added separately – probably on iOS – in the last two weeks or so. After deleting those I still have the WebDAV error but at least data sync is back to normal (1.0.17).
Interesting.
Now what I need to find out 1) what was wrong with those PDFs I added separately after the Folder import of 3.6k files 2) whether it is the iOS side addition that no longer works…
So solution: add all files on PC side.
But what’s the difference between a non-functioning WebDAV with credentials given or nothing given? Strange…
Indeed, credentials or no credentials don't seem to make a difference.
Upon further review, I found that after adding a file on the iOS side when synced locally with Resilio, it will appear on the PC, but the icon will be faded as if the file was not really there but clicking it makes it open the PDF anyway.
That wouldn't be a big issue.
The issue is when I e.g. rename the iOS downloaded item on PC, and go back to iOS (having synced with Resilio of course in the meantime), the item is not found:
"Error
Unable to upload attachment: NameofPDF.pdf (UniqueID) Please try removing and re-adding the attachment."
It will throw a WebDAV error and I can go back to (almost) normal if I delete the item in question.
I say almost because I still have the old standby error (which doesn't stop data syncing though):
"Error
Couldn't delete files from your WebDAV server: "The operation couldn't be completed. (Zotero.WebDavError.Verification error 2.)"
- Of course, I know why the error is shown, but as I said, data sync is successful if only this 1 error is shown.
So again, my conclusion is that I need to be careful where to add files and how to proceed with renames as such.
---
Now that we mentioned earlier that my use case is special... I don't think it should be that special because people use Syncthing and Mobius Sync local sync as well but of course, they don't symlink the download folder like me.
For other topics that I found worth mentioning, I will duly open new issues, if I may.
Cheers,
Zan