I
Immich2y ago
wily

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
Alex Tran
Alex Tran2y ago
Well you need to make sure the env file in the directory Try “cat .env”
idmann
idmann2y ago
download the example.env from the git page, change to .env and change the contents as needed
jrasm91
jrasm912y ago
The file is .env is a hidden file since it starts with a dot. You can configure the file explorer to show them though.
wily
wilyOP2y ago
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
bo0tzz
bo0tzz2y ago
What's the output of ls -la? It should list it in there if it exists
wily
wilyOP2y ago
I 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
bo0tzz
bo0tzz2y ago
Aha You should be able to just copy paste it into a message If you use three backticks (`) you can code format it
like this
like this
wily
wilyOP2y ago
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
wily
wilyOP2y ago
wily
wilyOP2y ago
A bit of a long way of doing it but I managed to copy it into Windows LOL
bo0tzz
bo0tzz2y ago
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 use
wily
wilyOP2y ago
Is 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?
Alex Tran
Alex Tran2y ago
Are you running this on raspberry pi?
wily
wilyOP2y ago
Yep It is the only Linux machine I have LOL
jrasm91
jrasm912y ago
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
wily
wilyOP2y ago
Oh I’ve been following the main tutorial Do you have another link for the 32 bit version?
jrasm91
jrasm912y ago
There is no 32 bit version of immich. Are you asking for a raspberry pi tutorial for 64bit?
wily
wilyOP2y ago
Yes please Would it work? You said my OS is 32-bit?
jrasm91
jrasm912y ago
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
wily
wilyOP2y ago
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
Alex Tran
Alex Tran2y ago
I suggest you run ubuntu server 64bit on your pi to not runing into any issue
Alex Tran
Alex Tran2y ago
No description
Alex Tran
Alex Tran2y ago
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
Alex Tran
Alex Tran2y ago
The pi imager can also burn ubuntu 64 bit image
Alex Tran
Alex Tran2y ago
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.
wily
wilyOP2y ago
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
Alex Tran
Alex Tran2y ago
rasbian is a "derivative" of debian as well as ubuntu so you should feel the same 🙂
bo0tzz
bo0tzz2y ago
It should work then 🤔 Just to check - which raspi model do you have?
wily
wilyOP2y ago
4B I believe, the 8gb version
Alex Tran
Alex Tran2y ago
can you print the output of uname -m here?
wily
wilyOP2y ago
Yep arch64
Alex Tran
Alex Tran2y ago
try this getconf LONG_BIT
wily
wilyOP2y ago
32 hmm
Alex Tran
Alex Tran2y ago
yep you are on 32bit the new rpi update use Linux 64bit kernel by default but your OS is running 32bit version
bo0tzz
bo0tzz2y ago
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
wily
wilyOP2y ago
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
Alex Tran
Alex Tran2y ago
I suggest using ubuntu server 64bit image above
wily
wilyOP2y ago
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
jrasm91
jrasm912y ago
You may want to disable some logging. Sd cards don't like excessive writing and Ubuntu logs a lot by default
wily
wilyOP2y ago
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

Did you find this page helpful?