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;
No description
No description
30 Replies
ThePOWER56
ThePOWER56OP3y ago
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.
jrasm91
jrasm913y ago
Can you post the microservices container logs? Is it just the search/explore functionality that doesn't work? Can you see and upload photos?
ThePOWER56
ThePOWER56OP3y ago
Just search. Sorry, I hadn’t noticed this till you asked. Here’s the log for micro services
ThePOWER56
ThePOWER56OP3y ago
No description
jrasm91
jrasm913y ago
oh no hmm I think it'll work it you upload 1 asset and then restart the server 🙂
ThePOWER56
ThePOWER56OP3y ago
Ok. Just uploaded a pic. I’ll restart the machine
jrasm91
jrasm913y ago
just the immich-server container would be sufficient
ThePOWER56
ThePOWER56OP3y ago
Too late 🤣 that’s ok there’s some other containers I wanted to test their behavior once restarted
jrasm91
jrasm913y ago
Lol ok
ThePOWER56
ThePOWER56OP3y ago
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
ThePOWER56
ThePOWER56OP3y ago
No description
No description
jrasm91
jrasm913y ago
Hmm, what do you mean by won't let you in?
ThePOWER56
ThePOWER56OP3y ago
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
jrasm91
jrasm913y ago
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
ThePOWER56
ThePOWER56OP3y ago
Yes
jrasm91
jrasm913y ago
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
ThePOWER56
ThePOWER56OP3y ago
Ok. Just did. I’ll send the log in a sec
ThePOWER56
ThePOWER56OP3y ago
No description
jrasm91
jrasm913y ago
Seems to start up just fine. How come it was showing as not running in your other screenshot?
ThePOWER56
ThePOWER56OP3y ago
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
jrasm91
jrasm913y ago
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.
ThePOWER56
ThePOWER56OP3y ago
Just restarting the machine itself. Sudo reboot Ah ok. Makes sense
jrasm91
jrasm913y ago
Gotcha, yeah. We should add that in there.
ThePOWER56
ThePOWER56OP3y ago
So adding a restart parameter for the typesense container inside of the stacks compose would fix that right?
jrasm91
jrasm913y ago
Yes, that would tell docker to auto-start it after a reboot
ThePOWER56
ThePOWER56OP3y ago
Ok great. Sorry I’m still a bit new to docker
jrasm91
jrasm913y ago
No worries, that's a good catch.
ThePOWER56
ThePOWER56OP3y ago
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
jrasm91
jrasm913y ago
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.
ThePOWER56
ThePOWER56OP3y ago
Ok great. Thanks again!

Did you find this page helpful?