#Server getting stuck booting after Api:EventRepository

1 messages · Page 1 of 1 (latest)

glad oyster
#

Was having an issue with the server running in k8s where it was getting stuck at this point.

To try and work around this I deleted everything and setup again from scratch on the latest helm chart 0.8.2 and on the latest version of Immich 1.118.2. However the same issue persists. The PVC's for the Postgres and the immich-library have all been deleted to let it recreate but no luck.

From the server, installed the postgresql-client and can access the DB with the provided creds.

Turned on IMMICH_LOG_LEVEL: verbose but this hasn't really given any further clues to the cause of the issue. Not seeing anything in /var/logs either

Just trying to get some help on how to get more details out of the app on what it is having issues with:

Initializing Immich v1.118.2
DEBUG: cgroup v2 detected.
DEBUG: No CPU limits set.
Detected CPU Cores: 8
Starting api worker
Starting microservices worker
[Nest] 7 - 10/21/2024, 4:30:35 PM LOG [Microservices:EventRepository] Initialized websocket server
[Nest] 7 - 10/21/2024, 4:30:35 PM LOG [Microservices:MapRepository] Initializing metadata repository
[Nest] 17 - 10/21/2024, 4:30:36 PM LOG [Api:EventRepository] Initialized websocket server

meager oceanBOT
#

:wave: Hey @glad oyster,

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. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: I have read applicable release notes.
  3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
  4. :ballot_box_with_check: I have reviewed Github for known issues.
  5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting.
  7. :ballot_box_with_check: I have 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)

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

meager oceanBOT
real arch
#

The postgres in the chart comes from bitnami and they set some stupid resource limits that you'll want to override

glad oyster
#

<slams head on desk> we had tried with increased resources, but didnt add it to the values so it never stuck after all the other tests.

Moved this from a manual StatefulSet edit to the values and its now working. Time to get everything backed up again.
Thanks for the support

For anyone else finding this:

postgresql:
enabled: true
image:
repository: tensorchord/pgvecto-rs
tag: pg16-v0.2.1
global:
postgresql:
auth:
username: immich
database: immich
password: immich
primary:
initdb:
scripts:
create-extensions.sql: |
CREATE EXTENSION cube;
CREATE EXTENSION earthdistance;
CREATE EXTENSION vectors;
resources:
limits:
cpu: "800m"
memory: "4Gi"
requests:
cpu: "300m"
memory: "1Gi"