Move from dropbox to webDAV?
Hi, I am using Zotero Firefox on Windows Mac and, hopefully, iPAD. Currently I am storing my pdfs as attachments on dropbox using Zotfile.
I was considering moving the library to a WebDAV storage server (probably Box)and would like some advice. Particularly:
1) is this a good idea, and
2) how to I go about moving my data from dropbox to WebDav (i.e. is there a set of instructions somewhere to guide me)?
Thanks
I was considering moving the library to a WebDAV storage server (probably Box)and would like some advice. Particularly:
1) is this a good idea, and
2) how to I go about moving my data from dropbox to WebDav (i.e. is there a set of instructions somewhere to guide me)?
Thanks
2) There's two steps two this:
a) Reverse the location of files. For that, Set File Location in the General Tab of ZotFile from "Custom" back to "Store in Zotero". Then select all of your items in Zotero --> Manage Attachments --> Rename Attachments (which will also move them back into Zotero).
You now have all your attachments stored in Zotero
b) set up WebDAV sync. This should be straightforward. Here's a box.com example from Cornell
http://mannlib.cornell.edu/news/link-your-zotero-files-cornell-box
(You want option 2)
However, I seem to have one problem that has arisen because of the move.
Although the pdf's moved from dropbox to my WebDAV server (Box), it appears that the snapshots that are associated with many of the PDF's have become lost. This is OK, I dont really need them, but when I try and open the PDF in Papership, it says that the file can not be found - though I can open the PDF in Zotero. Is there a way to bulk remove these lost attachments and sync the result so it applies to papership?
I'm also not quite sure why you think that's related to the failure of the PDFs to open in PaperShip? That would seem more like a problem communicating between PaperShip and your WebDAV?
The reason I think it is an issue in Papership is because items with just a pdf attachment allow me to open the pdf in Papership, but items that contain a pdf and a missing snapshot would not let me view the pdf in Papership. I then deleted the missing snapshot in zotero and synced. This change did not show up in Papership, as it still showed two attachments for the item from which I had deleted the snapshot, and I still could not view the pdf in Papership. It did not appear to be a synch problem because new items that I added to zotero after moving the data to WebDAV showed up in Papership after synching and I could view these.
Could you provide a debug ID for trying to open one of them?
http://www.zotero.org/support/debug_output
You could also just look at the debug. I'm looking specifically for one of the lines that says something like
Attachment file 'xyz' not found
(where xyz is the full filepath). Post that here to speed things up, otherwise we'll have to wait for Dan to look at your debug output.
Another thing I'd that'd be ideal for testing would be to sync this library to another computer to see if sync works for those PDFs in general.
"File Not Found
The attached file could not be found.
It may have been moved or deleted outside of Zotero."
The error dialogue has a cancel button and a Locate... button. If I click on the locate button it takes me a folder along the following directory path (which is empty):
Computer_Name
Macintosh HD
Users
RobertClement
Library
Application support
Firefox
profiles
aekxe9dd.default-1426846782999
zotero
storage
IGHAZIW
No additional error information is available from Papership on the IPAD (only that the file doesn't exist). I'll try moving my windows machine over to the WebDAV server tonight to see if that has the same issues.
I also checked the folder on my dropbox that was previously used to hold the library. The folder structure is still there but there are no files (PDF or snapshot) in the folders - as I would expect.
Thanks ever so much for looking into this.
The folders in principle are right -- there should be one per attachment -- they just shouldn't be empty.
"A potential problem was found with your WebDAV server.
An uploaded file was not immediately available for download.
There may be a short delay between when you upload files and
when they become available, particularly if you are using a
cloud storage service.
If Zotero file syncing appears to work normally, you can ignore
this message. If you have trouble, please post to the Zotero Forums"
I suspect this is because dropbox had deleted all the pdf files in my zotero dropbox library, because they had been removed on my Mac when zotfile moved the files from dropbox to zotero as a precursor to putting them on WebDAV
I couldn't get around this so I removed zotero/zotfile from firefox, restarted, and then added zotero back to firefox.
This took a bit of tinkering but finally I got WebDav set up on my WinPC as well and synching ran and completed.
Now, the problem is similar if not a bit worse
1) Most of the PDF's are attached to the library items.
2) There still exist snapshots that are not linked to file. When I go to the location of these missing snapshots the folder exists and I will get a path something like:
C:\Users\rclement\AppData\Roaming\Mozilla\Firefox\Profiles \rxqkup03.default\zotero\storage\9XKNHTT9
In which there is a file named: .zotero-ft-cache
3) There are now also missing PDF's or PDF/snapshot combinations which, when I look at the location do not take me to a specific folder but instead to:
C:\Users\rclement\AppData\Roaming\Mozilla\Firefox\Profiles \rxqkup03.default\zotero\storage
I should add that I know that at least some of these missing PDF's had existed earlier today on my Mac, so they must have been lost (or not yet synched) to WebDAV or from WebDAV to the WinPC, or somehow lost in the process.
I havent had the chance to go back to the Mac or iPAD to check the status of the files on those devices.
Hope this helps.
There's no way for files to disappear without the associated items being deleted in Zotero, so they either 1) were moved or deleted outside of Zotero or 2) were never on the computer you're checking to begin with. The steps in the linked page can help you figure out which. Note that folders can exist with just .zotero-ft-cache due to full-text content syncing, so that's expected and doesn't mean that the files were somehow deleted.
The "An uploaded file was not immediately available for download." doesn't mean what you you say — that's just a message that can appear for cloud-based storage services, where, as the message says, an uploaded file isn't immediately available, as it should be with a real WebDAV server. It's harmless as long as the files appear shortly after they're uploaded.
However, the snapshots are still causing a problem. The current status being:
On my Zotero account the offending items contain both attachments (pdf and snapshot) and appear to have the correct meta-data
On both Mac and WinPC both the pdf and snapshot appear as attachments. I can open the pdf but the snapshot gives a file not found error, which takes me to folder containing the .zotero-ft-cache file.
On iPad it shows two attached items but I can not open the PDF (you dont get a choice on which to open) and it simply says the file can not be found.
"Moving files to WebDAV is indeed a bit fiddly. Only one other PaperShip user has reported the same type of error with snapshots, likely related to the fact that Zotero has changed their snapshot format a couple of months back.
But this is also a problem with PaperShip itself, because it expects to have all attached files downloaded before presenting them, which is problematic here.
We’ll try to improve that with a future update, but in the meantime, you should be able to delete the snapshot file with Zotero, then sync to PaperShip to only have the PDF. Please note that because PaperShip doesn’t currently support the trash, you also need to empty your trash with Zotero to sync.
You can also trigger a “full sync” at any time by opening this link directly on your device (it will open the PaperShip app): szn-papership://fullsync"
I performed a full sync of Papership but didn't solve the problem. If deleting the offending snapshots would help then I could do that - but that would be a problem because I dont want to delete all snapshots, just the ones that are not available locally.
Thanks for your help.