Closed eygraber closed 9 months ago
Not sure if related, but the following warning shows up in the logs:
WARN [ExpressAdapter] Content-Type doesn't match Reply body, you might need a custom ExceptionFilter for non-JSON responses
Does it happen if you use local IP?
No, it doesn't happen is I use local IP
Try restart your proxy, it probably caches something
I restarted it, and the issue still happens. Nothing suspicious in the proxy logs either.
Then try clear your browser cache
Maybe your reverse proxy isn't configured to correctly forward websocket connections. Are you using nginx by chance? If so, please take a look at the nginx example config and make sure your configuration is correct.
It should be. It was working fine until I updated Immich.
I don't know whether it is related or not. But I cannot access Immich, and the Docker Compose logs show this error:
immich_microservices | [Nest] 7 - 02/21/2024, 6:29:35 AM LOG [CommunicationRepository] Initialized websocket server
immich_microservices | /usr/src/app/dist/domain/database/database.service.js:137
immich_microservices | throw new Error(`
immich_microservices | ^
immich_microservices |
immich_microservices | Error:
immich_microservices | The pgvecto.rs extension version is 0.1.11, but Immich only supports 0.2.0 and later minor releases.
immich_microservices |
immich_microservices | If the Postgres instance already has a compatible version installed, Immich may not have the necessary permissions to activate it.
immich_microservices | In this case, please run 'ALTER EXTENSION UPDATE vectors' manually as a superuser.
immich_microservices | See https://immich.app/docs/guides/database-queries for how to query the database.
immich_microservices |
immich_microservices | Otherwise, please update the version of pgvecto.rs in the Postgres instance to a compatible version.
immich_microservices | at DatabaseService.assertVectorExtension (/usr/src/app/dist/domain/database/database.service.js:137:19)
immich_microservices | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
immich_microservices | at async /usr/src/app/dist/domain/database/database.service.js:39:13
immich_microservices | at async /usr/src/app/dist/infra/repositories/database.repository.js:185:23
immich_microservices |
immich_microservices | Node.js v20.11.0
Same issue for me, Docker compose.
[Nest] 7 - 02/21/2024, 6:44:13 AM LOG [CommunicationRepository] Initialized websocket server
/usr/src/app/dist/domain/database/database.service.js:137
throw new Error(`
In DB instance
2024-02-21 06:51:18.285 UTC [40] ERROR: pgvecto.rs: The index is not existing in the background worker.
ADVICE: Drop or rebuild the index.
2024-02-21 06:51:18.285 UTC [40] STATEMENT:
SELECT idx_status
FROM pg_vector_index_stat
WHERE indexname = $1
Update:
Finaly I update my DB image to image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
Restart all services an it works!
same problem ,help
same here?!?
I cannot login with apache2 config https://immich.app/docs/administration/reverse-proxy/#apache-example-config Without apache2 as reverse proxy login is possible.
Same issue for me, Docker compose.
[Nest] 7 - 02/21/2024, 6:44:13 AM LOG [CommunicationRepository] Initialized websocket server /usr/src/app/dist/domain/database/database.service.js:137 throw new Error(`
In DB instance
2024-02-21 06:51:18.285 UTC [40] ERROR: pgvecto.rs: The index is not existing in the background worker. ADVICE: Drop or rebuild the index. 2024-02-21 06:51:18.285 UTC [40] STATEMENT: SELECT idx_status FROM pg_vector_index_stat WHERE indexname = $1
Update:
Finaly I update my DB image to
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
Restart all services an it works!
Same error and offered solution to change the image and restart the both docker container works for me, thanks!
same here?!?
I cannot login with apache2 config https://immich.app/docs/administration/reverse-proxy/#apache-example-config Without apache2 as reverse proxy login is possible.
I had the same issue. In my apache configuration I had a directive to add HttpOnly to most cookies. PR #6765 adds some code to access cookies in JavaScript and so HttpOnly Cookies don't work.
same here?!? I cannot login with apache2 config https://immich.app/docs/administration/reverse-proxy/#apache-example-config Without apache2 as reverse proxy login is possible.
I had the same issue. In my apache configuration I had a directive to add HttpOnly to most cookies. PR #6765 adds some code to access cookies in JavaScript and so HttpOnly Cookies don't work.
Deactivating "Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure" has helped ... thanks
None of those solutions address my issue. I had already updated the docker image, and I don't use Apache. Not sure why this was closed 🤔
Looks like the nginx docs were updated - https://immich.app/docs/administration/reverse-proxy#nginx-example-config
It would be nice if stuff like this was called out in the release notes.
Looks like the nginx docs were updated - https://immich.app/docs/administration/reverse-proxy#nginx-example-config
It would be nice if stuff like this was called out in the release notes.
Huh interesting. Not sure how I missed that, and also missed the error in 1.94.0 ¯\_(ツ)_/¯
The bug
The OS that Immich Server is running on
Ubuntu 22.04
Version of Immich Server
v1.95.1
Version of Immich Mobile App
N/A
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response