Access denied when accessing database, able to connect successfully manually - Error 1045 #1700
-
I've been able to fix a few issues with my PhotoPrism installation, it seems like this is the last issue I have. The previous issue was due to me accidentally using These errors are now popping up, after the initial import and index completed. I've verified that A few things to note: There's something wonky with my photoprism_app container, when I access the console it says that I don't have a username set. If I run the If the connection succeeds when issuing the username explicitly then how come it's failing in the logs? PhotoPrism log snippet:
PhotoPrism App Container (IP: 172.18.0.2):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I was able to fix this by accessing the console for the photoprism_app container and changing the UID and GID of the photoprism user from 1000:1000 to my custom UID and GID. To assign a new UID to user called photoprism, enter:
To assign a new GID to group called photoprism, enter:
Update ownership for files outside of home dir:
Then I had to restart my containers and it worked. |
Beta Was this translation helpful? Give feedback.
I was able to fix this by accessing the console for the photoprism_app container and changing the UID and GID of the photoprism user from 1000:1000 to my custom UID and GID.
To assign a new UID to user called photoprism, enter:
To assign a new GID to group called photoprism, enter:
Update ownership for files outside of home dir:
Then I had to restart my containers and it worked.