error when running Docker compose
I get this error when I run the docker-compose up -d command:
ERROR: Named volume "absolute_location_on_your_machine_where_you_want_to_store_the_backup:/usr/src/app/upload:rw" is used in service "immich-microservices" but no declaration was found in the volumes section.
For some reason I cannot locate the. ENV file  I believe it’s hidden? 
40 Replies
Well you need to make sure the env file in the directory
Try “cat .env”
download the example.env from the git page, change to .env and change the contents as needed
The file is
.env
is a hidden file since it starts with a dot. You can configure the file explorer to show them though.Thank you for your responses.
I forgotten to mention that I definitely have that file as I opened it in nano.
I downloaded it using wget
What's the output of
ls -la
?
It should list it in there if it existsI also changed the DB password as well as the API key and path
What I meant originally is that I wasn’t able to attach the. ENV file to discord
Aha
You should be able to just copy paste it into a message
If you use three backticks (`) you can code format it
total 16
drwxrwxrwx 1 root root 0 Aug 5 00:19 .
drwxrwxrwx 1 root root 4096 Aug 4 23:26 ..
-rwxrwxrwx 1 root root 2376 Jul 28 19:41 docker-compose.yml
-rwxrwxrwx 1 root root 5683 Aug 5 00:19 .env
drwxrwxrwx 1 root root 0 Aug 5 00:19 .
drwxrwxrwx 1 root root 4096 Aug 4 23:26 ..
-rwxrwxrwx 1 root root 2376 Jul 28 19:41 docker-compose.yml
-rwxrwxrwx 1 root root 5683 Aug 5 00:19 .env
A bit of a long way of doing it but I managed to copy it into Windows LOL
UPLOAD_LOCATION=absolute_location_on_your_machine_where_you_want_to_store_the_backup
You need to change this to the path you want to useIs this where all the photos will be stored?
That explains, I think I put the path in the wrong line let me try that
I managed to run it, but I get an error about using an arm device
Creating network "immich-app_default" with the default driver
Creating volume "immich-app_pgdata" with default driver
Creating volume "immich-app_model-cache" with default driver
Creating volume "immich-app_tsdata" with default driver
Pulling immich-machine-learning (ghcr.io/immich-app/immich-machine-learning:release)...
release: Pulling from immich-app/immich-machine-learning
ERROR: no matching manifest for linux/arm/v8 in the manifest list entries Is there an arm version that I will have to install?
Creating volume "immich-app_pgdata" with default driver
Creating volume "immich-app_model-cache" with default driver
Creating volume "immich-app_tsdata" with default driver
Pulling immich-machine-learning (ghcr.io/immich-app/immich-machine-learning:release)...
release: Pulling from immich-app/immich-machine-learning
ERROR: no matching manifest for linux/arm/v8 in the manifest list entries Is there an arm version that I will have to install?
Are you running this on raspberry pi?
Yep
It is the only Linux machine I have LOL
Your os is 32 bit, you need a 64 bit one to run immich. If it was 64 bit it would look for linux/arm64/v8
Oh
I’ve been following the main tutorial
Do you have another link for the 32 bit version?
There is no 32 bit version of immich. Are you asking for a raspberry pi tutorial for 64bit?
Yes please
Would it work? You said my OS is 32-bit?
I'm not an active pi user, so I don't have any recommendations, I just know the error you are getting is because of an incompatible os
I just installed Rasbion light, do you think I would have to reinstall the whole OS?
I just ran uname -m and it says arm64
I suggest you run ubuntu server 64bit on your pi to not runing into any issue

Ubuntu
Install Ubuntu on a Raspberry Pi | Ubuntu
Ubuntu is an open-source operating system for cross-platform development, there's no better place to get started than with Ubuntu on a Raspberry Pi
The pi imager can also burn ubuntu 64 bit image
Raspberry Pi
Raspberry Pi OS – Raspberry Pi
From industries large and small, to the kitchen table tinkerer, to the classroom coder, we make computing accessible and affordable for everybody.
I see, if this is the only option I will probably have to do this.
But I don’t really want to reinstall everything and I’m so used to using rasbian
rasbian is a "derivative" of debian as well as ubuntu
so you should feel the same 🙂
It should work then 🤔
Just to check - which raspi model do you have?
4B I believe, the 8gb version
can you print the output of
uname -m
here?Yep arch64
try this
getconf LONG_BIT
32 hmm
yep you are on 32bit
the new rpi update use Linux 64bit kernel by default but your OS is running 32bit version
You might be able to install a 64 bit kernel in place without redoing the whole os
But you'll need to ask Google for help with how to do that :p
I will take a look thank you for your help
If it’s not possible, and I would have to reinstall, how do I ensure that I have the right version? I’m pretty sure I just downloaded the defaultRasbion light
I suggest using ubuntu server 64bit image above
Alrighty, thank you I will reinstall with Ubuntu if all fails 🙂
Ah heck, I might as well reinstall and use my 500gb SD card instead. Brb as I go do this
You may want to disable some logging. Sd cards don't like excessive writing and Ubuntu logs a lot by default
Thank you for the tip, I will have to get into the card first.
For some reason I cannot SSH or ping the Pi, my router sees it but not 'sure what's wrong, so would have to connect it to a Monitor so just waiting on my micro hdmi cable