immich_server doesn't start on a brand new install
Not pasting docker-compose.yml and .env files here since they're literally freshly pulled using commands from https://immich.app/docs/install/docker-compose/ so you can look them up there. I changed nothing but db password and timezone in .env. Logs attached. Would appreciate some help. Thanks.
34 Replies
:wave: Hey @Nacho,
Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:.
References
- Container Logs:
docker compose logs
docs
- Container Status: docker ps -a
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
- Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA
Checklist
I have...
1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: read applicable release notes.
3. :ballot_box_with_check: reviewed the FAQs for known issues.
4. :ballot_box_with_check: reviewed Github for known issues.
5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: uploaded the relevant information (see below).
7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable
(an item can be marked as "complete" by reacting with the appropriate number)
Information
In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:
- Your docker-compose.yml and .env files.
- Logs from all the containers and their status (see above).
- All the troubleshooting steps you've tried so far.
- Any recent changes you've made to Immich or your system.
- Details about your system (both software/OS and hardware).
- Details about your storage (filesystems, type of disks, output of commands like fdisk -l
and df -h
).
- The version of the Immich server, mobile app, and other relevant pieces.
- Any other information that you think might be relevant.
Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)
If this ticket can be closed you can use the /close
command, and re-open it later if needed.Please try starting over. Reset the DB_DATA folder. And change the password before first start
same prob where is folder located
Wherever you put it…?
Default is the Postgres folder of the current working directory
Reset the folder as in delete it? Can't find a folder named "DB_DATA" in postgres folder
Just delete the Postgres folder if this is a new install with nothing important
I have 50 GB of photos but I don't care about any metadata or anything, as long as photos aren't deleted, assuming they're not stored under postgres path?
You said this was a brand new install , maybe provide (a lot) more details of what’s actually going on here / What you have setup
It is, I nuked the old one in docker
Only kept files
Deleted old yml and env files, containers, volumes
Okay looks like immich is up but doesn't see photos from old installation
Some, hopefully minor, errors

If you delete the database that’s expected
Any way I can force immich to see them again?
You have to re upload them
Is there a way of fixing the old db so I don't have to do that?
do you have database backups?
Nope, I setup immich as "set and forget" kind of thing, not touching it until something breaks
Only backup is from 10 minutes ago before deleting it lol
Then I’m not sure what there is to “fix” lol
Like if you don’t have any of the data
I mean that is the data
We have builtin database backups in the backups folder if you had them enabled
No, the upload_location is not the database
They’re two separate data sources
That one backup of db is the data isn't it?
Made a backup of postgres folder before deleting it
Ok.. then restore the backup..?
I don’t really understand what you’re asking lol
Hopefully you made the backup per our docs
Wouldn't that take us back to original problem of immich not starting?
You said the error was on a brand new install
Wouldn’t that be with a new database?
Sorry, by that I meant I deleted everything regarding docker but kept db and storage folders
Ok, that is not a new install
Sorry about that
Any way to fix that?
What caused the errors to start?
It’s unusual that this would just randomly start happening
The website didn't work so I checked the logs
Logs said some stuff is deprecated and to change it
Changed that, which didn't work
Please go to the DB_DATA_LOCATION folder of the old install and check the Postgres logs. Should be in the logs folder
Uhh, changed it how
Sry missclick
https://github.com/immich-app/immich/releases/tag/v1.118.0
Changed according to this guide
Ok. There’s a lot going on here and there’s no clear story to me of what happened
Try to post some more logs as I asked, and exact details of what you changed
I need to hop off for a bit. Maybe someone else can take a look later
You might have to just re upload tbh if you have no backups