Sync error in Zotero 5 with Dropbox (Personal)
hi - not sure if this is the right place for this, if not please redirect. trying to streamline working across a PC desktop (running Windows 7 Enterprise with Zotero 5.0-beta.175+4edcf58 and Zotfile 5.0.0b3) and a Mac laptop (running Sierra 10.12.4 with Zotero 5.0-beta.185+32b1769 and Zotfile 5.0.0b3). I store linked attachments in Dropbox (with Data Directory set to default on both machines) which I recently had to make changes to because of the addition of a "Professional" folder, so that my Dropbox folder has been renamed "Dropbox (Personal)". Although this seemed to pose no problem on the Mac (attachment links to pdfs still worked fine) I went through and changed both the Linked Attachment Base Directory and the Zotfile "Location of Files" paths, on both machines, to reflect the new folder names. Everything working as normal on the Mac, but on the PC the links to all attachments are broken ("The attached file could not be found") even though Dropbox itself is synced and the files are all present in the Dropbox folder on the PC's hard drive. In what I assume is a related issue, Zotero syncing, while appearing to work for actual records, also brings up a 404 error, which I reported -
Report ID: 1919530731.
any assistance much appreciated.
Report ID: 1919530731.
any assistance much appreciated.
For the broken links, can you provide a Debug ID for a file opening attempt that triggers that?
for the links, I just ran a Debug Log - ID: D1598725985. I've noticed that files that remain in local zotero storage (because they haven't yet been renamed and moved to the 'library' folder by Zotfile) are still accessible from the PC, I assume because these files are uploaded directly to the online Zotero database. whereas the files that are linked via Zotfile renaming just display the file path - which has not updated to "Dropbox (Personal)" as described in my previous post, despite Sync Resets on both machines. For links that work on the Mac but not on the PC (the vast majority, I'd wager all linked attachments from Zotfile renaming), the file path is in the form /Users/benhjorth/Dropbox/zotero/library/Pahl/pahl (2012)... When I manually "locate" the file in the PC's local Dropbox (Personal) folder, the path updates to the form library/Pahl/pahl (2012)... Both PC and Mac are set to relative paths within the Linked Attachment Base Directory (C:\Users\bensefth\Dropbox (Personal)\zotero for PC; /Users/benhjorth/Dropbox (Personal)/zotero for Mac).
I suppose I just need a way of resetting all the links in one hit (or batches) rather than having to manually locate each one.
thanks tons
It's possible that ZotFile does something that interferes with the normal operation of that setting. I'm not sure if, when it creates linked attachments under the base directory, they're properly set as relative paths.
In any case, the easiest fix at this point is probably to look at Zutilo (and then to be sure to clear and reset the base directory after updating the paths so that they're changed into relative paths instead of absolute paths, so you don't run into a similar problem in the future). If Zutilo doesn't work with 5.0 yet, you can copy (not move) the whole folder structure back to the old location, change the base directory setting to basically collect them (i.e., convert them to proper relative paths) at the old path, and then update the setting to point back to the new location.
Thanks again for your help, as always.