I
Immich2y ago
Jelq

Inadvertent chown causing big trouble

Hi everybody. I foolishly performed a chown -R on the directory which contains all Immich config files, database, photos, etc. Now, when trying to log in, I get "Internal server error (500 - Internal Server Error)." Logs show: [Nest] 197 - ERROR [ExceptionsHandler] could not open file "global/pg_filenode.map": Permission denied Any ideas what I can do to troubleshoot and fix this? Thanks to everyone in advance.
2 Replies
jrasm91
jrasm912y ago
Not a big deal you just need to change the database folder directly back to... Something. Not sure of the top of my head. I think root? You can read about postgres data directory ownership.
Jelq
JelqOP2y ago
You're the man! Changing to root seems to have worked. Thanks a lot.

Did you find this page helpful?