#exec /usr/bin/tini: exec format error when upgrading to v1.138.0

1 messages Β· Page 1 of 1 (latest)

pine scaffold
#

Hi everyone,
I am currently running 1.137.3 and everything works great but when i change the container tag to 1.138.0 i get the attached errors on startup

I also attached my docker compose and env (removed some sensitive parts though)

here the env please find the logs aswell as the docker compose attached
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=masked
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis
UPLOAD_LOCATION=photos
TYPESENSE_API_KEY=masked
PUBLIC_LOGIN_PAGE_MESSAGE=Hi Dude
IMMICH_WEB_URL=http://immich-web:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003

west cloudBOT
#

:wave: Hey @pine scaffold,

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

#

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.

west cloudBOT
shadow frigate
#

I think something went wrong downloading the container image, your compose looks fine

#

Compose down, delete the ML container image and compose up again, this should re-pull the image

#

Any reason you're not using env vars to force the version?

#

${IMMICH_VERSION:-release} everywhere and then using IMMICH_VERSION=v1.138.0 in the compose is much easier than editing it everywhere πŸ˜›

pine scaffold
pine scaffold
shadow frigate
#

Oh it's both immich_server and immich_ML with the error

pine scaffold
#

yes πŸ™‚

#

if i change the tag to 137.3 it works without issues

shadow frigate
#

What kind of platform are you running it on?

pine scaffold
#

rocky linux 9

#

updated to the latest version

#

same with the docker engine

shadow frigate
#

mm and the hardware?

#

or is it a VM

pine scaffold
#

vm in proxmox

#

its an old i5 6500

#

but that shouldnt matter

shadow frigate
#

Disk shouldn't be full because you just pruned πŸ€”

pine scaffold
#

[rocky@dock05 ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs 9.7G 0 9.7G 0% /dev/shm
tmpfs 3.9G 2.2M 3.9G 1% /run
/dev/sda4 109G 80G 30G 73% /
/dev/sda3 936M 609M 328M 66% /boot
/dev/sda2 100M 11M 90M 11% /efi
tmpfs 2.0G 0 2.0G 0% /run/user/1000
[rocky@dock05 ~]$

shadow frigate
#

The error should mean some kind of architecture mismatch but I don't understand how that would happen

pine scaffold
#

are there tags for the different architectures?

#

maybe i could try that

shadow frigate
#

Yes and no, docker should automatically pull the right one

pine scaffold
#

let me check the image website for the specific tag

shadow frigate
#

Looks like your road was. ... rocky

#

πŸ˜›

pine scaffold
#

first time i heard that one πŸ˜„

shadow frigate
#

Maybe try specifying platform: "linux/amd64" in the server/ml containers

#
services:
  immich-server:
    container_name: immich_server
    platform: "linux/amd64"
    image: ghcr.io/immich-app/immich-server:v1.138.0
#

something like that

#

ah wait

#

@pine scaffold I might see the issue here

#

Did you upgrade rocky at some point or was it always v9?

pine scaffold
#

it was always v9

shadow frigate
#

mmm

#

I see you're running x86-64-v3

#

v3 deprecates a bunch of things IIRC

pine scaffold
shadow frigate
#

I'm just guessing here honestly

pine scaffold
#

host didnt solve it

pine scaffold
#

just incorporated it into the docker compose

#

currently pulling

#

after a prune

#

same error

shadow frigate
#

well darn

#

So weird that it's only after 138

pine scaffold
#

yeah i wonder what was changed πŸ˜„

#

and its only me thats affected i assume

shadow frigate
#

I'm going to forward this to the developers to see if they have any insights πŸ™‚

pine scaffold
#

thanks mate πŸ™‚

shadow frigate
#

Currently yes, but Rocky isn't a popular host VM

#

Actually let me see if I can replicate this

pine scaffold
#

i could try on a different vm though

#

after i had something to eat

pine scaffold
shadow frigate
pine scaffold
#

thanks for your time btw

shadow frigate
#

No problem, weird issues are fun

shadow frigate
#

Ah rocky uses podman docker πŸ‘€

pine scaffold
#

i definitly need a staging vm for issues like these πŸ˜„
well funnily enough on another machine (same os, same patch level, same everything) the container was launching successfully

#

no i installed the docker engine

#

deleted

#

but here i dont have my prod database

shadow frigate
#

I also can't replicate this 😐

pine scaffold
#

looks like its a vm issue

#

well then i will get going and migrate the db

#

thank you very much for your help!

#

or i will wait and see what 139 brings

shadow frigate
#

docker image inspect --format "{{.ID}} {{.RepoTags}} {{.Architecture}}" $(docker image ls -q) What does this say?

pine scaffold
#

grepped it so that only immich is shown

shadow frigate
#

... I notice you have a lot of docker images/containers

#

Even though you said you pruned

#

What's going on there πŸ‘€

pine scaffold
#

i am confused about that too

#

when i prune it tells me this:
sha256:79f7001f3477dc6ffec045d698b5a77803d67e9e0843ccbb5d766218e12e1513 [ghcr.io/immich-app/immich-machine-learning:v1.115.0] amd64
[rocky@dock05 ~]$ sudo docker system prune
WARNING! This will remove:

  • all stopped containers
  • all networks not used by at least one container
  • all dangling images
  • unused build cache

Are you sure you want to continue? [y/N] y
Total reclaimed space: 0B
[rocky@dock05 ~]$

shadow frigate
#

docker image prune -a

#

system should indeed prune too πŸ€”

pine scaffold
#

its taking a long time for the command you sent me

#

hence i believe its pruning now πŸ˜„

shadow frigate
#

ah you need -a on system too

pine scaffold
#

well

#

the more you know

shadow frigate
#

A dangling image is one that has not been tagged.

#

An unused image is one that is not currently assigned to any container.

pine scaffold
#

and suddenly the vm is 50gbs smaller

#

Total reclaimed space: 46.21GB
[rocky@dock05 ~]$

#

lets test again

#

now its working

shadow frigate
#

Aww yiss

pine scaffold
#

your first hunch was correct πŸ˜„

#

is there a way i can tip you?

shadow frigate
#

Nope!

#

I'll throw it on the virtual beers pile

pine scaffold
#

stupid question but where are you from?

#

Austria for me

#

so going for a real beer is out of the question πŸ˜„

shadow frigate
#

You never know πŸ‘€

pine scaffold
#

if i am ever in belgium i will DM you πŸ˜‰

shadow frigate
#

Excellent

pine scaffold
#

so how can i move this to closed?

shadow frigate
#

YOu do /close

west cloudBOT
#

This thread has been closed. To re-open, use the button below.