#Microservices crashing out on recent update

1 messages · Page 1 of 1 (latest)

obtuse kayak
#

Server has been running fine, this is post v1.106.4
update and I made the changes required and has been working fine until attempting to access today

manic sigilBOT
#

: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 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 using the buttons below or the /upload command.
  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.

manic sigilBOT
woven spruce
#

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

jagged gazelle
#

Same here. Latest version. Raspberry Pi 5 4GB

supple steppe
jagged gazelle
woven spruce
obtuse kayak
#

Hasnt fixed it in my case

obtuse kayak
digital epoch
#

I hit the same issues with no resolution as well. Similar logs to LM

obtuse kayak
#

fixed with command SELECT pgvectors_upgrade();

digital epoch