Immich latest realese new installation on Raspberry Pi 4 error. Help!
New to the world of Raspberry Pi and Installing Immich on it. Followed the guide from the website using docker.
After the docker compose up -d the Web URL is not accessible.
On executing docker compose up getting the below:
immich_server | [Nest] 8 - 01/25/2025, 5:07:13 PM LOG [Microservices:EventRepository] Initialized websocket server
immich_server | Error: The pgvecto.rs extension is not available in this Postgres instance.
immich_server | If using a container image, ensure the image has the extension installed.
immich_server | at /usr/src/app/dist/services/database.service.js:73:23
immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
immich_server | at async /usr/src/app/dist/repositories/database.repository.js:211:23
immich_server | microservices worker error: Error: The pgvecto.rs extension is not available in this Postgres instance.
immich_server | If using a container image, ensure the image has the extension installed.
immich_server | microservices worker exited with code 1
83 Replies
:wave: Hey @Raj,
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_01GY0DAKGXDEHE263BCAYEGFJAChecklist
I have...
1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
2. :blue_square: read applicable release notes.
3. :blue_square: reviewed the FAQs for known issues.
4. :blue_square: reviewed Github for known issues.
5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
6. :blue_square: 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.GitHub
immich-app immich · Discussions
Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.
FAQ | Immich
User
GitHub
Issues · immich-app/immich
High performance self-hosted photo and video management solution. - Issues · immich-app/immich
Did yuo install 32 or 64 bit Raspbian?
64bit it is
Please post all the info the bot requested
.env file
docker-compose.yml file
code blocks are made by putting three backticks ` in front and in the back:

docker-compose.yml
fdisk -l
df -h
Thats all information I had to share, please let me know if any other logs needed.
docker compose logs
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8191775c4994 tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 40 minutes ago Exited (0) 40 minutes ago immich_postgres
3841965e7c27 ghcr.io/immich-app/immich-server:release "tini -- /bin/bash s…" 5 hours ago Exited (143) 40 minutes ago immich_server
748a08ccaaee ghcr.io/immich-app/immich-machine-learning:release "tini -- ./start.sh" 5 hours ago Exited (143) 40 minutes ago immich_machine_learning
53a25823e0ad redis:6.2-alpine "docker-entrypoint.s…" 5 hours ago Exited (0) 40 minutes ago immich_redis
9877852b7833 tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 6 hours ago Created postgres14
3b151906de52 hello-world "/hello" 10 hours ago Exited (0) 10 hours ago loving_brown
```
I see two postgres containers
Are you running any other container services?
No, if other instance needs to be killed/removed then I am fine. But don't know how to.
Try
docker compose down
followed by docker container prune
This should clear out all containers, but the image and DB storage is persistant so we get to keep those
Then docker compose up -d
againDone, same error again.
Does the
docker ps -a
still list two postgres?now
alright, progress at least
I would try re-pulling the (postgres) container images next
docker compose up --force-recreate -d
Still same.
Just thinking if we have to install manually the missing pgvecto.rs extension?
Shouldn't be the case, no, it's explicitely built into the image
The only thing I can think of is somehow there is a postgres database on the network, reachable, with default settings
Is there any way to find out that?
maybe
docker compose start immich_server
and check the logs
docker compose down
first
It should only start the immich_server container so if it says that the DB instance doesn't have vector extensions then that means there is another DB somewhereGetting:
I have this on Raspberry Pi 4, running Hyperion and Open media vault only these two services
immich-server
probably worksDo I need to start the redis before this? immich-server errors out:
I have no idea what Hyperion is
This is a Ambilight project to control LED strips.
Alright what about
docker compose start database
ah of course
docker compose create
first
and then docker start immich_postgres
should do itdocker compose start immich-server
I tried immch-server and it started all three
i know lol
now you can check the installed extensions with
docker exec -it immich_postgres psql -U postgres
It has presented me the space for postgres sql now
Yay
Now
\c immich
and \dx
Expected output:
Well that doesn't seem right
Ok so this is brand new right, nothing used/uploaded yet?
right
exit; to get out
then
docker compose down
then just nuke the database folder, it's called postgres
, should be right in that folder you're in
and then docker compose up -d
againsorry didn't follow, means delete the folder?
yes, you could
mv
it first just to be safe you don't delete anything else 😛 but indeed rm -rf ./postgres
should do itDone, getting the same two rows now as well
;_; how even
You did
docker compose up -d
right?Yupe
Could you exit hte container and copy the output of
docker inspect immich_postgres
to a file?
I'm going to workout now but I'll check on it in a bitdocker inspect immich_postgres
Can you also inspect the server container?
Sure
docker inspect immich_server
Still stumped 😐
That extension gets added by immich on first boot
You wont see it until the database is initialized
Can you please check the immich_server logs again?
Can you add DB_HOSTNAME=immich_postgres to the .env
(and then
docker compose up -d
of course)same
Can you go into the Postgres folder and check the logs
Any idea how to go inside
could you
ls -la ~/immich-app
for us pleaseIs there any difference in output between
docker ps -a
and sudo docker ps -a
?docker ps -a
sudo docker ps -a
seems same
Is this in /home/admin/immich-app?
Why is the ownership so messed up
postgres is 999, which is the same as openmediavault-webgui
Oh 999 I see
Yes
yes
does seem weird that the group is root and not 999 as well
I think that’s normal for PG
ah right it'll be all 999 inside the folder
anyway bedtime for me 🙂
Not sure about why this happened
Is there any other steps I should try or is it the dead end.
Bumping up this to check if I can try any other steps.]
Right sorry to leave you hanging there
Could you
df -hT
for meHi How are you doing, Thanks for helping
Looking good
Ok so scrolling up/down here
You mention RPi
But I see OMV
Are you running OMV next to immich?
Is OMV installed on the RPi as OS?
Let me add the URL from which I downloaded
GitHub
GitHub - hyperion-project/HyperBian: Hyperion pre installed on Rasp...
Hyperion pre installed on Raspberry Pi OS Lite. Contribute to hyperion-project/HyperBian development by creating an account on GitHub.
so on Raspberry pi I have installed Hyperbian which is actually a Raspberry Pi OS lite
and installed OMV later
Bro/sis I think you need to start over
Your server is what seems to be a LED light controller system ..?
So should I install fresh and then first setup immich
So you have a Pi, on top of that this LED server, on top of that OMV, then immich..?
and then later other things?
Just regular Raspbian (lite)
Yes I think you should install plain raspberry OS. 64 bit
Hyperbian doesn't seem like it's supposed to be used for anything else 👀
Yes, this Hyperbian comes with Hyperion pre installed(LED controlloing server) and then on top of it installed OMV then immich
In this sequence
My OMV is accessible with this URL
http://<pi-ip-address>/#/dashboard
Is OMV clashing with Immich!
Trying a fresh install, will keep you guys updated
Thanks for the help