#immich postgres error after update

1 messages · Page 1 of 1 (latest)

celest turretBOT
#

:wave: Hey @gusty socket,

Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich immich.

References

Checklist

  1. :blue_square: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :blue_square: I have read applicable release notes.
  3. :blue_square: I have reviewed the FAQs for known issues.
  4. :blue_square: I have reviewed Github for known issues.
  5. :blue_square: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the /upload command.
  7. :blue_square: I have tried an incognito window, 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)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

polar nebula
#

Hey @gusty socket, I had the same error while setting up a test environment today.
The problem is, that you need to update the postgres image in the compose file.
This immich version needs a different postgres image.
image: tensorchord/pgvecto-rs:pg14-v0.1.11@sha256:0335a1a22f8c5dd1b697f14f079934f5152eaaa216c09b61e293be285491f8ee

gusty socket
hidden zenith
#

Hiya @gusty socket , head over to this link:

https://github.com/immich-app/immich/releases/tag/v1.91.0

Make sure your compose file looks similar to what's there. As you can see, the red line means that the postgres image was removed, and the green line shows that the tensorchord image was added. Likewise, remove all references to typesense.

Hopefully that helps!

gusty socket
hidden zenith
#

Your volumes aren't set up it looks like? Did you get it working with this compose before? pgdata and model-cache don't have anything pointing to them.

gusty socket
gusty socket
gusty socket
hidden zenith
#

Actually, I think that's what I ended up doing. I just deleted the project, including the compose file, containers, and images. Then imported the new compose file, change the parameters to match my own installation, and rebuild the project.

#

As long as you got it working!

gusty socket
hidden zenith
#

What I ended up doing was removing the volumes section at the bottom of the compose file, then manually listed the volumes in the actual section.

#

For instance, my machine learning section looks like this:

    container_name: immich_machine_learning
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    volumes:
      - /volume2/docker/immich/model-cache:/cache
    env_file:
      - .env
    restart: always```
#

Instead of:

      - model-cache:/cache```

and then a section down the bottom going: 

```volumes:
  pgdata:
  model-cache:```
gusty socket