"File(s) not found..." after changing location of PDF attachments
Hi, I reconfigured the default folder in which I store PDF files that I subsequently import into Zotero, say, from folder A (which happened to be inside Dropbox which I read is a no-no) to folder B which is in the default/recommended Zotero folder (c:\users\myname\Zotero\B). The resulting problem is that for a great many citations/references, when I try to access an attachment-- most frequently an annotated PDF--I get the error message: "File not found… It may have been moved or deleted outside Zotero..." [plus two other possibilities which definitely do not apply]. Finally, I am given three buttons: Locate; More information; Cancel. The seemingly obvious choice is Locate, but when I click it, the pop up box immediately disappears without providing the expected opportunity to browse to the desired location. Clicking "More information" takes me to this website, where I have not been able to find an answer or fix.
Specifically, I would be most grateful to learn: (1) a way to batch-cycle through all 900 of my entries and everywhere to change the location of attachments to folder B and its subfolders. (They are a perfect replica of folder and subfolders of A, my original default). Or (2) any other, presumably more laborious, method short of manually reattaching each of hundreds of lost or misplaced attachments. For instance, it would be dandy if the Locate button work and had a checkbox for changing the path from A to B for all orphaned attachments. Thanks to anyone/everyone who is kind enough to offer assistance.
kk [PC version 5.0.59]
Specifically, I would be most grateful to learn: (1) a way to batch-cycle through all 900 of my entries and everywhere to change the location of attachments to folder B and its subfolders. (They are a perfect replica of folder and subfolders of A, my original default). Or (2) any other, presumably more laborious, method short of manually reattaching each of hundreds of lost or misplaced attachments. For instance, it would be dandy if the Locate button work and had a checkbox for changing the path from A to B for all orphaned attachments. Thanks to anyone/everyone who is kind enough to offer assistance.
kk [PC version 5.0.59]
But you also seem to have misunderstood the problem with Dropbox: if you just link to files on Dropbox from Zotero, that's perfectly fine. The problem is placing the Zotero database -- i.e. the Zotero data folder -- into Dropbox, which it doesn't sound like you did.
In fact, I'd actually very much discourage you to manually place anything into the /Zotero folder.
In case it affects your recommendation, I would ideally like for all PDFs to reside on a cloud and/or on a designated computer (1 of 4), so I won't exceed my Zotero limit on its website. I am currently at the cap, and I'm sure it's because when I was trying to figure things out, I uploaded lots of PDFs--some quite large--that I ought not to have. If you could direct me to a mop to clean up that mess, I would appreciate that, too. I have plenty of cloud space, on Box, DropBox, and Google,
Thank you so very much,
kk
If the file is in 'storage', the attachment would need to be a stored attachment, not a linked attachment, and you can see if that's the case based on its icon. The first thing to do would be to determine if you have stored files or linked files. Zotero itself never converts attachments between stored and linked files, though the ZotFile plugin can do that.
If you provide a Debug ID for an attempt to open a specific file, we can tell you where it's looking.
You can also use Zutilo to figure out what the path is in the database, and then make sure that files are at that location. If the path begins with 'attachments:', you'd need to make sure your base (not data) directory is set properly in the Advanced → Files and Folders pane of the Zotero preferences.
D1043596168
(1) usually when I check the path, Zutilo tells me it is either "attachments:[filename]" or "storage:[filename]. I cannot detect a pattern in which it is one or the other, but it seems to me that the items that elicit this path info are usually (always?) functioning properly.
(2) That path given by Zutilo is not quite right: it should have "Desktop/" inserted between "[me]" and "Dropbox/". I thought I could fix this by using Zutilo's "modify attachment paths" so I put in the first path (up to but not including the file name), followed by the correct (inserted Desktop) path. My input in the two step process seemed to be accepted -- i.e., no error, and return back to normal status. However, the supposedly fixed item seems not to have been fixed. When double-clicking on either the parent or child, Zotera was completely unresponsive. I triple checked my path settings in Zotfile preferences and they are correct (although I can believe there may have been a time during my data entry when the "Desktop" was missing from the path - it's the kind of mistake I would plausibly make).
If it has any bearing on current configuration/settings/fix, I would add that eventually, I want to be able to store the minimum amount of data on Zotero.org, yet have all - or as much as possible - files (including annotations) accessible to a PC in my workplace and a Mac at home. I have plenty of local disk space and am not keen to pay for yet another cloud account and I'm already at the cap. Given this problem on the horizon, it's not obvious to me how to standardize my data entry or how to update and make uniform my current entries. I'll try to be patient with that, however, and apologize if I'm pushing the tempo. Thank you for your assistance.
You should be able to do that in Zutilo, but I can't help with that. I would think you could check the individual path to see what it's set to now.
The way you'd fix it in Zotero would be by temporarily copying your base directory (which I assume is "PDF Library") back to the original location, setting the base directory to that location to pick up any orphaned files and convert them to relative paths, and then changing the base directory back to the original location. The files that were previously set to absolute paths to the old location should then work again. 1) Set your linked attachment base directory correctly.
2) Configure ZotFile to store files as linked files within the base directory.
3) Set your linked attachment base directory correctly on all synced computers.
That's it.