lostit Posted December 18, 2023 Share Posted December 18, 2023 I'm Using juusujanar postgres template and after latest update I receive the following error 2023-12-18 17:13:27.461 CET [198] ERROR: could not open extension control file "/usr/share/postgresql/14/extension/vectors.control": No such file or directory 2023-12-18 17:13:27.461 CET [198] STATEMENT: CREATE EXTENSION IF NOT EXISTS vectors Now I understand that it cannot reach that directory and that extension probably doesn't exist. ? Is it something that can be fixed from the command line ? and if so how Is it something missing from the xml template or does it need an update. This has broken my Immich docker for the moment but no cow on the ice Quote Link to comment
trurl Posted December 18, 2023 Share Posted December 18, 2023 You can go directly to the correct support thread for this docker by clicking its icon in your Unraid webUI and selecting Support. 1 Quote Link to comment
locvez Posted December 18, 2023 Share Posted December 18, 2023 (edited) Change your postresql docker repo to tensorchord/pgvecto-rs:pg14-v0.1.11 Then restart immich docker if it's running Edited December 18, 2023 by locvez 4 Quote Link to comment
Solution Casuesa93 Posted December 19, 2023 Solution Share Posted December 19, 2023 3 hours ago, locvez said: Change your postresql docker repo to tensorchord/pgvecto-rs:pg14-v0.1.11 Then restart immich docker if it's running Yes, That worked for me. Thanks! Can you explained why the repository was the cause of the issue? 1 Quote Link to comment
locvez Posted December 19, 2023 Share Posted December 19, 2023 I can't, but this is documented in the immich github support pages. There's a function on the new repo that's not present in the old one. Quote Link to comment
martabal Posted December 19, 2023 Share Posted December 19, 2023 Because since v1.91.0, Immich uses a postgresql extension which is not shipped with the default postgres image. This new repository is "just" the standard postgres image with the extension installed. You can take a look at the github repository of the extension here and why it has been chosen here. Immich had a lot of breaking changes in the past year, but because you use the AIO image, it's the first time you directly have to deal with a breaking change. This is one of the benefit of using the AIO image. 2 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.