Switching system photo library is not responding
I have this problem whenever I try to switch the system photo library, the photos app is not responding. In the past, I moved my photo library to an external drive. However, the photos app could not sync to icloud. After that, multiple errors message appeared. Then I tried to repair the library, but still could open the previous library. I then created a new library and am trying to create this library as the system photo library.
I'm running it on a MBP M1, Ventura 13.1
MacBook Pro 13″, macOS 12.2