PDFs missing after migrating Zotero to a new computer

After moving my entire Zotero library to a new computer, I am repeatedly unable to locate PDFs that are supposedly attached to a given citation. I did not have a special designated folder on my old computer, so I believe that all these PDFs are saved in whatever sub-folders Zotero automatically creates. How do I go about finding them and updating my current library so that all the embedded notes are not lost?
  • How did you migrate your library exactly?
  • I moved the library manually using an external drive and then synced it.
  • edited October 25, 2022
    If you moved your Zotero data directory completely, you would have the exact same files. It's exactly the same as restoring from a backup.

    But I'd guess that you actually did something wrong in the copy and simply synced to pull down your library from the server. You're at your storage quota online, so additional files wouldn't have been uploaded from the other computer.

    See Transferring a Library to understand exactly what you need to copy from the other computer to get your full library.
  • I did follow the instructions from Transferring a Library.
    Some of the PDFs are there, others are not.
    It's possible that those files didn't upload to online storage, but that still doesn't explain why they wouldn't have migrated or wouldn't be findable after a manual move.
  • I'm telling you — you either didn't copy the folder correctly or didn't have the files on the other computer. If you copied the entire folder to the correct location, you would have the exact same Zotero library on this computer.

    There's nothing else we can tell you here. Obviously if you place the exact same files in the exact correct place and start up Zotero, you're going to see the exact same thing.
  • @caitibmm: And there's no need for speculation here. When you try to open a file, it tells you exactly what file it's looking for. You can search this computer to see if you accidentally put the files in the wrong place, and you can check the same folder within the data directory on the other computer to confirm that the file was there.
  • As someone just trying to figure out an issue that doesn't make immediate sense--that's why I'm on a forum in the first place--I'm a little bewildered by the aggressive tone here, although I appreciate the follow-up.

    I've tried searching when Zotero attempts to locate a PDF, but the PDF name doesn't auto-populate in the search box, and the search that pops up either doesn't include text in the document or the document itself isn't on the computer.

    I will probably just try to re-copy the folder over and hope that works.
  • edited October 26, 2022
    I'm just explaining how it works. By definition, if you copy the folder to the correct location, you end up with the same library. You seem to not want to believe me on that, but then this isn't going to be a good use of anyone's time.

    I'm not sure what you're saying re: searching. Zotero tells you the folder name and file name. You can look for that folder and/or file on this computer and on your old computer, and you should be able to figure out what happened. I'd recommend doing so, since there's a decent chance you copied the data directory to the wrong place and will just be wasting disk space if you don't move it or delete it. But you can of course just copy the data directory from the other computer again. If you follow the instructions precisely, you'll have the same library.
  • I'm new to this so apologies if I'm mistaken - there seems to be 2 ways to attach pdfs to citations, either Zotero does it automatically and saves them in a default location (C:\Users\user\Zotero\storage\) or you can manually attach a pdf from one of your own folders. Could it be that the files in the default folder have transferred across but the ones you may have attached manually are pointing to other folders not on your new machine?
  • @caitibmm implied that they were using stored files, not linked files. This really just sounds like a case of not copying the data directory correctly and then only being able to download the files that had been uploaded before hitting the quota.

    But again, it should be clear from the error message. Zotero will say exactly where it's looking.
  • @dstillman, what I mean is that when Zotero can't find the PDF, it offers an option to Locate, but that search bar doesn't auto-populate with what Zotero has saved as the PDF name. I can see it and retype part of it from the File Information in the citation data, but so far I haven't had luck in trying to locate files that way. It's likely because they're not actually on the machine, but since I've yet to successfully search and find one, I don't know if it's absence or an issue with transcribing the file name.

    @fazwardak thank you, this is helpful, and definitely a possibility. I don't *think* that it's an issue of manual attaching, because the documents I'm looking for were saved in the last year or two, and I haven't used the manual link in a long time.

    If it is an issue of having linked to PDFs that are not stored in Zotero Library files, is there any way to systematically locate these, within Downloads or whatever folder they might be in? I'm assuming not and that I'd have to search one by one in my old computer.

  • edited October 26, 2022
    You don't need to and shouldn't use Locate. Just look at the error message. What exactly does it say? Does it include a file path? Does that path include 'storage' and an 8-character random string? Can you just share it here? You can x out your username.
  • And it's not linked files. You have about a dozen linked files created years ago and hundreds of stored files, many of which haven't been uploaded because you're at your storage quota. Presumably those are most of the files you're referring to.

    There's nothing you would be doing for every file here. You either didn't copy the full data directory or you copied it to the wrong place. All you're doing is searching for a few of the PDFs — by 8-character folder name or part of the filename — to see if you accidentally placed them somewhere else. If you didn't, just try the copying from the other computer again. (And confirm that you actually have the files you think you have on the other computer.)
Sign In or Register to comment.