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 on External Drive - routinely requires Repair

I keep my Photos library on an external SSD.


If my computer goes to sleep while the drive is still plugged in, Photos ALWAYS encounters an error trying to open the app. Sometimes this is fixed with a Repair, although that can take hours. Sometimes I need to reboot the machine entirely. Soemtimes both.


I do my best to eject the drive before the computer goes to sleep, but inevitaby it still happens from time to time. Is there another solution or a fix?


I also keep this synced with iCloud Photos, but I keep the library downloaded as well for backup purposes.


Thanks,

6 replies

The external drive with your System Photos Library must always be mounted while you are signed into your user account or Photos may lose the connection to the system photos library. So do not eject the external drive when you let the mac sleep. It would be better to log off, if you are no longer using the mac, so it will not matter, if the drive is no longer mounted.


Is the external volume correctly formatted? An incorrect file system format might explain the constant need for repairing the library. The file system format should be MacOS Extended (Journaled) or APFS.

and the drive needs a wired connection, not a network connection.

See: Move your Photos library to save space on your Mac - Apple Support

Removing antivirus worked. Thanks!

Have you tried different cables and ports?


Did the drive you're using come with any software on it? If so did you install that software. What brand and model drive is it?


Have you installed and run any "cleaning", "optimizing", "speed-up", anti-virus or VPN apps on your Mac?


The drive didn't come with any software - just a standard SanDisk SSD.


I do have an anti-virus app istalled, I will disable it to see if that helps (although I'm pretty sure this issue began before that app was installed).


I have tried a few different cables / ports (both direct USB-C, USB-A-to-C hub, etc.).


Thanks,

First, there is no reason to ever install or run any 3rd party "cleaning", "optimizing", "speed-up", anti-virus, VPN or security apps on your Mac.  This documents describe what you need to know and do in order to protect your Mac: Effective defenses against malware and other threats - Apple Community and Recognize and avoid phishing messages, phony support calls, and other scams - Apple Support.  


There are no known viruses, i.e. self propagating, for Macs.  There are, however, adware and malware which require the user to install although unwittingly most of the time thru sneaky links, etc.   


Anti Virus developers try to group all types as viruses into their ad campaigns of fear.  They do a poor job of the detecting and isolating the adware and malware.  Since there are no viruses these apps use up a lot of system resources searching for what is non-existent and adversely affect system and app performance.


There is one app, Malwarebytes, which was developed by a long time contributor to these forums and a highly respected member of the computer security community, that is designed solely to seek out adware and known malware and remove it.  The free version is more than adequate for most users.  


So I recommend you uninstall that A/V app according to the developer's instructions so that you get all of the supporting files removed also.

Thanks, yes the drive is APFS.


Please note I do not eject the drive when the Mac falls asleep. When I wake it up, the drive is still connected.


However, the issue still occurs.