MacOS Photos app - missing files: find originals

Hello all,


Running MacOS 12.7.5, Photos app 7.0 (photos are locally stored, not on icloud)

I have a photo library thats been migrated over multiple macos versions and moved around from various folders to external hard drives.


Currently, all my photos as well as the library location are on my external hard drive.

There is only 1 library when opening photos with the option key.


I can see all my photos, but when I double click on some (not all, but most of the older ones), I can see the photo full screen, however, I get the MISSING FILE message:

  • Photos with unavailable original files cannot be opened. The original photo “2006 04 09 12h52m54 0201.JPG” is either offline or cannot be found. Click “Find Original” to reconnect.


My question is, what is the best way to correct this situation?

I can't manually locate and find original for each missing photo. There would be 1000s


I would rather not start over from scratch because I have many albums that took a long time to sort. I would not want to lose the albums.


I'm happy to provide any other information to help resolve this issue, thanks again for any advice/help/hints




Posted on Jul 19, 2024 8:22 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 22, 2024 10:15 AM

I'm thinking there needs to be some clarification of what's going on with your pictures. Excuse me if I'm just repeating what you already know:


The idea of Photos is to keep the Original Picture file forever unchanged. When you edit a picture, annotate it, or put it into a folder, nothing happens to the Original. Photos keeps a database, like an Excel spreadsheet, that connects the original picture to each of the things you've done to it. Photos makes thumbnail images and small preview images to allow smooth scanning through pictures, and those, too, are connected to the originals with the database. When you zoom in, or edit, or print a picture, Photos goes back to the original files and re-applies all the edits on the fly to make the picture you thought you had. The original is never actually changed, and full edited pictures aren't stored.


Usually people have Photos store the originals inside the Photos Library so Photos will always know exactly where they are. That's called a Managed Library. But sometimes, people want to keep their pictures in Finder folders rather than inside the Library, then called a Referenced Library. The downside of a Referenced Library is that Photos can lose track of the Originals. We always advise against a Referenced Library. Somehow, unfortunately, some of your pictures are Referenced, and the connection to some of them is lost.


Your problem is that Photos has the thumbnails and some Previews, but it can't connect them with the Original files. That's why you can see the pictures, but you can't do much with them. So you need to find those originals and re-connect. In Photos' menu File there is the choice "Consolidate" which can help with that. It copies the referenced files into the Library. You have 8000 of these "Referenced" pictures that are lost because they were not copied into the Library. Some of your Referenced pictures may not be lost-- they may still be available to Photos. So you should try the Consolidate command. Then check your Smart Album and see if the number has gotten smaller, as some Referenced files have gotten connected.


If you can find any of those old files, on a CD or DVD or an old hard drive, you may be able to point Photos to where it should find the pictures, and let it Consolidate more.

Similar questions

10 replies
Question marked as Top-ranking reply

Jul 22, 2024 10:15 AM in response to mikeypas

I'm thinking there needs to be some clarification of what's going on with your pictures. Excuse me if I'm just repeating what you already know:


The idea of Photos is to keep the Original Picture file forever unchanged. When you edit a picture, annotate it, or put it into a folder, nothing happens to the Original. Photos keeps a database, like an Excel spreadsheet, that connects the original picture to each of the things you've done to it. Photos makes thumbnail images and small preview images to allow smooth scanning through pictures, and those, too, are connected to the originals with the database. When you zoom in, or edit, or print a picture, Photos goes back to the original files and re-applies all the edits on the fly to make the picture you thought you had. The original is never actually changed, and full edited pictures aren't stored.


Usually people have Photos store the originals inside the Photos Library so Photos will always know exactly where they are. That's called a Managed Library. But sometimes, people want to keep their pictures in Finder folders rather than inside the Library, then called a Referenced Library. The downside of a Referenced Library is that Photos can lose track of the Originals. We always advise against a Referenced Library. Somehow, unfortunately, some of your pictures are Referenced, and the connection to some of them is lost.


Your problem is that Photos has the thumbnails and some Previews, but it can't connect them with the Original files. That's why you can see the pictures, but you can't do much with them. So you need to find those originals and re-connect. In Photos' menu File there is the choice "Consolidate" which can help with that. It copies the referenced files into the Library. You have 8000 of these "Referenced" pictures that are lost because they were not copied into the Library. Some of your Referenced pictures may not be lost-- they may still be available to Photos. So you should try the Consolidate command. Then check your Smart Album and see if the number has gotten smaller, as some Referenced files have gotten connected.


If you can find any of those old files, on a CD or DVD or an old hard drive, you may be able to point Photos to where it should find the pictures, and let it Consolidate more.

Jul 20, 2024 4:05 AM in response to mikeypas

If the files have been copied into the library, when you imported to Photos, the originals are stored inside the Photos Library package, but Photos has lost the connection.

This damage cannot be fixed by reconnecting the originals.


As a test, you may want to create a smart album (File > New smart Album ⌥⌘N") with the rule "Photo > is > Referenced". If the album is not empty, the items have been imported as referenced, and you should be able to reconnect them. But if the smart album is empty, your Photos Library is damaged.

In that case you could try to repair it. But you have to make sure, that the Photos Library is in a supported location.

  • If the library is on an external drive, the external drive needs to have a compatible file system forma (APFS or Mac OS Extended (Journaled). The drive needs to be connected to a USB port, do not use a NAS. And the volume must not have been used for Time Machine backups, see: Move your Photos library to save space on your Mac - Apple Support
  • If your library is in a folder on the internal drive of your Mac, the Pictures folder would be the best place. The library must not be in a folder that is syncing with some cloud service. It must not be on iCloud Drive or on your Desktop or in Documents, if these folders are sinking with iCloud. Do not keep the library in a Dropbox folder either.


The library could also have become damaged by tools to remove duplicates. Such a damage cannot be fixed. you would have to restore the library from the last backup you made before you let some duplicates cleaner touch the library.



Jul 19, 2024 8:58 AM in response to mikeypas

Can you tell us more? How have you imported the photos to Photos? Did you import them by copying the photos into the library or is Photos referencing the originals outside the Photos Library? Your Photos will be copied into the library, if the Photos > Preferences > General > Importing has been set to “Copy items to the Photos library”.

Otherwise the originals will be referenced in the original location and must not be moved. Change where your files are stored in Photos on Mac – Apple Support (UK)


Try to find one of the missing files by searching your Mac for the filename in question.

If you can find one of the originals and reconnect it, Photos might automatically reconnect all other originals in the same folder. Otherwise Photos has no tools to help you to fix all broken references at once.



Jul 23, 2024 6:32 AM in response to mikeypas

The consolidate feature is only available, if the image file has been imported das referenced, not if the original cannot be found for some other reason. Typical reasons are a damaged Photos Library because of a failing drive or similar, or a library corruption by running cleaning applications, external photo editors, that are writing back to the Photos Library, but incorrectly.

If Photos expects the original image file to be in the library, it does not offer the "consolidate" command.

You could try for a few photos to import the originals again and see what happens. Occasionally I have seen that this has fixed a missing original. Import them, even if Photos is warning about a duplicate.


Have you enabled the options in the View > Metadata menu? If not, enable "Referenced" and "File Type". You should be seeing an arrow badge for referenced images on the thumbnails, with a broken arrow for referenced images with missing originals. If there are no arrows your image files have not been imported as referenced and consolidate will not be possible.



Jul 26, 2024 1:01 PM in response to Richard.Taylor

Update: Thanks for your input and advice, I ultimately managed to solve "most" of the issues by reimporting all original files, then I ran Photosweeper X app to remove all the duplicates. (I'm on macos monterey so no duplicate image option in photos app).


It killed my albums, but luckily the import also keeps the folder structure, and I put all my album photos in individual folders (luckily), so I was able to copy the new albums it created to my empty albums.


I don't know why/how, but all the referenced photos are now gone. It looks like everything is working fine now.



Jul 23, 2024 7:01 AM in response to mikeypas

We expected that most of those files would not Consolidate, but congratulations on the 300 that did!


As léonie has said, you need to find at least some of those originals in old backups, and see if you can re-establish connections. I recently had to go back through old CDs and DVDs and hard drives, some of which weren't 100% readable anymore, to find originals to reconstruct a Library's pre-2006 pictures. Not fun, but satisfying.

Jul 19, 2024 2:20 PM in response to léonie

All photos were originally imported into photos

The copy items to photos library is checked


I've been trying to link the missing photos to their original items, however, its very long and difficult process. Most files are from canon camera, so IMG_0123.jpg for example, and there was thousands of them, so multiple duplicate file names, but in different directories.


Additionally, sometimes Photos takes a while before displaying the Missing File message, so I can see an image in my library, click on it, get full screen, no error message, assume everything OK, I can do it for several images, then all of a sudden, I'd have 4 missing file dialog boxes, and I can't know to which image its referring to.


What confuses me is that I can see all the images,even full screen, so Photos must have some sort of link to the actual files. I wish there was a way to see only images with broken links, but there doesn't seem to be. That means I have to individually click on each of the thousands of images to see if an error message comes up and then try to locate original file. It's a mess


Jul 22, 2024 9:26 AM in response to léonie

Thank you again for the reply!


I created the smart album as you suggested, and it had about 8,000 photos out of 35,000 photos. So obviously, there are alot of non-referenced photos.


A thought did occur to me. Since My main concern is not losing all my albums, can I not create a new library. Import all the photos from the external drive, and then somehow import my albums? Or those would all be non-referenced photos in the albums anyway?


Or any other suggestions on how to resolve this without losing my albums?

(and if the photos in my library are non-referenced, how come I can still see them, and in full detail fullscreen as well?)


Jul 23, 2024 6:20 AM in response to Richard.Taylor

Thank you for your explanation Richard, appreciated.


If I select my entire library, the consolidate option is greyed out.

If I create that smart album with references files, then I have the option to consolidate. However, it only lowered the number of images by about 300 in the smart album. It then was asking me the location of each individual image file.


I know that I have all the image files on my external HDD, so I have no fear that the originals are deleted.

The issue is that I cannot link 8000+ photos individually to their original locations, it would take me years!


Since I have all my original photo image files on my HDD, would I just be able to import all those files back into photos? I assume it would create doubles of all the images though.

Would it be better to create a new library (hold down options on photos launch) ?

Like I mentioned, I would just hate not having all those albums I created with selected photos curated. Is there a way to make sure the albums get transferred?


Thanks again for your explanations.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

MacOS Photos app - missing files: find originals

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.