Client Request library rebuild keeps repeating despite repair option

When I start photos with the <Option>+<Command> it says Unable to open Photos Library Error 3145, next time the error code is 3142.


Dialog box of [Quit] [Open Another].


I choose Open Another, select the library and error came "Relinquishing photo library to writer"


I do not have a backup. The file size in Finder is showing 187.09GB, and the modify date gets updated each time the library is accessed.


Request for some help please .


Thanks in advance.

MacBook Pro 16″, macOS 15.5

Posted on Jul 15, 2025 04:57 AM

Reply
2 replies

Jul 15, 2025 08:06 AM in response to DeveshAgarwal

Do you have only one Library? Can you create a new Library? If so, does that Library read, with File>Import, the other Library?


Do you use iCloud Photos?


Have you tried these things?

  • Restart the computer (of course)
  • Re-start in Safe Mode. This bypasses certain potentially disruptive processes, and it often helps. Safe Mode is different for different computers, so see this: 

           Start up your Mac in safe mode - Apple Support 


  • Rebuild your Photos Library--close Photos and re-launch by option-command-clicking the app icon. Rebuilding may cause a very long re-syncing if you are using iCloud Photos.
  • Make a new user and see if the same problem recurs with it.  This is a bit harder, because a new user can't access a different user's stuff. You would need to move your Library out of your own user's folder up to the general "Users" folder. 


The idea is to find out if the problem is with the Library, with your account, or with caches and login items, and stuff like that. One of these steps may fix the problem, but their failure to work also helps figure out what's happening.


Let us know what happens…

Jul 15, 2025 09:46 AM in response to DeveshAgarwal

The first thing you need to do is get an external drive that's about 2 - 2 ½ the size of your working drive and start a Time Machine backup program.


You can ignore the above if you don't value your photos and other user files.


If all else fails you could try using the paid version of PowerPhotos to merge your problem library into a new, empty Photos library.




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.

Client Request library rebuild keeps repeating despite repair option

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