404 Server Not Found Error
Hi,
Attempting to install and use this awesome piece of software, but I’m running into some issues. I’m on Ubuntu server and am installing via a portainer stack. I am able to log into the Immich web ui but I get errors. I did everything according the guide, changing the compose to have “stack.env” for every container and then adding the env with the upload location as a mounted network drive (which I am using fine with other docker containers). Any help would be great. Here’s the log I’m getting from immich_server;


30 Replies
Ah additional thing that I noticed is that the date is set forward for some reason, it is currently March 21st at 9:17pm. The Immich sever log shows 1am on March 23rd. May just think it’s in a different time zone but I just wanted to.m note in case this was any indicator of something.
Can you post the microservices container logs?
Is it just the search/explore functionality that doesn't work? Can you see and upload photos?
Just search. Sorry, I hadn’t noticed this till you asked. Here’s the log for micro services

oh no hmm
I think it'll work it you upload 1 asset and then restart the server 🙂
Ok. Just uploaded a pic. I’ll restart the machine
just the immich-server container would be sufficient
Too late 🤣 that’s ok there’s some other containers I wanted to test their behavior once restarted
Lol ok
Frequent power outages in my area so I’m trying to make sure everything works well. You were right! Works now. Glad that was a simple fix. One issue I do have though is I have to manually start the typesense container or it won’t let me in. But once manually started all is well


Hmm, what do you mean by won't let you in?
Gives me that 500 error
It’s not a big deal I have no issue starting it manually if it’s just a bug. Wasn’t sure if maybe that’s something on my end
Do you have the depends_on in your stack? immich-server and immich-microservices should depend_on the typesense container so they should wait for it to startup first
Yes
It is odd that the container exits, that seems like there is something else going on.
Can you enable logging on the container and then see if it has anything useful that might indicate why it is crashing/not starting?
In the stack the typesense container has log driver set to none, if you remove it, the logs should show up in portainer
Ok. Just did. I’ll send the log in a sec

Seems to start up just fine. How come it was showing as not running in your other screenshot?
That’s what it does after a restart of the server itself, it doesn’t start unless I manually do it
Oh. I see the issue.
There’s no restart parameter in the compose
Oh, interesting. How are you restarting the stack?
The restart thing should only impact when it exits on error, or when the whole server is rebooted. If you are rebooting then yeah that could be the issue. If you just do stack > restart in portainer it should restart it.
Just restarting the machine itself. Sudo reboot
Ah ok. Makes sense
Gotcha, yeah. We should add that in there.
So adding a restart parameter for the typesense container inside of the stacks compose would fix that right?
Yes, that would tell docker to auto-start it after a reboot
Ok great. Sorry I’m still a bit new to docker
No worries, that's a good catch.
Thank you for your help! I am really excited to use this. I’ve been looking for a replacement for Google photos for a while and nothing I’ve found has come even close. Synology photos isnt quite there and has loads of issues. Really respect the work you guys are doing
Thanks! Yeah, it's a cool piece of software for sure. I think it's exciting as well.
https://github.com/immich-app/immich/pull/2042
You can turn logging off again on typesense. It logs quite a bit of garbage that's not needed 99% of the time.
Ok great. Thanks again!