#cant get immich to work on docker

1 messages · Page 1 of 1 (latest)

signal pine
#

When I run docker compose up -d, the pull fails for immich-server and immich-microservices with Error response from daemon: manifest unknown or Error response from daemon: ... denied.

What I've Tried So Far:

I've spent several hours troubleshooting this and have tried the following, in multiple combinations:

Using the IMMICH_VERSION=release tag in my .env file.

Pinning to specific versions like v1.110.0 and v1.109.0.

Logging into ghcr.io with a fresh Personal Access Token that has read:packages scope. The login succeeds, but the pull still fails.

Logging out of ghcr.io to pull the images anonymously.

Running docker system prune -a --volumes between every single attempt to ensure a clean slate.

Switching to the linuxserver/immich-* images (both from lscr.io and ghcr.io/linuxserver/...), but those also fail with a denied error.

The strangest part is that I can pull other images from ghcr.io without any issues (e.g., flaresolverr, unpackerr). The problem seems to be specific to the Immich images.

Here is the Immich block from my docker-compose.yaml, which is adapted from the official file:
YAML

  immich-server:
    container_name: immich-server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    devices:
      - /dev/dri:/dev/dri
    volumes:
      - /mnt/data_hdd/immich/library:/data
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    ports:
      - '2283:3001'
    depends_on:
      - immich-redis
      - immich-postgres
    restart: always
    networks:
      - media-network
autumn gorgeBOT
#

:wave: Hey @signal pine,

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.

autumn gorgeBOT
tiny inlet
#

This compose section has issues, why not just use the default from the immich site?

thorn mural
#

Where did you get this compose from? Why are you trying to pin very old versions?

#

Just follow our official install guide please

autumn gorgeBOT
signal pine
#

im trying to implement into my existing docker compose file

thorn mural
#

Do you mean you have one big compose file for everything?

#

Cause you shouldn't do that, that's not how it's meant to be used

#

And it makes a bunch of things much more complicated

signal pine
#

i dont know it works for me, well ofcourse not with immich

#

so it wont work then?

tiny inlet
#

It will it's just not intended for docker compose. To point out why we are recommending this. In the posted compose, I see the port is wrong, /data won't work with old versions like you are trying. Not sure if other stuff is also going wrong as youve only posted a small snippet

signal pine
#

but with this wget isnt it more disorganized?

wooden cedar
#

You can do whatever you want. One stack works fine. It seems you may not have the docker knowledge needed for that, though

#

So your options are 1) learn more about docker or 2) use our standard deployment

signal pine
#

so i kinda managed to run it in my docker compose file just get a error

tiny inlet
#

Means you started immich at some point then changed the upload location but didn't move the files that immich created.

signal pine
#

ok i made it work now but now another issue why does the server go online but then offline every 2 seconds at the bottom?

tiny inlet
#

Accessing via reverse proxy?

signal pine
#

cloudflare tunnel

tiny inlet
#

Try via localhost. It's usually a websocket issue

signal pine
#

still didnt work

tiny inlet
#

Those fields use a websocket connection, it's disconnecting and reconnecting somehow. Why I am not sure

#

Then maybe look at the browser logs

signal pine
#

yeah i have some errors there

#

Error: getaddrinfo ENOTFOUND redis

at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:26) {

errno: -3008,

code: 'ENOTFOUND',

syscall: 'getaddrinfo',

hostname: 'redis'

}

missing 'error' handler on this Redis client

missing 'error' handler on this Redis client

tiny inlet
#

Looks like there's a problem connecting to redis

signal pine
#

ok it worked actually

signal pine
#

and now i have a issue and cant create api key i dont know why