Some problem about postgres #15512
Replies: 3 comments 2 replies
-
What do the logs of the postgres container say? |
Beta Was this translation helpful? Give feedback.
-
I have solved it by execute sql "alter table "smart_search" alter column "embedding" type vector(640)" , |
Beta Was this translation helpful? Give feedback.
-
ok,Thanks for your help ,I have soloved it |
Beta Was this translation helpful? Give feedback.
-
The bug
I start immich-server in my nas with an error,is that model(XLM-Roberta-Large-Vit-B-16Plus) not be supported?
[Nest] 9 - 01/22/2025, 6:39:58 AM LOG [Microservices:SmartInfoService] Dimension size of model XLM-Roberta-Large-Vit-B-16Plus is 640, but database expects 512.
[Nest] 9 - 01/22/2025, 6:39:58 AM LOG [Microservices:SmartInfoService] Updating database CLIP dimension size to 640.
Query failed : {
durationMs: 3.2393900000024587,
PostgresError: syntax error at or near "'vector(640)'"
at ErrorResponse (/usr/src/app/node_modules/postgres/cjs/src/connection.js:788:26)
at handle (/usr/src/app/node_modules/postgres/cjs/src/connection.js:474:6)
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
severity_local: 'ERROR',
severity: 'ERROR',
code: '42601',
position: '58',
file: 'scan.l',
line: '1176',
routine: 'scanner_yyerror'
}
microservices worker error: PostgresError: syntax error at or near "'vector(640)'"
microservices worker exited with code 1
Killing api process
The OS that Immich Server is running on
01/22/2025, 6:39:58 AM
Version of Immich Server
v14982
Version of Immich Mobile App
v1.0.0
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
...
Relevant log output
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions