Jump to content

Recommended Posts

Posted

So I've been having issues with this for a few weeks. I will install Immich and it will do one of two things.

  1. It will install and start deploying but just spin on deployment indefinitely. I let it go for nearly an hour one day.
  2. It will install and then say it running but then I can't access it when I click launch, it will just say unable to connect. Then every so often it randomly says "deploying" again for a second or two and then it goes back to saying running.

Obviously I've restarted a few different times to see if that would help but that didn't help. I use Firefox as a web browser but I downloaded and tried to access it in chrome and that still didn't work. I am unable to find a version to check and make sure that I'm running the most up to date version of hexOS and I do have a notification in the notification dashboard saying a system update is available. go to system settings -> update to download and apply the update. When I go to settings there is no update button so I assume that it's up to date? I use Plex on a daily basis and it works pretty flawlessly. I'm not sure what other information you may need, I'd appreciate some help.

  • Like 1
  • 2 months later...
Posted

having a similar issue:  in TrueNAS I was able to see the server was not running and looked at logs seeing.  Not sure how to fix this.
 

2025-06-02 13:02:07.473482+00:00microservices worker error: PostgresError: password authentication failed for user "immich", stack: PostgresError: password authentication failed for user "immich"
2025-06-02 13:02:07.473602+00:00at ErrorResponse (/usr/src/app/node_modules/postgres/cjs/src/connection.js:790:26)
 
Posted

also having this same issue 

microservices worker error: PostgresError: password authentication failed for user "immich", stack: PostgresError: password authentication failed for user "immich"
2025-06-06 05:30:31.753551+00:00at ErrorResponse (/usr/src/app/node_modules/postgres/cjs/src/connection.js:790:26)
Posted

I had the password issue back in the day when I uninstalled and reinstalled immich. At that time, my solution was to uninstall, remove the folders created for it, and then reinstall. That way it started with a clean slate and was able to set the password for itself.

Given that installations, or at least updates, are a bit broken in general at the moment, now might not be the best time to sink a lot of effort into this. But the errors listed in this thread so far do not seem related to those issues, so I guess there might be hope.

Posted

Can confirm deleting the deployment and cleaning up the folders did solve that password authentication issue for me.
To do so you need to log into the truenas webui -> datasets -> delete.
Once everything cleaned, you can try to re-install the app through hexos deck. For me it solved the issues mentioned above. 

However, i then came across the following issue: Failed to create upload/encoded-video/.immich: Error: EACCES: permission denied, open 'upload/encoded-video/.immich'
After quite some digging in truenas forums the solution to this seems to be to manually create those files in all the directories immich needs:
https://github.com/immich-app/immich/discussions/12798#discussioncomment-12012348
I tried this multiple times, played around with permissions to no avail. Always running into that same issue. I'll be the 1st to admit my linux permissions skill level is straight shit tier. 

Will mention it took some time for me to figure out the 'upload/*' folders are the docker named folders as you wont find an upload folder anywhere only an 'uploads' folder mind the 's'. From my fresh installs they all seem properly bound to folders under Application/ or Photos/ (sibling to Application)

Also, if you have data in immich, make sure to make backups / move data around prior to attempting any of this. I don't have any data in mine so went at it with nothing to lose.

Ran out of will to play more with this today. So far, all my folders are root owned + 770 permissions from the default install from hexos. The folders seem to line up in docker as mentioned before regarding upload/* folders.
Just saw in the truenas webui under app->immich, the application metadata stating username immich and a description stating that it runs as non-root user. Might be a problem to look into.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...