docker-immich icon indicating copy to clipboard operation
docker-immich copied to clipboard

Docker image error on Unraid with latest version v1.91.4-ig233

Open JSM2703 opened this issue 2 years ago • 8 comments

Latest version :

Fout: failed to register layer: ApplyLayer exit status 1 stdout: stderr: lchown /app/immich/server/node_modules/highlight.js/styles/foundation.css: invalid argument

JSM2703 avatar Dec 24 '23 19:12 JSM2703

can you post your complete logs?

hydazz avatar Dec 27 '23 01:12 hydazz

i have some other error with latest image, not sure when this happened or if this is related Error: The pgvecto.rs extension version is 0.1.11, but Immich only supports 0.2.0 and later minor releases. If the Postgres instance already has a compatible version installed, Immich may not have the necessary permissions to activate it. In this case, please run 'ALTER EXTENSION UPDATE vectors' manually as a superuser. See https://immich.app/docs/guides/database-queries for how to query the database. Otherwise, please update the version of pgvecto.rs in the Postgres instance to a compatible version. at DatabaseService.assertVectorExtension (/app/immich/server/dist/domain/database/database.service.js:137:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async /app/immich/server/dist/domain/database/database.service.js:39:13 at async /app/immich/server/dist/infra/repositories/database.repository.js:185:23

7eptem avatar Feb 24 '24 13:02 7eptem

i have some other error with latest image, not sure when this happened or if this is related Error: The pgvecto.rs extension version is 0.1.11, but Immich only supports 0.2.0 and later minor releases. If the Postgres instance already has a compatible version installed, Immich may not have the necessary permissions to activate it. In this case, please run 'ALTER EXTENSION UPDATE vectors' manually as a superuser. See https://immich.app/docs/guides/database-queries for how to query the database. Otherwise, please update the version of pgvecto.rs in the Postgres instance to a compatible version. at DatabaseService.assertVectorExtension (/app/immich/server/dist/domain/database/database.service.js:137:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async /app/immich/server/dist/domain/database/database.service.js:39:13 at async /app/immich/server/dist/infra/repositories/database.repository.js:185:23

You have to update your postgres docker image https://github.com/imagegenius/docker-immich/issues/254#issuecomment-1935803120

martabal avatar Feb 24 '24 13:02 martabal

i have some other error with latest image, not sure when this happened or if this is related Error: The pgvecto.rs extension version is 0.1.11, but Immich only supports 0.2.0 and later minor releases. If the Postgres instance already has a compatible version installed, Immich may not have the necessary permissions to activate it. In this case, please run 'ALTER EXTENSION UPDATE vectors' manually as a superuser. See https://immich.app/docs/guides/database-queries for how to query the database. Otherwise, please update the version of pgvecto.rs in the Postgres instance to a compatible version. at DatabaseService.assertVectorExtension (/app/immich/server/dist/domain/database/database.service.js:137:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async /app/immich/server/dist/domain/database/database.service.js:39:13 at async /app/immich/server/dist/infra/repositories/database.repository.js:185:23

You have to update your postgres docker image #254 (comment)

i just did but now i have this in the logs

ERROR: pgvecto.rs: The extension is upgraded so all index files are outdated. ADVICE: Delete all index files. Please read https://docs.pgvecto.rs/admin/upgrading.html. 2024-02-24 14:06:52.973 GMT [1750] STATEMENT:

7eptem avatar Feb 24 '24 14:02 7eptem

Please read https://github.com/immich-app/immich/releases/tag/v1.95.0

martabal avatar Feb 24 '24 14:02 martabal

Please read https://github.com/immich-app/immich/releases/tag/v1.95.0

i think i need more assistance, i do not use docker compose, i use unraid

i did try to add this into the console in postgres `BEGIN;

CREATE SCHEMA IF NOT EXISTS vectors; ALTER DATABASE immich SET search_path TO "$user", public, vectors; SET search_path TO "$user", public, vectors;

UPDATE pg_catalog.pg_extension SET extversion = '0.1.11' WHERE extname = 'vectors'; UPDATE pg_catalog.pg_extension SET extrelocatable = true WHERE extname = 'vectors'; ALTER EXTENSION vectors SET SCHEMA vectors; UPDATE pg_catalog.pg_extension SET extrelocatable = false WHERE extname = 'vectors'; ALTER EXTENSION vectors UPDATE TO '0.2.0';

SELECT pgvectors_upgrade();

COMMIT;`

but i get `COMMIT;sh: 1: BEGIN: not found

# sh: 3: CREATE: not found

sh: 4: ALTER: not found

sh: 5: SET: not found

# sh: 7: UPDATE: not found

sh: 8: UPDATE: not found

sh: 9: ALTER: not found

sh: 10: UPDATE: not found

sh: 11: ALTER: not found

# sh: 13: Syntax error: "(" unexpected

# `

sorry but i dont know i can update this

7eptem avatar Feb 24 '24 14:02 7eptem

You need to use to do in psql or in a postgres tool like dbeaver, adminer...

martabal avatar Feb 24 '24 14:02 martabal

i had the same issue on unraid and i was replacing my postgre installation with the ones from spaceinvader: search in the unraid community app store for "PostgreSQL_Immich". i saw there is also an official version ... you could also try this.

bishop1978 avatar Mar 10 '24 17:03 bishop1978