I
Immich5mo ago
Nacho

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
Immich
Immich5mo ago
: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.
Zeus
Zeus5mo ago
Please try starting over. Reset the DB_DATA folder. And change the password before first start
Deleted User
Deleted User5mo ago
same prob where is folder located
Zeus
Zeus5mo ago
Wherever you put it…? Default is the Postgres folder of the current working directory
Nacho
NachoOP5mo ago
Reset the folder as in delete it? Can't find a folder named "DB_DATA" in postgres folder
Zeus
Zeus5mo ago
Just delete the Postgres folder if this is a new install with nothing important
Nacho
NachoOP5mo ago
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?
Zeus
Zeus5mo ago
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
Nacho
NachoOP5mo ago
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
Nacho
NachoOP5mo ago
Some, hopefully minor, errors
No description
Zeus
Zeus5mo ago
If you delete the database that’s expected
Nacho
NachoOP5mo ago
Any way I can force immich to see them again?
Zeus
Zeus5mo ago
You have to re upload them
Nacho
NachoOP5mo ago
Is there a way of fixing the old db so I don't have to do that?
Zeus
Zeus5mo ago
do you have database backups?
Nacho
NachoOP5mo ago
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
Zeus
Zeus5mo ago
Then I’m not sure what there is to “fix” lol Like if you don’t have any of the data
Nacho
NachoOP5mo ago
I mean that is the data
Zeus
Zeus5mo ago
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
Nacho
NachoOP5mo ago
That one backup of db is the data isn't it? Made a backup of postgres folder before deleting it
Zeus
Zeus5mo ago
Ok.. then restore the backup..? I don’t really understand what you’re asking lol
Zeus
Zeus5mo ago
Hopefully you made the backup per our docs
Nacho
NachoOP5mo ago
Wouldn't that take us back to original problem of immich not starting?
Zeus
Zeus5mo ago
You said the error was on a brand new install Wouldn’t that be with a new database?
Nacho
NachoOP5mo ago
Sorry, by that I meant I deleted everything regarding docker but kept db and storage folders
Zeus
Zeus5mo ago
Ok, that is not a new install
Nacho
NachoOP5mo ago
Sorry about that Any way to fix that?
Zeus
Zeus5mo ago
What caused the errors to start? It’s unusual that this would just randomly start happening
Nacho
NachoOP5mo ago
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
Zeus
Zeus5mo ago
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
Nacho
NachoOP5mo ago
Sry missclick https://github.com/immich-app/immich/releases/tag/v1.118.0 Changed according to this guide
Zeus
Zeus5mo ago
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

Did you find this page helpful?