Error when starting the project

I've started with project with make dev and I got this error, can someone help me?
No description
No description
No description
32 Replies
jrasm91
jrasm912y ago
@Alex want to continue here?
Alex Tran
Alex Tran2y ago
Sure
JasBogan
JasBoganOP2y ago
Today is not my lucky day guys :/
No description
No description
jrasm91
jrasm912y ago
That actually looks pretty good. Is there a reason you are setting the DB_HOSTNAME?
JasBogan
JasBoganOP2y ago
Nothing, so I just remove it? or comment it out?
jrasm91
jrasm912y ago
This is an old test .env file. Where did you get it from?
JasBogan
JasBoganOP2y ago
Main branch, like 20 min ago hahah I got it
jrasm91
jrasm912y ago
This is what I have in my .env
UPLOAD_LOCATION=/home/jrasm91/Pictures/Immich/

DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich

REDIS_HOSTNAME=immich_redis

LOG_LEVEL=verbose

PUBLIC_LOGIN_PAGE_MESSAGE=Development Environment!

TYPESENSE_API_KEY=AS3das2awQ2
UPLOAD_LOCATION=/home/jrasm91/Pictures/Immich/

DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich

REDIS_HOSTNAME=immich_redis

LOG_LEVEL=verbose

PUBLIC_LOGIN_PAGE_MESSAGE=Development Environment!

TYPESENSE_API_KEY=AS3das2awQ2
JasBogan
JasBoganOP2y ago
I renamed the wrong file
JasBogan
JasBoganOP2y ago
I think I had to rename the 1
No description
jrasm91
jrasm912y ago
Yup 👍
JasBogan
JasBoganOP2y ago
Now I will try again 🤞
JasBogan
JasBoganOP2y ago
No description
JasBogan
JasBoganOP2y ago
Since the installation of docker was new, before reinstalling all I did docker system prune to be sure, but I still got this I didn't change the .env file
jrasm91
jrasm912y ago
You need to delete the database volume
JasBogan
JasBoganOP2y ago
Alright
jrasm91
jrasm912y ago
docker volume ls And probably like something_pgdata
JasBogan
JasBoganOP2y ago
I did docker purge and docker volume purge since I had nothing else
JasBogan
JasBoganOP2y ago
No description
No description
JasBogan
JasBoganOP2y ago
No description
JasBogan
JasBoganOP2y ago
Nothing, I will try tomorrow Like I said not my lucky day hahah
No description
No description
JasBogan
JasBoganOP2y ago
Thanks for you time
jrasm91
jrasm912y ago
Is it working now then? Oh just saw the other messages.
JasBogan
JasBoganOP2y ago
I just created the db Manually Inseide the container
jrasm91
jrasm912y ago
Ok. Prune deletes unused volumes and containers, etc.
JasBogan
JasBoganOP2y ago
hallelujah
No description
jrasm91
jrasm912y ago
It was probably still in use by the stopped container.
JasBogan
JasBoganOP2y ago
Oh Can be
jrasm91
jrasm912y ago
Unless you did compose down In the future you can do compose down -v to delete volumes as well
JasBogan
JasBoganOP2y ago
Alright And for containers?
jrasm91
jrasm912y ago
What do you mean?

Did you find this page helpful?