Encoded-video, no such file/directory found
Hey team, first time user here, and excited about getting the this project up and running!
I'll include my compose stack below, but getting some console errors:
Here is my compose stack. I did get this up and running at one point and dumped a bunch of memes into the interface to test, and it loaded them, but I cannot find where exactly it put them, or how the library sorts things. Feel stuck and need a nudge in the right direction. Here is the compose I am using:
56 Replies
:wave: Hey @datacenterdude,
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. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: uploaded the relevant information (see below).
7. :ballot_box_with_check: 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.We don’t support PGID, PUID or UMASK
Why is skip migrations and vector extension set? Those should just be left to the default
Postgres
US/pacific isn’t an ideal time zone. Should be America/Los_Angeles for example
Postgres … what?
Either way what happened here is that your upload_location changed so immich is missing files
I think I'm just gonna scrap it and start over with all of you guys recommended defaults. I've got a pgsql server with 20+ db's in it already, so I was really NOT trying to have another db instance running silo'ed, but if it's going to break stuff, I'd rather it be in a supported config.
As far as moving the file location? That hasn't change since I create the compose and first started it, so who knows.
Sure, you can use your own Postgres. I do. You don’t need those variables to do that. Just DB_URL
I read/saw somewhere that needed to be in the compose, I wouldn't have just done that myself, but I can't remember where, to be honest.
Wait why are you not mounting /usr/src/app/upload ?
Do you see where it says not to edit the next line? 🙂
https://immich.app/docs/administration/postgres-standalone/
I generally dislike using env files so was trying to get around it using the stock environment vars in the compose. That said, let me go start over fresh and not try to hack it into something its not. 🙂
You don’t have to use an env. But you have to substitute the right things into the right places 😉
You would just change UPLOAD_LOCATION to the location of your disk. The right side should never change
good point... I've yet to get my head around the core differences between /photos, /library, and
UPLOAD_LOCATION
and how they interop differently, and for what? Is there a good explainer doc somewhere for that?this and backwards compatibility when it was introduced basically
We don’t use /photos or /library at all. I’m not sure where you got that from
So if I want all of my actual media to go to a NAS share, I wouldn't use
./library
like in the .env file, I would change that to /mnt/data/media/immich/photos/etc
?Did an LLM assist with this compose at all? Lol
Sounds like parts of the UNRAID config
Yea I sourced it from someone else who got it running, and they're an unRAID user
If you are not using unraid, don't use that
I've nuked it and starting fresh.
Our docs are pretty complete for regular docker compose
So as far as connecting external pgsql, I comment out everything else DB* in
.env
and just leave the DB_URL
correct?👌
Nope
You also need
DB_DATABASE_NAME
oh gotcha so it won't pick that up from the url string
Do you still need it if it is the default?
No, that’s the end of the URL?
Oh sorry my bad I missed that you want to pass a fully formatted URL
(so many 2 letter words starting with i in a row 👀 )
/dbname
That should work
DB_URL=postgresql://immich:[email protected]:5432/immich-main
^with that, do I still need DB_DATABASE_NAME
defined in .env?Nope
Sorry for the confusion
Keep in mind that your database needs the pgvecto.rs extension though
LOL no worries, just wanna make sure. Very noob to immich and its a beautiful build, so still learning the ropes
yea all that and the perms are done and good to go
You granted it super user I assume?
Cool!
Even ran into debian overriding and installing 0.4.0 pgvectors and had to back that out and downrev it
Be prepared to start over several times when you want to tweak the ML/face settings and can't figure out how to finetune what you already have 🫠
We'll crack that nut when I'm ready to try and tackle getting nvidia drivers installed on debian properly, but today is not that day.
CPU goes brrr
So there's a ton of stuff defined in the compose for postgres... does all of that come out? I don't see that mentioned in the
Pre-existing Postgres
doc. But I'm assuming that whole container config can come out of the compose?yes
Appreciate the help gang (and the tough love, Zeus ) ❤️
Lmao that reaction
Just keep an eye on our patch notes for the future changes to the vectors image
Hope you'll enjoy Immich :)
Otherwise with super user you shouldn’t really have to touch the DB
You should disable the immich DB dumps as I expect you don’t want your entire database dumped nightly. Make sure to setup a good backup on your end
I like pgbackrest
SnapCenter Plug-in for PostgreSQL overview
The SnapCenter Plug-in for PostgreSQL is a host-side component of the NetApp SnapCenter software that enables application-aware data protection management of...
🙂
(fringe benefits of my employer)
What am I missing here?
.env
file below:
Is the .env in the same folder as the compose?
The file contents look ok
That was it. One of the fallbacks of using dockge, it doesn't make env mgmt easy. Also, had to comment out
depends on:
entry for database
Still hitting this on startup.
Is this a permissions thing?
Or do I need to manually create those folders and .immich file beforehand?Most likely the first startup allowed it to boot with a phantom volume that is now gone because it wasn’t mounted
Can you clear out the PG database and try again?
By clear out, do you mean nuke the db and recreate it?
Prob should anyway, I had set up an admin user and everything already.
Yep

Did the trick. Thanks folks!