PilotFlying

Q: Unable To Repair Library Permissions!!!

Hello,

 

I'm pulling my hair out trying to regain access to my Photos library...

 

My Photos library resides on a Synology NAS. After updating to macOS Sierra, I would continuously lose the connection to my NAS. Someone on another thread mentioned to use SMB instead of AFP for file transfer services. I did so, and the connection remained stable; however, ever since, attempting to open Photos gives me a "Repair Library Permissions" error message, and says "This photo library is locked or you do not have permissions to make changes to it. Photos can try to repair the permissions". I attempt to repair the library, and after about 20 min I get "An error occurred while repairing permissions".

 

Finally, I opened the console to see what was going on, and this is what I saw when the error occurred:

 

Library Permission Repair failed: Error Domain=RKRepairLibraryPermissions Code=3 "(null)" UserInfo={NSUnderlyingError=0x61800025ecf0 {Error Domain=com.apple.library-repair.error Code=4 "(null)"}}

 

Can anyone decode this to give me a hint as to what's going on and how to fix it? Or are there any other suggestions???

 

I'd appreciate any info at all...

 

Cheers,

 

Chris

Vancouver, BC

2011 15" 2.2 GHz Macbook Pro, Mac OS X (10.6.6)

Posted on Sep 27, 2016 3:16 PM

Close

Q: Unable To Repair Library Permissions!!!

  • All replies
  • Helpful answers

  • by Old Toad,

    Old Toad Old Toad Sep 27, 2016 6:21 PM in response to PilotFlying
    Level 10 (141,336 points)
    Mac OS X
    Sep 27, 2016 6:21 PM in response to PilotFlying
    My Photos library resides on a Synology NAS

    Photos is not compatible with NAS volumes.  Photos libraries must be located on a volume formatted OS X Extended (journaled). 

     

    So copy the library to a properly formatted volume and open it with Photos.  You may have to repair the library by launching it with the Option+Command keys held down.

    OTsig.png

  • by PilotFlying,

    PilotFlying PilotFlying Sep 27, 2016 11:05 PM in response to Old Toad
    Level 1 (4 points)
    Photos for Mac
    Sep 27, 2016 11:05 PM in response to Old Toad

    Thanks for the advice, OT.

     

    Honest question: should I assume it's a coincidence that it's been working just fine on the NAS with AFP for the last year?

     

    I did in fact attempt to move the library file over to my Mac to attempt to repair it there; however, I got an error message that said "could not be copied because you do not have the permissions to edit this file," or something to that effect. How do I get around this?

     

    Cheers,

     

    Chris

  • by PilotFlying,Solvedanswer

    PilotFlying PilotFlying Sep 28, 2016 1:51 PM in response to PilotFlying
    Level 1 (4 points)
    Photos for Mac
    Sep 28, 2016 1:51 PM in response to PilotFlying

    UPDATE: I was able to solve the issue by connecting to my NAS using CIFS instead of SMB. Now everything works great again!

  • by Old Toad,

    Old Toad Old Toad Sep 28, 2016 2:36 PM in response to PilotFlying
    Level 10 (141,336 points)
    Mac OS X
    Sep 28, 2016 2:36 PM in response to PilotFlying

    Users have used NAS services successfully for a time and then all of a sudden the library becomes seriously corrupted.  Personally I would not put my library on volume which was not formatted as shown here:

    ignoreownership.jpg

  • by PilotFlying,

    PilotFlying PilotFlying Sep 28, 2016 2:52 PM in response to Old Toad
    Level 1 (4 points)
    Photos for Mac
    Sep 28, 2016 2:52 PM in response to Old Toad

    The reason I have my Photos library on an NAS is because (a) my library is so big that it won't fit on my Mac, and (b) it allows for mirroring of the drives to protect against hardware failure. In other words, I want to ensure my Photos library is always protected against loss.

     

    Given what you said about the formatting of the drive, what setup would you recommend to accomplish what I want?

     

    Cheers,

     

    Chris

  • by Old Toad,Helpful

    Old Toad Old Toad Sep 28, 2016 3:33 PM in response to PilotFlying
    Level 10 (141,336 points)
    Mac OS X
    Sep 28, 2016 3:33 PM in response to PilotFlying

    I would put the library on one of these EHDs,  OWC Mercury Elite Pro USB 3.0 / FireWire 800 / eSATA,  and connect it directly to the Mac via cable. Then enable another EHD for Time machine to backup both the library's EHD and your boot drive.

  • by PilotFlying,

    PilotFlying PilotFlying Sep 28, 2016 3:33 PM in response to Old Toad
    Level 1 (4 points)
    Photos for Mac
    Sep 28, 2016 3:33 PM in response to Old Toad

    OK, I'll check that out. Thanks very much for all of your advice!

     

    Cheers,

     

    Chris