I
Immich•2y ago
Co

Admin Registration ERROR 404 BAD REQUEST Not found: /auth/admin-sign-up (500)

Hello, I have followed the 2-3 steps to install immich via Docker compose I have this error at the time of registration and I am blocked for a few hours. Thanks for your help
No description
20 Replies
Co
CoOP•2y ago
the docker-compose is default and the .env like this :
# Database
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich

# Redis
REDIS_HOSTNAME=immich_redis

# Upload File Config
UPLOAD_LOCATION=./upload

# WEB
VITE_SERVER_ENDPOINT=https://photos.test.com/api

TYPESENSE_ENABLED=false
# Database
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich

# Redis
REDIS_HOSTNAME=immich_redis

# Upload File Config
UPLOAD_LOCATION=./upload

# WEB
VITE_SERVER_ENDPOINT=https://photos.test.com/api

TYPESENSE_ENABLED=false
Alex Tran
Alex Tran•2y ago
your server is very out of date I believe, the content of your .env file is from very early version of Immich
Co
CoOP•2y ago
I retrieve them from the project github
Co
CoOP•2y ago
GitHub
immich/docker at main · immich-app/immich
Self-hosted photo and video backup solution directly from your mobile phone. - immich/docker at main · immich-app/immich
Co
CoOP•2y ago
.env.test
Alex Tran
Alex Tran•2y ago
that is not the correct file, the .env file is in .env.example
Alex Tran
Alex Tran•2y ago
Docker Compose [Recommended] | Immich
Docker Compose is the recommended method to run Immich in production. Below are the steps to deploy Immich with Docker Compose.
Alex Tran
Alex Tran•2y ago
Please follow the instruction in the link, you should be good to go then
Co
CoOP•2y ago
I had already followed it but it's doing the same thing to me, I'm going to put the new .env file back to be sure but that was my first step.
Alex Tran
Alex Tran•2y ago
Please read the instruction carefully, if you follow the guide correctly, there won't be any issue 🙂
Co
CoOP•2y ago
my new .env :
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich

REDIS_HOSTNAME=immich_redis

UPLOAD_LOCATION=/mnt/truc/upload

TYPESENSE_API_KEY=some-random-text
TYPESENSE_ENABLED=false

PUBLIC_LOGIN_PAGE_MESSAGE="HELLO"

IMMICH_WEB_URL=http://immich-web:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich

REDIS_HOSTNAME=immich_redis

UPLOAD_LOCATION=/mnt/truc/upload

TYPESENSE_API_KEY=some-random-text
TYPESENSE_ENABLED=false

PUBLIC_LOGIN_PAGE_MESSAGE="HELLO"

IMMICH_WEB_URL=http://immich-web:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003
Alex Tran
Alex Tran•2y ago
UPLOAD_LOCATION=./upload should be an absolute path
Co
CoOP•2y ago
oh yes sorry mb
Alex Tran
Alex Tran•2y ago
now bring down and bring up the stack again
Co
CoOP•2y ago
No description
Co
CoOP•2y ago
Same error after docker-compose down and up
Alex Tran
Alex Tran•2y ago
can you post your docker-compose?
Co
CoOP•2y ago
Oh It's work I don't really understand why, but it works. @Alex Thanks you :immich:
Alex Tran
Alex Tran•2y ago
It was probably not finishing starting up yet
Co
CoOP•2y ago
I think so, thank you

Did you find this page helpful?