Two-way sync of PDF annotations in group library
My colleague and me would like to be able not only to share a library and accompanying PDF files, but also to both make annotations in the same PDF file. Unfortunately, this seems to fail repeatedly. Could anyone help us to set this up correctly?
What we did:
1. User1 created a group libary 'TestGroup', with settings:
- Private
- Library reading: any group member
- Library editing: any group members
- File editing: any group members
2. User2 was invited and added as a member (not admin; should we?)
3. Zotero of both users was set to sync group libraries via the Zotero Server
3. User1 created an item in TestGroup and attached a PDF
4. User1 annotated the PDF
5. The item with annotated PDF showed up in Zotero of User2
6. User2 added her own annotations to the PDF and saved it
7. Zotero of User2 now shows the PDF with annotations of both User1 and User2
8. The Group Library at zotero.org also shows the PDF with annotations of both User1 and User2
9. Zotero of User1 shows the PDF with annotations of User1 only (annotations of User2 are missing). Despite restarting Zotero and hitting the sync-button a gazillion times, the PDF is not updated.
Is there a way to make this work?
Note: User2 just exceeded her free 300 MB storage space. We thought that wouldn't matter as the Group Library is owned by User1, but could it affect this syncing process anyways? We're willing to upgrade her account, but only if the two-way-PDF-annotation is successful.
Another note: setting file-synchronization to either 'when necessary' or to 'at time of synchronization' does not change things.
What we did:
1. User1 created a group libary 'TestGroup', with settings:
- Private
- Library reading: any group member
- Library editing: any group members
- File editing: any group members
2. User2 was invited and added as a member (not admin; should we?)
3. Zotero of both users was set to sync group libraries via the Zotero Server
3. User1 created an item in TestGroup and attached a PDF
4. User1 annotated the PDF
5. The item with annotated PDF showed up in Zotero of User2
6. User2 added her own annotations to the PDF and saved it
7. Zotero of User2 now shows the PDF with annotations of both User1 and User2
8. The Group Library at zotero.org also shows the PDF with annotations of both User1 and User2
9. Zotero of User1 shows the PDF with annotations of User1 only (annotations of User2 are missing). Despite restarting Zotero and hitting the sync-button a gazillion times, the PDF is not updated.
Is there a way to make this work?
Note: User2 just exceeded her free 300 MB storage space. We thought that wouldn't matter as the Group Library is owned by User1, but could it affect this syncing process anyways? We're willing to upgrade her account, but only if the two-way-PDF-annotation is successful.
Another note: setting file-synchronization to either 'when necessary' or to 'at time of synchronization' does not change things.
If the file with both annotations uploads to zotero.org, it should sync down to U1 for sure. Run through https://www.zotero.org/support/kb/files_not_syncing
Steps 1-7 of that guide were fine, so I resorted to step 8: reset sync history for the particular folder. Afterwards, I re-synced and saved a debug log (debug ID D1550440708).
During this resync, I got a sync conflict error: it said the file had been change twice (12:17 locally, 13:52 on the server) and allowed me to choose the most recent version. Yay!
This fixed my issue for now... But I only got the conflict window after resetting sync history. In real-life context, I won't always know when my colleague might have edited PDFs. ShouId I reset sync history multiple times a day just to make sure we both have the most recent file? Or would this be a one-time thing?
We'll re-test our annotate-and-sync-sequence with the current file and a new item, but my colleague is currently out of office. :)
Could you just test the workflow a couple of times and see if that works? Otherwise @dstillman would have to take a look.
None did sync to Zotero on U1's computer after repeatedly hitting the sync-button. I then recorded debug logs:
Debug ID D1931697312: regular sync of U1's Zotero, PDFs were not updated.
Debug ID D2093031512: reset sync history of group library "TestgroepNele" in U1's Zotero, sync, conflict-window appeared, PDFs were updated.
Would this help to identify the underlying problem? If something's wrong with my current Zotero installation, is there a good way to reinstall it in such a way that my libraries are kept but we get rid of the screwing-things-up-factor? My personal library is synced via WebDAV, and group libraries via Zotero Servers (supposedly).
Anyways, Adam and @dstillman, thanks for your time and support!
In the meantime, I found out something's wrong with syncing files in general. When I set up Zotero to sync to our WebDAV server a while ago, all seemed fine: I could find PDFs and something looking like a Zotero database in our cloud. Afterwards, Zotero never gave any errors upon syncing (and I did use the sync button a lot, lately :)).
However, when I just checked again, I noticed the cloud folder was only 8 MB whereas my local Zotero storage folder is over 4 GB. I reset sync history for that folder as well and it's syncing >2000 files now (cloud folder size is indeed increasing). Weird. I forgot to turn on debugging, but it's still syncing so I recorded a little part of that, in case it might help identify the issue (D1550440708).
However, when my colleague and I were trying to use the workaround, we stumbled upon a new problem: not only download, but also upload seemed impaired. What we did:
1. U1 put a new item (including pdf) in the group library
2. Item and pdf showed up on zotero.org
3. Item and pdf showed up in U2's zotero
4. U1 edited pdf
5. Edited pdf was shown on zotero.org
6. Edited pdf was *not* shown in U2's zotero > workaround > edited pdf showed up
7. U2 added annotations to the same pdf
8. Annotations of U2 did not show op on zotero.org
9. Annotations of U2 did not show op in U1's zotero
We did not get this to work even with repeated sync attempts.
9. U2 reset sync history for group library > pdf was successfully synced.
We of course recorded debug logs again. As we did not know whether the download-as-needed versus download-at-sync-time setting is involved, we tried both.
- First sync attempt ('at sync time'): D33653683 > file not uploaded on zotero.org
- Second sync attempt ('as needed'): D1025191918> file not uploaded on zotero.org
- Third sync attempt (after reset): D1688108696 > file uploaded!
This turned out not to be reproducible however - when we repeated the exact same sequence with a new annotation in the same pdf, it was picked up by zotero.org immediately after hitting the sync button.
I really really hope it would be possible to get this to work reliably. As soon as two-way sync of pdf annotations runs smoothly, the other people in our lab will switch to using Zotero group libraries as well.