Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Photos library corrupted after rename & move

I renamed my system photo library and then moved it to the desktop. After renaming, it wouldn't move so I restarted. After restarting, I moved it to the desktop, tried to open it but Photos became unresponsive, so I restarted again.


The library was originally 1.02TB and now it's 30GB.... I believe that the restarts I did interrupted background processes related to the renaming and moving of the library and may have resulted in most of my photos being permanently lost (not to mention corrupting the photoslibrary file).


I don't have Time Machine turned on :/


Can anyone recommend a possible solution or is all hope lost?

3 replies

Which system version do you have installed? And do you by any chance have iCloud Drive enabled in the System > Settings, with the Desktop and Documents folder enabled as well?


If your Desktop folder is syncing with iCloud Drive, it would explain, why Photos could no longer open the library. A Photos Library must not be moved to iCloud Drive, because the syncing can break the internal links.

Have you tried to drag the library back to your Pictures folder? If it is currently still on your Desktop and the Desktop is on on iCloud Drive, drag the library back.


Since you do not have a backup, stop using your computer instantly, so data recovery software will have a chance to recover any remaining image files or videos.


I have Sonoma! I'm not sure about any of the iCloud stuff because it's a new computer and I haven't looked through any of the settings yet. Anyway I dragged it back like you said and this miraculously restored everything. Although I did run a Repair + Restore on the library just in case and everything seems unaffected.


Thanks!

You're welcome 😊 I am glad it worked and you could save your photos.