Start the app for the first time after the OS update.
Just complete the update of the Phototheque.
Here is the message. Unable to open the app after.
Error Domain=PHPhotosErrorDomain Code=4302 "PHPhotosErrorInvalidState" UserInfo={NSLocalizedDescription=PHPhotosErrorInvalidState, currentState=error, NSUnderlyingError=0x600003e0e310 {Error Domain=com.apple.photos.error Code=43002 "(null)" UserInfo={currentState=error, NSUnderlyingError=0x600003e0ecd0 {Error Domain=com.apple.photos.error Code=46304 "Duplicate master clone failed for masterId 40698" UserInfo={NSLocalizedDescription=Duplicate master clone failed for masterId 40698, NSUnderlyingError=0x600003e0ed00 {Error Domain=com.apple.photos.error Code=46304 "copyfile failed with return value -1. From url file:///Users/####-###########/Pictures/Photothe%CC%80que.photoslibrary/Masters/2018/07/30/20180730-145946/P1010073.JPG to file:///Users/#################/Pictures/Photothe%CC%80que.photoslibrary/originals/3/3847ED31-5B00-4AFB-82A4-E8D671298625.jpeg. Error: Operation not permitted" UserInfo=0x6000030788c0 (not displayed)}}}}}}