Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Immich upstream breaking changes #1907

Merged
merged 7 commits into from
Dec 19, 2023
Merged

Immich upstream breaking changes #1907

merged 7 commits into from
Dec 19, 2023

Conversation

stavros-k
Copy link
Contributor

@stavros-k stavros-k commented Dec 18, 2023

Closes https://github.com/truenas/charts/issues/1848

Adapts to upstream breaking changes https://github.com/immich-app/immich/releases/tag/v1.91.0

Chances of an actual breaking change is almost zero, but users should proceed with caution (Hence the major chart version bump)

@stavros-k stavros-k self-assigned this Dec 18, 2023
@stavros-k stavros-k changed the title Immich changes Immich upstream changes Dec 18, 2023

{{- $psql := "PGPASSWORD=${POSTGRES_PASSWORD} psql --host=${POSTGRES_HOST} --dbname=${POSTGRES_DB} --username=${POSTGRES_USER}" -}}
{{- $tasks := (list
(printf "%s -c \"ALTER DATABASE ${POSTGRES_DB} REFRESH COLLATION VERSION;\"" $psql)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is needed due the slight downgrade from pg 15.2 to pg 15.0 (the only image/version that pgvector has available on the same major version).

Thankfully its not very expensive (on my testing it was instant) and its does not fail or re-run if there isn't something to refresh

@stavros-k stavros-k changed the title Immich upstream changes Immich upstream breaking changes Dec 18, 2023
@stavros-k stavros-k marked this pull request as ready for review December 18, 2023 18:27
@stavros-k stavros-k merged commit 9c74d50 into master Dec 19, 2023
25 checks passed
@stavros-k stavros-k deleted the immich-changes branch December 19, 2023 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Immich Upcoming Breaking Change
2 participants