redownload missing PDFs?

Hello, I switched computers at work and mistakenly lost the PDF library that attaches to my citations in Zotero. Many of these PDFs are still on my hard drive, but when I double click a Zotero entry, it can't locate them. I can search my hard drive and reattach them if I can find them, but it's an onerous process (2700 items in my library).

Is there a way to scan my library and automatically redownload or relink the missing PDFs in bulk? Could AI be useful here?
  • If you were using linked files, you might need to change their base directory https://www.zotero.org/support/preferences/advanced#linked_attachment_base_directory

  • @ono2000 is using Zotero Storage, so I assume this is about stored files, not linked files. But I'm not sure what "the PDF library" means, then.

    @ono2000, what's the exact message you're receiving for one of the files? Can you provide a Debug ID for trying to open one?

    Note that you are close to your storage quota, so it's possible additional files weren't being uploaded. If that's the case, you'd want to transfer your data directory manually (Option B there) from the previous computer.
  • Thanks all - here is my Debug ID: D187902988

    On the old computer I was not using Zotero storage. I switched to that after this problem started.
  • edited 25 days ago
    I'm not sure what you mean by that. What were you using on the old computer? How did you switch to Zotero Storage after this problem started? That wouldn't make any sense.

    In any case, the Debug ID shows you opening stored files that don't exist on this computer. You'll need to go back to the computer where the files actually exist and sync properly or transfer the data directory.
  • On the old computer I had local storage backed up to box.com. When I got the new computer and realized all the old attachments were delinked, and the old HD was wiped, I purchased Zotero storage. Any new PDFs downloaded since then are stored on Zotero storage.

    Your second point is definitely right. Since I can't do that, is there any way to have the PDFs redownloaded and matched to my library? I have a workstudy doing that for me, but it's extremely slow going and inefficient.

    Those old files are still on box.com.
    https://s3.amazonaws.com/zotero.org/images/forums/u43990/5tt6utlqmk6qubboa7e4.png

  • edited 25 days ago
    When I got the new computer and realized all the old attachments were delinked, and the old HD was wiped, I purchased Zotero storage. Any new PDFs downloaded since then are stored on Zotero storage.
    It's still not clear what you mean here. Are you saying you were using WebDAV before? The files in your screenshot are the files from a synced WebDAV folder. That's not "local storage backed up to box.com" — it's just WebDAV file syncing.

    In any case, switching to Zotero Storage now wouldn't somehow make files available on your new computer if they were never uploaded to Zotero's servers.

    If you were syncing with WebDAV before, you would just need to set up WebDAV syncing on the new computer with the same settings you were using before. The files in your screenshot are from 2023, though, so it depends if you have more recent ones.

    If you didn't have file syncing working properly recently, you would need to sync from the old computer or transfer the data directory. If you can't do that, you can delete the broken attachment items and try using right-click → Find Full Text to redownload PDFs, if you have direct/VPN-based access to them, but otherwise you'd need to download them manually and re-add them to the parent items.

    But just to be clear here, nothing is "delinked" — you just don't have the files on this computer.
  • If the files are still on box.com/WebDav, could I download them onto my hard drive and scan via zotero to get them synced?

    otherwise is there a way to determine which are the broken attachment items besides clicking on them one by one?
  • You didn't really address my questions, though. Do you recall using WebDAV previously? What's the most recent timestamp in that folder? I'm guessing you stopped using WebDAV syncing when Box stopped supporting WebDAV?

    In any case, that folder isn't usable outside the context of WebDAV file syncing, so you'd have to place it on a WebDAV server and configure Zotero to sync with it. And you'd obviously only have the files up to when you were actually syncing.
  • I think my box.com was synced through WebDAV. Most recent timestamp is April 2023. That's when I stopped for exactly the reason you say.

    If I were to set up WebDAV file syncing to retrieve these files, would that overwrite the files I have downloaded since then?

    If so, could I move everything since April 2023 to a separate library or account, sync all the old files, and then move the more recent stuff back in and re-sync everything to Zotero storage and eliminate WebDAV?
  • If I were to set up WebDAV file syncing to retrieve these files, would that overwrite the files I have downloaded since then?
    No.
Sign In or Register to comment.