© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•14mo ago•
3 replies
RubenHensen

Immich server and Postgresql crashes when upgrading Helm chart to v1.122.3

If you have problem that your Immich and Postgres containers crash when you upgrade you Immich version to v1.122.3? You might even get the error
 ERROR [Microservices:MetadataService] Unable to initialize reverse geocoding: QueryRunnerAlreadyReleasedError
 ERROR [Microservices:MetadataService] Unable to initialize reverse geocoding: QueryRunnerAlreadyReleasedError
or something about the database closing abruptly.

Solution: the MapRepository microservice is trying to import about 200000 geo data records with crashes the server because the helm chart adds a limit on the postgresql instance. Increase or remove the limit of the postgresql container to fix the crashing.

Example of values.yaml:
...

image:
  tag: v1.122.3

...

# Dependencies

postgresql:
  enabled: true
  image:
    repository: tensorchord/pgvecto-rs
    tag: pg14-v0.2.0
  global:
    postgresql:
      auth:
        username: immich
        database: immich
        password: immich
  primary:
    containerSecurityContext:
      readOnlyRootFilesystem: false
    initdb:
      scripts:
        create-extensions.sql: |
          CREATE EXTENSION cube;
          CREATE EXTENSION earthdistance;
          CREATE EXTENSION vectors;
    resources:
      limits: {}
      requests:
        cpu: 200m
        memory: 256Mi

...
...

image:
  tag: v1.122.3

...

# Dependencies

postgresql:
  enabled: true
  image:
    repository: tensorchord/pgvecto-rs
    tag: pg14-v0.2.0
  global:
    postgresql:
      auth:
        username: immich
        database: immich
        password: immich
  primary:
    containerSecurityContext:
      readOnlyRootFilesystem: false
    initdb:
      scripts:
        create-extensions.sql: |
          CREATE EXTENSION cube;
          CREATE EXTENSION earthdistance;
          CREATE EXTENSION vectors;
    resources:
      limits: {}
      requests:
        cpu: 200m
        memory: 256Mi

...
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Install immich with helm chart
ImmichIImmich / help-desk-support
9mo ago
Can't deploy Immich from Helm chart
ImmichIImmich / help-desk-support
15mo ago
300Mb PSD crashes immich
ImmichIImmich / help-desk-support
8mo ago
Trouble upgrading from v1.131.3 to v1.132.3
ImmichIImmich / help-desk-support
9mo ago