[SOLVED] I get 404 on web ui after install on portainer
Everything seems to be OK but I cannot access the server

89 Replies
What is the exact error you get, and what do the logs say?
the logs from which service???
nginx??
sorry for the inconvenienve i am new to the home lab thing
Check all the logs until you find a relevant error ;) nginx is probably a good starting point
so
most of the services logs say that there is a Fatal error in line 0
do you want me to send over the logs?
Yes please
So
immich_redis
immich-immich-web-1
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbee6f4bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbee7b4bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbee994bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbef484bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbe98e4bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbefc74bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbebac4bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbec894bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbea634bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbe8934bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbe8364bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbeb9e4bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbe8864bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbed024bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbeab94bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbeaab4bc
Fatal error in , line 0
unreachable code
#
#FailureMessage Object: 0xbebc54bc
immich-immich-microservices-1
immich-immich-server-1
immich-immich-machine-learning-1
What the heck
What sort of system are you running this on?
Raspberry pi 4
Are your OS and packages up to date? Which version of which OS are you running?
Itβs a bit outdated to be honest
That's the problem then
Please update and try again
Thanks Iβll do that when I get home and Iβll keep you updated
ππ
So
I have updated everything
my os my packages and portainer
and i still have the same problem
so
I some how managed to view the web ui
when I clicked get started I got this error

This means the server connection isn't running, so you'll need to check its logs
this is the server container logs
docker compose down -v
will stop everything and delete the database volume, then you can start it back up and it should workno configuration file provided: not found
I am using portainer is there a way to do it through the web ui
???Oh right you're using portainer
Stop the stack, then remove the pgdata volume
Stopped the stack
how do I remove the volume??
I don't know, I don't use portainer
There's probably a volumes section somewhere?
found it
So stopped the stack
removed the volume
restarted the stack
and I still get the same error
The server container logs still say
database "immich" does not exist
?No
the logs are all green for the server
but the web ui
has the same erro
r
Also
it's trying to acces the port 3001
but the 3000 is exposed there is no service running at 3001
If the web UI isn't working then there must be an error somewhere, or your configuration is wrong
do you want the docker compose file to inspect it
the one used to create the stack?
Yes, and the .env please
You shouldn't use the
latest
tag, the default compose uses release
for a reason. Your compose file also seems a little bit out of date, I would recommend clearing everything and starting fresh with the guide at https://immich.app/docs/install/portainerPortainer | Immich
Install Immich using Portainer's Stack feature.
gimme a sec to try it
so
I have downloaded the yml files changed the .env to stack.env
no portainer gives me this error when I try to deploy

@bo0tzz
What if you pull the images from the command line?
docker pull ghcr.io/immich-app/immich-server:release
it's pulling it
same error but with typesense now
Can you paste the full command/error?
failed to deploy a stack: database Pulling immich-web Pulling immich-machine-learning Pulling typesense Pulling immich-proxy Pulling redis Pulling 633ba29fd335 Pulling fs layer 155d3adaf8e9 Pulling fs layer 7af7b4cba8ee Pulling fs layer f5a4c332aba9 Pulling fs layer 6e01053f4b7f Pulling fs layer a0d7aeda4263 Pulling fs layer 240d62d5eac3 Pulling fs layer 4c0863b9fa0b Pulling fs layer f5a4c332aba9 Waiting 6e01053f4b7f Waiting a0d7aeda4263 Waiting 240d62d5eac3 Waiting 4c0863b9fa0b Waiting 633ba29fd335 Pulling fs layer a9f416f0a4d9 Pulling fs layer f142ed3e19bd Pulling fs layer 47f9e75fcf53 Pulling fs layer 422e36263981 Pulling fs layer f142ed3e19bd Waiting 47f9e75fcf53 Waiting a9f416f0a4d9 Waiting 46532b43a3dc Pulling fs layer 422e36263981 Waiting immich-proxy Error immich-web Error typesense Error no matching manifest for linux/arm/v8 in the manifest list entries
@jrasm91 i feel like we've seen something like this before, arm/v8 vs arm64, but I don't remember how that went. Can you help?
so i pulled immich-proxy manually like the server
now only typesense has the error
I'm assuming the docker compose has typesense pinned with a hash?
yeap
image: typesense/typesense:0.24.1@sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd
Try removing the
@sha....
and pulling againThese are the only two images available.

I think you should probably use the linux/arm64 one, right?
Maybe it'll work if you use this instead?
yeap this is getting pulled without any errors
Are you on 32 bit os or 64 bit?
The container might not work still if you're on a 32 bit os and the container is compiled for 64 bit
gimme a sec to complete the pull
and I'll check to be 100% sure
It is 32bit
Yeah, I don't think immich will necessarily work on 32 bit. Typesense, even though you pulled it, probably won't start up correctly, since it is compiled for 64 bit.
If you were running 64 bit your requested platform tag would have been linux/arm64/v8 would would have resolved to linux/arm64 automatically.
on the env file i have told it to not use typesense can I just remove it from the docker compose
???
Yes you can.
But, I'm not sure if all the components we use support 32 bit.
removed it
but I get this error
Remove the typesense references in the depend on section in the compose file...
@bo0tzz @Alex do we support 32 bit os for all components minus typesense?
what is the logs from the server?
oh hodl on I was reading old messages
I think you'll need to also add an env TYPESENSE_ENABLED=false
that i have done
I am pulling immich-web:release
to see if it will work
I am not sure
so
the immich-machine-learning dependancy has the same problem
it looks like you support 32 bit partially
Yeah, we used to have full support but a few of the libraries/packages/tools we use don't support it for some features.
If you are on v8 hardware, you can install a 64 bit os on it.
Yeah I recommened to migrate to 64bit since sooner or later we will cut support for 32bit
I believe your hardware supports 64 bit, but your operating system doesn't.
that's what I am researching now
My board supports 64 bit
If you know any way to migrate without a clean install
it would be very healpgull
Just immich or all your software?
I think I need to update my OS
Is this a question for the immich app or in regards to your operating system?
my os I am just asking if anyone is familiar with the process
I know it's not your problem
to deal with
No problem, just wondering what you were referring to. I think you have to re-install it from scratch. Depending on what you need to save you could export/import the configuration again.
ight
thanks for all the help
I will keep you updated
make sure to revert the compose file changes if you do install 64 bit
Will do
@alex.roumi its possible to install a new 64-bit kernel
But you'll have to Google that to figure out how exactly
A full reinstall is probably easier though
Not to mention you'll have a bunch of packages compiled for a 32 kernel that now might not work properly.
Good point
that is what I ended up doing
I am now at the point where I am installing immich
everything is now working perfectly
thanks everyone for your help
nevermind
ππ
It just died but other than that it is working
I would also like some help on how to use type sense locally instead of hosted
@jrasm91
you can set typesense_* variables to a remote host instead of a local one
when I use the search feature I get a 500 error
The server logs are
3003 is the machine learning port
it has something like a progress bar
It should be boulding the models right?
example
small question
my sd card is a little slow
is it possible to add a mounted usb drive
as the upload location
Yup
ight
thanks
Usually you can use fstab for stuff like that