it won't download on my pi

It is running armv8
45 Replies
jrasm91
jrasm912y ago
linux/arm/v8 = 32 bit os. You should be pulling linux/arm64/v6 = 64 bit os.
RefinedTheMite
RefinedTheMiteOP2y ago
How? I changed it as whichever one I try and pull I get the same error
jrasm91
jrasm912y ago
You probably need to re-install an operating system on your PI with a 64 bit kernal.
RefinedTheMite
RefinedTheMiteOP2y ago
O Hang on
RefinedTheMite
RefinedTheMiteOP2y ago
No description
RefinedTheMite
RefinedTheMiteOP2y ago
Aarch64 I did change it A while ago There is a config file that changes that As it set 64bit from 0 to 1 to be able to run photoprism
jrasm91
jrasm912y ago
What is the output of lscpu?
RefinedTheMite
RefinedTheMiteOP2y ago
And that worked first time
RefinedTheMite
RefinedTheMiteOP2y ago
No description
RefinedTheMite
RefinedTheMiteOP2y ago
Here
jrasm91
jrasm912y ago
I wonder if you need to re-install docker after changing it to 64 bit?
RefinedTheMite
RefinedTheMiteOP2y ago
Photoprism worked fine Immediately
jrasm91
jrasm912y ago
It uses docker?
RefinedTheMite
RefinedTheMiteOP2y ago
Yes Running healthy ever since I changed to 64bit
jrasm91
jrasm912y ago
Well, for some reason it thinks you have a 32 bit os and it requesting that version of the docker image. You can override that and specify a specific architecture though
RefinedTheMite
RefinedTheMiteOP2y ago
Got it how In my yml file
jrasm91
jrasm912y ago
I believe you can just add something like:
platform: linux/arm64/v8
platform: linux/arm64/v8
RefinedTheMite
RefinedTheMiteOP2y ago
It's really weird photoprism pull the 64bit version on its own
jrasm91
jrasm912y ago
To each service, under image: ... or so.
RefinedTheMite
RefinedTheMiteOP2y ago
O thx I will try Under image didn't work
RefinedTheMite
RefinedTheMiteOP2y ago
No description
Onelots.
Onelots.2y ago
@RefinedTheMite
Onelots.
Onelots.2y ago
try this docker-compose
Onelots.
Onelots.2y ago
so sudo docker compose up -d (plz ping me if it works :happ: )
RefinedTheMite
RefinedTheMiteOP2y ago
It kind of works @Onelots. but it keeps on restarting Like every couple of seconds
RefinedTheMite
RefinedTheMiteOP2y ago
No description
RefinedTheMite
RefinedTheMiteOP2y ago
Any ideas much appreciated
Onelots.
Onelots.2y ago
:Think: Try to deploy using docker compose Stack system isn't really good I think The way you deploy it with web editor
jrasm91
jrasm912y ago
You should look at the exit code. It might have pulled and started, but if you are running it on the wrong architecture it could throw an illegal instruction, which causes it to crash loop.
RefinedTheMite
RefinedTheMiteOP2y ago
I did, I just use portainer to get visual look at all of my containers There are no logs and also portainer can't seem to give me an exit code since it stops for like a few milliseconds then restarts so all portainer states that it is healthy but has restarted more than 29 times.
jrasm91
jrasm912y ago
You'd have to run docker ps -a to see the exit code.
RefinedTheMite
RefinedTheMiteOP2y ago
Ok Nope Just restarting That's what is says
RefinedTheMite
RefinedTheMiteOP2y ago
No description
RefinedTheMite
RefinedTheMiteOP2y ago
Also weird that there are no logs At all
jrasm91
jrasm912y ago
Maybe update the compose file to not have "restart: always" and redeploy
RefinedTheMite
RefinedTheMiteOP2y ago
Errr ok Now I have done that it is giving me an exit code 159 @Onelots.
RefinedTheMite
RefinedTheMiteOP2y ago
No description
jrasm91
jrasm912y ago
159 is illegal instruction. The docker image isn't completed for your kernal/os and docker was probably right asking for Linux/arm/v8 to begin with.
RefinedTheMite
RefinedTheMiteOP2y ago
Right... Any fix...
jrasm91
jrasm912y ago
I mean, I'm no expert but it looks like you aren't actually running a 64bit install of something.
RefinedTheMite
RefinedTheMiteOP2y ago
Errr
jrasm91
jrasm912y ago
Either docker, kernal, os, etc.
RefinedTheMite
RefinedTheMiteOP2y ago
Hummm Os is cpu is docker might not be Just to leave it if anyone knows how to fix that will be great error 159 using This
Onelots.
Onelots.2y ago
I'll try an other fix tonight I'm not home currently
RefinedTheMite
RefinedTheMiteOP2y ago
Dw I have moved to photoprism as that works ...

Did you find this page helpful?