v1.95.0 #7252
Replies: 22 comments 67 replies
-
I am getting the error below when trying to update pgVectors as outlined in the release notes without superuser permissions for Immich - any advice?
|
Beta Was this translation helpful? Give feedback.
-
Great release. My immich was broken after vectors was added since I use an external postgres. This release everything is working again! |
Beta Was this translation helpful? Give feedback.
-
Very happy to be able to search for media not in any album! |
Beta Was this translation helpful? Give feedback.
-
Just upgraded and played around a little. Great work, well done! The search feature is working like a charm! |
Beta Was this translation helpful? Give feedback.
-
Holy sh*t. New Search functionality is awesome and pretty fast. I love how detailed the release notes are. Keep up the work!! |
Beta Was this translation helpful? Give feedback.
-
Thanks for the release, having 2 issues here after the upgrade
In the docker-compose file I've only changed the image
Any hints where to search? |
Beta Was this translation helpful? Give feedback.
-
A friendly reminder to take a new backup of the database with the new version, from my testing restoring a database from previous versions does not work with the new version, producing errors like:
A side solution to this would be if the version of your database is 1.94.1 it is necessary to return to this version (it is necessary to change the file docker-compose.yml according to version 1.94.1) to restore the database and then upgrade to the new version together with the data restored from the database . This will trigger the merge process along with the data from the restored database. |
Beta Was this translation helpful? Give feedback.
-
Woop Woop - many thanks :) |
Beta Was this translation helpful? Give feedback.
-
Not going to pretend to understand everything that is happening in this update, but looks good! |
Beta Was this translation helpful? Give feedback.
-
I only changed
But it works. |
Beta Was this translation helpful? Give feedback.
-
People search is awesome! Is it planned to search albums as it was before? I miss that functionality, currently having more than 300 albums. |
Beta Was this translation helpful? Give feedback.
-
[v1.95.0] and [v1.95.1] I noticed that you can't use UP/DOWN and PgUp/PgDn. Home/End keys in the browser. |
Beta Was this translation helpful? Give feedback.
-
After the migration, I'm getting the following error every time I try to view any photo:
I'm using external postgres server with manually installed pg vectors, so I probably messed up something. Does anyone have any idea what that error message might indicate? |
Beta Was this translation helpful? Give feedback.
-
I'm a bit confused. Does updating to 1.95.0 from 1.94.1 and going to pgvecto.rs 0.2 would break something? |
Beta Was this translation helpful? Give feedback.
-
Oh my god, I hope the future updates will make fewer changes to postgres, because I am using an existing postgres, and every change means risk… |
Beta Was this translation helpful? Give feedback.
-
Anyone else find the video under the OAuth encryption algorithm setting changes section not working? I'm having trouble figuring out how to change the Authentik signing key to RS256 |
Beta Was this translation helpful? Give feedback.
-
It looks like the Administration/Repair/Untracks files lists all archived items? Just a quick fix 👍 |
Beta Was this translation helpful? Give feedback.
-
Can we already search on the filename again? This is crucial for debugging etc... |
Beta Was this translation helpful? Give feedback.
-
This was the release I finally gave up trying to run postgres as a regular user. Immich really wants pg superpowers for all these migrations and it's too much hassle for me to recreate them all. Oh well. :-) |
Beta Was this translation helpful? Give feedback.
-
I think this change send immich over the edge for me. I just spend two hours trying to migrate from pgvecto.rs from 0.1.11 to 0.2.0 and was not successful. Then spend another hour to recover the backup (that's not really an immich or pgvecto.rs problem, still didn't contribute to my good mood). I run my infrastructure on a time budget and immich definitely burned all its budget for the next months with this upgrade. Usually upgrades become less involved over time and usually end up in the sub minute amounts of effort per week. Immich seems to grow in effort involved for updates with almost every update since pgvecto.rs was introduced. I tried to handle it. But maintaining a database image, watching out for compatibility between mobile apps, server, database extensions, and the immich and helmchart version just get too involved. I can't even point out a specific issue, migrations fail, the pgvecto.rs version in the pg_extensions table was wrong, the extension doesn't support database clusters, required schemas don't exist, … The good news is, after a few weeks of the release of pgvecto.rs, most of the issues are already described and described in the pgvecto.rs' issue tracker along with workarounds. But that doesn't really solve the amount of time one has to invest. I think my conclusion is: I don't think immich is currently suitable for people to run it in their free time, there is too much experimental tech involved. I think immich is a fantastic app and provides such a great User experience, maybe I'll revisit it at some point in the future. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately this update broke something on my instance. When I visited the website again, I had to create an admin account because I was the first user and thus I couldn't see any pictures from my old account. |
Beta Was this translation helpful? Give feedback.
-
v1.95.0
Warning
1. Upgrade
pgvecto.rs
to stable version0.2.0
for enhanced searchStep 1: Change the
docker-compose.yml
database image from0.1.11
to0.2.0
Step 2: Perform
docker compose pull
Step 3:
a) If Immich is a Postgres superuser (default)
Bring the stack up with
docker compose up
When the server starts up, it will log a message like this:
This is normal. Continue to Step 4.
b) If Immich is not a Postgres superuser
If Immich doesn't have superuser permissions, you'll need to bring up the database and run a few commands manually:
If you run into issue, see this comment for a potential fix
Step 4: Terminate and restart the stack
Bring the stack down (or terminate with ctrl + c) with:
Then bring it back up:
You'll run into a message saying:
This is normal. The server will do some magic and start to work.
Step 5: Enjoy the new ✨search enhancements✨
2. OAuth encryption algorithm setting changes
OAuth setups using
HS256
(mainly Authentik) will need to either (1) update the signing algorithm in Immich or (2) specify a signing key in the provider settings (so that it usesRS256
instead).Specify a signing key in Authentik:
Screencast.from.02-02-2024.12.05.04.AM.webm
New Immich OAuth Setting
Background
RS256
is generally better thanHS256
.RS256
is pretty much the most commonly used algorithm. The client library we use for open-id defaults toRS256
. It's very easy to setup Authentik without specifying a signing key, which will default to useHS256
. The original implementation added a hack/fallback toHS256
in some conditions to try to handle that situation. The current code removes the fallback, and adds a specificSigning Algortithm
setting which can be explicitly set. Alternatively, the issue could be fixed by specifying a signing key in Authentik.References:
Highlights
Welcome to version
v1.95.0
of Immich. This is one of the longest stretches since the last release of Immich for the past year, we only had 150+ PRs merged since the last release. There are many new improvements and features in this release that we are very excited to introduce to you.Enhanced search feature
This feature is available on the Web only as of this release
This release adds a highly anticipated feature - advanced search with filters by date, location and more. What's more is that these filters are also compatible with smart search, so you can add text to sort by relevance at the same time.
Results are also no longer capped at 100 - scrolling down will fetch more and more assets.
pgvector
compatibilityAs part of the upgrade to pgvecto.rs 0.2, we've also added pgvector support for environments where pgvecto.rs can't be used. Adding
DB_VECTOR_EXTENSION=pgvector
to the.env
file will use pgvector instead (assuming your Postgres instance has pgvector installed). We'd like to give a special shoutout to the pgvecto.rs team for adding a compatibility mode that makes it easier for us to support both extensions.Please note that the extension cannot be changed after a successful startup (i.e., migrations have run). This means you can't switch to pgvector from an existing instance with pgvecto.rs. It must be a new instance or an instance coming from 1.90.2 or older. Additionally, some features may not work quite as well with pgvector.
If you're upgrading from an old version of Immich, the migrations will take some time - don't worry if the server doesn't start up immediately.
Show partner's photos and videos on the map
This feature is available on the Web only as of this release
You can now toggle the option to include partners' assets on the map view.
Gradient placeholder on the mobile app
iOS background backup on WIFI option
You can now toggle this option only to allow background backup while the device is connected to the WIFI network.
External library import path validation
Several users struggle with getting import paths correct with external libraries. This version adds several checks and validations so that the user gets feedback on what went wrong.
CLI release
New CLI version 2.0.8. This version supports running inside Docker without needing Node.js installed, which helps on some platforms. Under the hood, it has been migrated to the new API version, uses
vitest
instead ofjest
, and has seen several improvements and bug fixes.And as always, bugs are fixed, and many other improvements also come with this release.
Please consider supporting the project.
Support
If you find the project helpful, you can support Immich via the following channels.
It is a great way to let me know that you want me to continue developing and working on this project for years to come.
What's Changed
🗄️ Server
getAllAssets
endpoint includes motion part of LivePhotos by @alextran1502 in fix(server):getAllAssets
endpoint includes motion part of LivePhotos #7194📱 Mobile
🖥️ Web
🧠 Machine Learning
⚡ CLI
📓 Documentation
🔨 Maintenance
form-data
dependency by @benmccann in chore: removeform-data
dependency #6876rollup-plugin-visualizer
and removelodash
by @benmccann in chore: setuprollup-plugin-visualizer
and removelodash
#6974Other changes
New Contributors
Full Changelog: v1.94.1...v1.95.0
This discussion was created from the release v1.95.0.
Beta Was this translation helpful? Give feedback.
All reactions