#Microservices crashing out on recent update
1 messages · Page 1 of 1 (latest)
:wave: Hey @obtuse kayak,
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
.
References
- Container Logs:
docker compose logsdocs - Container Status:
docker compose psdocs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
Checklist
- :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
- :ballot_box_with_check: I have read applicable release notes.
- :ballot_box_with_check: I have reviewed the FAQs for known issues.
- :ballot_box_with_check: I have reviewed Github for known issues.
- :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
- :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the
/uploadcommand. - :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.
@obtuse kayak uploaded
@obtuse kayak uploaded
@obtuse kayak uploaded
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
I think I have this issue too, but a much more cryltic error message
Migration "AddFaceSearchRelation1718486162779" failed, error: internal error: entered unreachable code
immich_server | QueryFailedError: internal error: entered unreachable code
immich_server | at PostgresQueryRunner.query (/usr/src/app/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:219:19)
immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
immich_server | at async AddFaceSearchRelation1718486162779.up (/usr/src/app/dist/migrations/1718486162779-AddFaceSearchRelation.js:23:9)
immich_server | at async MigrationExecutor.executePendingMigrations (/usr/src/app/node_modules/typeorm/migration/MigrationExecutor.js:225:17)
immich_server | at async DataSource.runMigrations (/usr/src/app/node_modules/typeorm/data-source/DataSource.js:265:35)
immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/dist/repositories/database.repository.js:169:9)
immich_server | at async /usr/src/app/dist/services/database.service.js:134:17
immich_server | at async /usr/src/app/dist/repositories/database.repository.js:177:23 {
immich_server | query: '\n' +
immich_server | ' CREATE INDEX face_index ON face_search\n' +
immich_server | ' USING hnsw (embedding vector_cosine_ops)\n' +
immich_server | ' WITH (ef_construction = 300, m = 16)',
immich_server | parameters: undefined,
immich_server | driverError: error: internal error: entered unreachable code
immich_server | at /usr/src/app/node_modules/pg/lib/client.js:526:17
immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
immich_server | at async PostgresQueryRunner.query (/usr/src/app/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js
:184:25)
immich_server | at async AddFaceSearchRelation1718486162779.up (/usr/src/app/dist/migrations/1718486162779-AddFaceSearchRelation.js:23:9)
immich_server | at async MigrationExecutor.executePendingMigrations (/usr/src/app/node_modules/typeorm/migration/MigrationExecutor.js:225:17)
immich_server | at async DataSource.runMigrations (/usr/src/app/node_modules/typeorm/data-source/DataSource.js:265:35)
immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/dist/repositories/database.repository.js:169:9)
immich_server | at async /usr/src/app/dist/services/database.service.js:134:17
immich_server | at async /usr/src/app/dist/repositories/database.repository.js:177:23 {
immich_server | length: 82,
immich_server | severity: 'ERROR',
immich_server | code: 'XX000',
immich_server | detail: undefined,
immich_server | hint: undefined,
immich_server | position: undefined,
immich_server | internalPosition: undefined,
immich_server | internalQuery: undefined,
immich_server | where: undefined,
immich_server | schema: undefined,
immich_server | table: undefined,
immich_server | column: undefined,
immich_server | dataType: undefined,
immich_server | constraint: undefined,
immich_server | file: 'utils.rs',
immich_server | line: '21',
immich_server | routine: undefined
immich_server | },
immich_server | length: 82,
immich_server | severity: 'ERROR',
immich_server | code: 'XX000',
immich_server | detail: undefined,
immich_server | hint: undefined,
immich_server | position: undefined,
immich_server | internalPosit
ion: undefined,
immich_server | internalQuery: undefined,
immich_server | where: undefined,
immich_server | schema: undefined,
immich_server | table: undefined,
immich_server | column: undefined,
immich_server | dataType: undefined,
immich_server | constraint: undefined,
immich_server | file: 'utils.rs',
immich_server | line: '21',
immich_server | routine: undefined
immich_server | }
Ohh, didnt mean to post it like that, sorry everyone
Same here. Latest version. Raspberry Pi 5 4GB
Same error logs or just your microservices crashing?
same error log, but I solved it with this: https://www.reddit.com/r/immich/comments/1ducdg7/comment/lbghany/
The alter table commands solved it for me too
Hasnt fixed it in my case
Crashlog after attempting above mentioned solutions
I hit the same issues with no resolution as well. Similar logs to LM
fixed with command SELECT pgvectors_upgrade();
I was finally able to get mine working on the latest 1.110 using the issue here: https://github.com/immich-app/immich/issues/10767#issuecomment-2226356894