Your iTunes library is locked because it is still in use by your wife's account. To unlock it you will need to quit iTunes on your wife's account. There's no good way around this. Your library file could easily get corrupted if you try to force two instances of iTunes to have the same file open at the same time.
Sometimes, when you use iPhoto to open a photo library, you may see an error that says ‘This photo library is locked, on a locked disk or you do not have permissions to make changes’. What are the reasons for the error and how can you resolve it? Let us understand more in this article.
Case 1: Make sure iPhoto is being accessed from only one machine
Please note that the iPhoto library can be accessed from only one iPhoto at a time. So, if you are accessing the library that is already open on another machine (using file sharing or any such feature) you may receive the error. In that case, close the iPhoto on the machine that has it open and try re-opening it on your machine.
- For one reason or another you may be shown a message on iTunes launch that reads like this, 'The iTunes Library file is locked, on a locked disk, or you do not have write permission for this file'.
- I successfully migrated from iPhoto library to this new Photos Library in April.17th, and everything seems okay except for some minor bugs. But from yesterday on, I started Photos and got this message 'Can't open Photos Library, try another.' If I try reading iPhoto or Aperture Library.
Case 2: Obtain read and write permissions
To be able to open the iPhoto library, it requires that you have both read and write permissions. Even if you don’t intend to make changes to the library, you still need to have write permissions just to open the library and view images.
- If the iPhoto library is on an external hard drive or a USB pen drive, follow the steps below to obtain permissions.
- Connect the device on which you have iPhoto library and open Finder
- Choose the device from the list and click on File > Info
- At the bottom of the Info dialogue, check the box next to ‘Ignore ownership on this volume’ and close the window.
This will help you obtain all read-write permissions to the drive on which iPhoto library is present. Now you should be able to open the library without any issues.
- The same is the case when you are accessing an iPhoto library from a NAS drive or Time Capsule; make sure you obtain write permissions.
Case 3: Repair iPhoto library
If the above methods don’t help, there may be corruption issues within your iPhoto library. To repair such issues, use the built in Repair library feature as explained in the steps below.
- Click on the Command + Option keys and open iPhoto
- Press the keys until the Rebuild Photo Library dialog box appears
- Click on Repairthe iPhoto Library Database for the tool to repair the database and click on Rebuild
- Then proceed with the on-screen instructions to repair the library’s database
If Repair library doesn’t fix the issue, you can also use ‘Rebuild the iPhoto library database’ feature which will allow you to rebuild the library. This can resolve most problems, but before you attempt this step, make sure to have a backup of your photos just in case anything happens during the process.
However if you have lost photos after repairing or rebuilding library, and no backup is available, you can use Remo Recover to recover lost photos from iPhoto library. A trial version of the software is available for free, be sure to try it out today!
Nov 23, 2020 • Filed to: Solve Mac Problems • Proven solutions
Your photos have enormous sentimental value, and it can lead to extremely distressful situations if you suddenly lost them all or couldn't open them due to a corrupted library. This could include crashes, problems in app launch, a failed import, and possibly thumbnails missing from an image library.
Should you encounter any library management issues, you can do a lot to redeem them. This article serves as a helpful guide.
How do I fix my Corrupted Library?
While copying some of the files to an external drive, a user faced a library error 'code-36'. This is what he had to say,
'I got a Photo Library error code 36 when trying to transfer files to my SD card. How do I fix this?' While copying the 80 GB Photo Library from macOS Sierra to my external Seagate drive, it had this error - The Finder can't complete the operation because some data in the 'Photos Library' can't be read or written. (Error code -36).'
Error code 36 usually occurs while transferring files supporting the Mac file system to the Windows file format or vice versa.
Effective ways to fix the 'error code- 36' are:
- Updating your macOS
- Running disk repair using Disk Utility
- Fixing with Apple's Photos Library Repair
- Fixing destination drive format
- Copying Photo Library in parts
- Using the Ditto command line in Mac's Terminal
- Running the Dot_clean utility
Why Won't My Photos Library Open?
Having your Mac's Photos library corrupted can be shattering experience leaving you with feelings of panic and anxiety. With our family photos going digital by the day, the possibility of something going wrong with the default app for storing, editing, and viewing those images can terrifying. However, this problem is fairly common and many people do encounter it from time to time.
A corrupted photos library could also lead to crashes to hanging on Photos app launch, a failed import, thumbnails missing from an image library, pictures missing from a library that was imported, or even a completely empty Photos app on launch despite having the proper photo library selected in the Photos app.
Some of the reasons why your Photos won't are could be but not limited to:
- Your images are highly corrupt: This implies they would not open up and/ or lack a thumbnail.
- An older version of the macOS: A lot of a Photos library issues stem from the fact that you haven't updated your macOS in a while. Updating your macOS eradicates most problems.
Four Methods to Open and Repair Photos Library
If creating a new Photos library hasn't resolved your issues and you are still viewing messages such as the following when you try to open your photos, we might have to go a bit deeper to address the issue. Read on to know about four effective methods to open and repair your photos library.
Method 1: Use the Photo Library Repair Tool on Mac
Apple provides a repair tool to address a corrupt Photos library. The repair tool examines the library's database and repairs any conflicts it senses. Depending on the magnitude and size of your library, the whole process could take a bit of time. When the process is done, Photos opens the library again, with your files intact.
Here are the steps to use the Photo Library Repair tool for your issues,
Step 1. Locate the Photos Library (in your Users folder, within the Pictures folder)
Step 2. CNTRL-click Photo Library and select 'Show Package Contents'.
Step 3. Open the folder called 'Masters.' This folder contains your original image files, organized by year.
Step 4. Start copying the contents to a new location, one folder at a time. Make sure you are truly copying the folders, not simply moving the originals by holding the Option key when dragging the folder to the new location.
Step 5. If the copy fails, it implies it has hit a corrupt image file in the folder — which is probably the problem, or part of it (there could be more than one corrupt file). In this case, copy failure might actually be a good thing, because we're now hoping to locate a corrupt file. In the case of copy failure, start again by copying the folder where you came across the issue, but his time, copy a few files at a time until you find the corrupt one(s). You'll need to manually create a folder in the new location with the exact same name to copy those files into. Skip any corrupt files — however, remove them from the original folders— and keep copying.
Step 6. Continue this process until you've copied all the folders from Masters. The damaged image files are likely lost but maybe recoverable with third-party tools.
Step 7. Once you have all the files copied, you know they are good.
Step 8. Launch Photos and run the repair tool again.
Step 9. The repair app will repair your library eliminating inconsistencies and discrepancies.
Mac Unlock Library Dvd
Method 2: Repair Library with Disk Utility on Mac
Found in the utility folder, the Mac Disk Utility is essentially the first-aid feature is used to check whether a disk is damaged and to initiate a repair. It can also be beneficial when dealing with a corrupt Photos library.
Usually, the signs to look for are:
- Your Photos app is quitting unexpectedly.
- You have a corrupted file in your library.
Method 3: Update Mac OS to Repair Corrupted Library
Before you proceed with this step, make sure that you have backed up your data. You can fix many issues regarding a corrupted library by running the most up-to-date version of the macOS.
- Go to the Software Update in System Preferences to find the macOS Catalina upgrade.
- Click Upgrade Now and follow the onscreen instructions to begin your upgrade.
Note: If you don't have broadband internet, you can upgrade your Mac at any Apple Store.
Method 4: Rebuild Photos Library on Mac
To rebuild an iPhoto Library, simply hold down the option and the command key and click on iPhoto to launch the application. iPhoto will appear with the following dialog box.
Depending on what is erroneous with your iPhoto library, opt for one of these options.
Repair Permissions
This is probably the best option to start with. If for instance, your computer was not shut down correctly, there may be files that could have been left open at the time. The 'Repair permission' option fixes this problem.
Rebuild Thumbnails
iPhoto may have missing or damaged temporary images that iPhoto needs. Using this option creates those images again.
Repair Database
If the photos in your library don't match up to what iPhoto thinks it should be, this option will fix that problem. iPhoto looks at what photos are in the library and updates its records accordingly.
Rebuild Database
If nothing else works, make use of this option. It may, however, take a long time of yours and you run the risk of losing information about the photos or albums. It makes sense to try all of the other options before using this one.
Unable to Repair Photos Library? Recover Lost Photos
So if you have tried everything as per our suggested methods earlier, and still face the issue of having to repair photo libraries, the following methods will likely be effective.
Method 1: Reliable Photo Recovery Tool for Mac
Recoverit offers an effortless and easy-to-implement guided process for recovering files from your hard drive. It helps you recover your photos, videos, audio, emails, and other documents which may have been last in the aftermath of crashes and issues stemming from corrupt libraries.
The following easy-to-implement steps demonstrate how to start using Recoverit for your lost photos.
Step 1: Select a Drive
Launch the Recoverit for Mac and select a specific drive where your data was lost.
Step 2: Scan
Scan the selected location to search for your lost files on Mac.
Step 3: Preview Files
Preview the files from the resulting menu and click on 'Recover' to get deleted files back on Mac.
Summary
To summarize the steps mentioned above, first launch Recoverit from your computer. To recover data on your computer, choose the location where you suspect you lost data. Click the 'Start' button to initiate the process. Recoverit will perform an all-round scan of all deleted and/or lost files in the directories. This process will take a few minutes.
During the scanning process, you can toggle between different ways to filter, select, and identify the files you want to recover. Even if Recoverit continues to scan the selected location for your lost data, you can pause or stop it at any time. Recoverit enables to preview data by clicking on the identified file. A thumbnail will show you on the right panel. The software enables us to preview almost all the common types of files, such as images, videos, audios, and other document files.
Method 2: Restore Lost Photos from Time Machine
Time Machine lets you peer within the Photos Library to salvage specific images that go missing, however the best advisable route of action is to retrieve the entire archived library. This naturally would require enough storage space, either on the startup volume, the Time Machine volume, or another external drive. It is advisable to use an external drive in this case.
Note: If you are normally using iCloud Photos and you restore the System Photo Library from a Time Machine backup, any photos you've deleted since the last Time Machine backup are reestablished to your Mac and uploaded to iCloud again. If you chose to augment Mac storage, Time Machine may not have a backup of your originals. However, the originals are kept in iCloud.
Here's how to restore an entire Photos Library using Time Machine.
- Launch Time Machine, which is in your Applications folder. If Time Machine appears in your menu bar, select its icon and click on Enter Time Machine.
- Navigate to your home directory's Pictures folder.
- Navigate back in time to when you know the Photos Library was at the state you need.
- Control-click the Photos Library to choose to Restore 'Photos Library,' and then select a destination other than where the current Photos Library lives.
- Click Restore.
- When the restore is complete, hold down the Option key and launch Photos.
- When prompted, click Other Library and choose the restored Photos Library.
Limitations of Time Machine
Mac Unlock Library Movie
Time Machine, although beneficial in Photos recovery, does have some limitations.
- The time machine requires an apple specific HFS+ filesystem to store backups.
- Your backup will not be bootable.
- It must be an external drive or an official apple network destination like TimeCapsule or Mac OS X Server to be supported by Apple.
- The Time Machine will likely delete scheduled backups (hourly backups combine and expire after a day. Daily backups expire after 31 days.) Weekly backups can be deleted if there isn't enough space to contain the estimated size of the next backup.
- The destination volume must be larger in size than the boot volume.
Know More about Photos Library on Mac
Though we have provided enough information for you regarding various effective ways to fix the photos library on Mac, there are few other things you might want to know that will come in handy.
1. Where Should Photos Library Be Stored?
By default, your System Photo Library is stored in the Pictures folder on your Mac. If you are fond of taking lots of pics, hard drive or solid-state drive can fill up easily, especially since more Macs ship with limited storage these days. However, you can move the System Photo Library to an external storage device.
2. Prevent Corrupted Photos Library
Follow these steps to prevent a corrupted Photos library
- Copy the Photos Library from your Pictures Folder to an external disk.
- Hold down the option (or alt) key and launch Photos. From the resulting menu select 'Other Library' and navigate to the new location.
- You'll get a message that says: 'This library contains items that need to download from iCloud Photo Library.'
- Click on delete incomplete items.
- In the Photos app, go to Preferences and under General, click Use as System Photo Library.
- Then go to System Preferences > iCloud > Photos > Options, Select iCloud Photo Library to turn that back on.
- Test the library. When you're sure all is well, feel free to trash the one on your internal HD or SSD to free up space.
3. Prevent Lost Photos on Mac
Photos are surely the timestamps of our lives, making them invaluable. However, we might have those dreaded moments where we accidentally deleted some of the photos from our Mac, causing emotions of immense anxiety and distress.
Here are some ways to prevent loss of your invaluable photos on Mac:
- Create regular backups of your photos.
- Repair corrupted Photos library using the inbuilt 'Repair' option in the app.
- Keep your macOS updated.
Losing photos from your library can drive you absolutely mad. If you take precautionary measures, however, such as backing up key photos, using the Mac OS Photos repair tool, and keeping your macOS updated, you can avoid a lot of headaches as well as heartache resulting from losing your beloved photos resulting from various glitches and corruption of files.
What's Wrong with Mac
- Recover Your Mac
- Fix Your Mac
- Delete Your Mac
- Learn Mac Hacks