• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

AppleToolBox

Tools and Fixes for Mac, iPad, iPhone & iWatch

Search posts

  • About
  • Contact

CONNECT WITH US

CATEGORIES

  • iPhone
  • iPad
  • iPod
  • Apple Watch
  • Mac/MacBook
  • AirPods
  • Apple TV
  • News
  • Apple Services
  • HomePod
  • Reviews

SITE

  • Home
  • About Us
  • Contact
  • Advertise

Search posts

You are here: Home / Mac / Fix: Unable to Repair the Photos Library on Mac

Fix: Unable to Repair the Photos Library on Mac

By Madalina Dinita 1 comment Last updated December 29, 2022

If your Photos Library won’t open, closes unexpectedly, or throws all kinds of error codes, you can use the Photos Repair Library tool to fix the problem. The tool scans your library’s database and automatically repairs any inconsistencies or corrupted files.

But sometimes the Photos Repair Library tool itself won’t work because the library could not be opened. The error message reads as follows: “The library could not be opened. Photos has attempted to repair the library “Photos Library”, but is unable to open it.” If you’re experiencing the same issue, use the troubleshooting tips below.

Contents

  • What to Do if the Photos Library Repair Tool Is Not Working
    • Quick Fixes
    • Create a Barebone Library
    • Restore Your Photos From iCloud
    • Restore Photos Library With Time Machine
    • Fix the Permissions
    • Check Your Extensions
    • Contact Apple Support
    • Conclusion

What to Do if the Photos Library Repair Tool Is Not Working

Quick Fixes

  • Force Photos to repair. Close the app, and press the Option and Command keys at the same time. Hit the Repair button.
  • Update your Mac. If you’re running outdated macOS versions, certain functionalities may not work properly. Go to System Preferences, select System Update, and check for updates.

Create a Barebone Library

Follow the steps below if you’re running Mojave or an older macOS version.

  1. Right-click on your Photos Library and select Show Package Contents.
  2. Then locate the Masters folder in the old library.photos-library-master-folder-macos
  3. Select it and drag it on the Photos icon in the Dock to create a new library.

If you’re running macOS Catalina and newer, you need to go to the Originals folders. Right-click on your Photos Library, and select Show Package Contents. Locate and export your photos from the Originals folder.

photos-library-originals-folder

The Photos app manages images differently on Catalina and newer macOS releases compared to old macOS versions.

photos-app-macOS-originals

Keep in mind this will be a barebone library. The new library folder contains the same images as the original one but it doesn’t include the metadata, albums, slideshows, and so on. The new library won’t affect your current library or your backup versions.

Restore Your Photos From iCloud

If all of your photos are stored in iCloud Photos, you can restore them from the cloud.

  1. Launch Photos while holding down the Option key to create a new Photos Library.
  2. Make it your main library (System Photo Library).
  3. Hit the Create New button to create the new Library.create-new-photos-library-macos
  4. Then enable iCloud Photos in the new library, and wait until your Mac downloads all of your photos from the cloud.

Restore Photos Library With Time Machine

Alternatively, you can also try to restore your Photos Library with the help of the Time Machine. In this manner, you’ll also keep all of your internal links. To do that, you need to launch Time Machine and restore the Library directly from the Star Wars display.

  1. Click on the Pictures folder you’re interested in and open it.
  2. Then launch Time Machine and go back in time to the moment you created the backup.
  3. Select your Photos Library and hit the Restore button.

Fix the Permissions

Additionally, you may also need to fix the permissions on the restored Photos Library.

  1. Go to your Photos Library.
  2. Then go to File, and select Get Info.
  3. Check the Info Panel and make sure you have read and write access to the Library. If you don’t, change the settings.photos-app-macos-read-write-access
  4. After that, press the Control key and click on the Photos Library.
  5. Select Show Package Contents.
  6. In the new window that pops on the screen, check the permissions for each of your Library subfolders and make sure you have access rights to all of them.photos-app-subfolders-access-permissions-macos
  7. Close everything, exit Photos completely, and restart your Mac.
  8. Double-click on your Photos Library and check if you can open it.

Check Your Extensions

If some of your apps change the .JPEG extension to .jpeg, this could cause file conflicts. Some users fixed this issue by copying everything to an external hard drive (that is not case sensitive) and then formatting the problematic drive correctly. Copy everything back to your Mac and check the results.

Contact Apple Support

If none of these solutions work, contact Apple Support for further help. Let the technicians know what troubleshooting methods you’ve tried so far. We’re sure they’ll find the right solution for you.

Conclusion

If the Photos Repair Library tool could not repair your Photos Library, try restoring your pictures from iCloud. Alternatively, you can also use Time Machine to get the job done. If the issue persists, you can open the Photos Library package, and use the Masters or Originals folders to create a new library. Hit the comments below and let us know which of these methods worked for you.

Related Posts:

  • pexels-rfstudio-3825585
    How To Pick A Repair Shop For Apple Devices
  • 2023 Mac Studio lifestyle - 1
    macOS Could Not Be Installed, How-To Fix
  • AutoFill Passwords From Google Chrome on iPhone 13 Pro
    How to Automatically Remove Verification Codes in…
  • onedrive keeps closing unexpectedly on mac
    OneDrive Keeps Closing Unexpectedly on Mac – What to Do
  • pexels-skitterphoto-9316
    How To Scan Documents On iPhone And iPad
  • 2022 Mac Mini with Studio Display and Accessories
    Mac Tips For New Users In 2023
  • pexels-joão-jesus-4929241
    How To Replace A MacBook Battery
  • Delete-Group-Reminders-Folder-macOS
    MacBook Will Not Start Up After macOS Update, How-To Fix
  • Photo of someone using Apple Music on their smartphone
    How to Fix Apple Music Not Working on iPhone / iPad
Madalina Dinita

Madalina has been a Windows fan ever since she got her hands on her first Windows XP computer. She is interested in all things technology, especially emerging technologies — AI and DNA computing in particular.

Reader Interactions

Write a Comment Cancel reply

Show 1 Comments

  1. Shirley says

    October 28, 2023 at 4:39 AM

    Sonoma messed up my machine. Copied library not Time Machine and reverted to Ventura after much hassle. Restoring music, movies and photos, I’m working with media files because library is not backwards compatible.
    Can I extract and how do I extract picture data like facial recognition already done, locations etc or do I need to do all of that again manually?

    Reply

Primary Sidebar

Recent Posts

  • How to Manage Your iPhone Call Log
  • Are Apple’s Safety Precautions Enough for AirTags?
  • How to Hide Username and Photo on the Mac Lock Screen
  • Microsoft Resume vs. Apple Handoff – Which Wins for Cross-Device Work?
  • How to Export iTunes Library to New Computer
  • What the Gemini Desktop App Will Bring to Mac

Connect with us

Footer

ABOUT

  • About Us
  • Contact us
  • Advertise
  • Privacy
  • Terms of Use

GUIDES

  • iOS & iPadOS
  • Apple ID
  • iCloud
  • App Store
  • iTunes
  • FaceTime
  • iMessage
  • Siri
  • Books and iBooks
  • Game Center
  • AirPlay

CONNECT

  • Facebook
  • Twitter
  • FeedBurner
  • YouTube

© Copyright 2010-2024 Guiding Tech Media · All Rights Reserved

This site and its content are in no way affiliated or endorsed by Apple, Inc. · Reproduction without explicit permission is prohibited

Last Updated on December 29, 2022 by Mitch Bartlett