Update Immich to 1.91.4 (#912)

Co-authored-by: smolgrrr <smolgrrr@protonmail.com>
Co-authored-by: nmfretz <nmfretz@gmail.com>
This commit is contained in:
Mateo Silguero 2023-12-20 16:50:36 -03:00 committed by GitHub
parent 3fd291067f
commit 1fbbcef553
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 26 deletions

View File

@ -7,12 +7,11 @@ x-environment: &env
DB_PASSWORD: &db_password "moneyprintergobrrr" DB_PASSWORD: &db_password "moneyprintergobrrr"
DB_DATABASE_NAME: &db_database_name "immich" DB_DATABASE_NAME: &db_database_name "immich"
REDIS_HOSTNAME: "immich_redis_1" REDIS_HOSTNAME: "immich_redis_1"
LOG_LEVEL: "simple" LOG_LEVEL: "log"
JWT_SECRET: ${APP_SEED} JWT_SECRET: ${APP_SEED}
DISABLE_REVERSE_GEOCODING: "false" DISABLE_REVERSE_GEOCODING: "false"
REVERSE_GEOCODING_PRECISION: "3" REVERSE_GEOCODING_PRECISION: "3"
PUBLIC_LOGIN_PAGE_MESSAGE: "" PUBLIC_LOGIN_PAGE_MESSAGE: ""
TYPESENSE_API_KEY: &typesense_api_key "any-text-for-self-hosted-typesense"
IMMICH_MACHINE_LEARNING_URL: "http://immich_machine-learning_1:3003" IMMICH_MACHINE_LEARNING_URL: "http://immich_machine-learning_1:3003"
services: services:
@ -23,7 +22,7 @@ services:
PROXY_AUTH_WHITELIST: "/api/*,/search/*" PROXY_AUTH_WHITELIST: "/api/*,/search/*"
server: server:
image: ghcr.io/immich-app/immich-server:v1.88.2@sha256:ac214c6c4e7f6c2133b885d9e6ebc7696cbcf96a148c95746eef15eef0cea71a image: ghcr.io/immich-app/immich-server:v1.91.4@sha256:f1dd777fd38f30fc17a3dbe6a9f7dc9c548c41f9688908bf79d4109733e09b54
command: [ "start.sh", "immich" ] command: [ "start.sh", "immich" ]
volumes: volumes:
- ${APP_DATA_DIR}/data/upload:/usr/src/app/upload - ${APP_DATA_DIR}/data/upload:/usr/src/app/upload
@ -32,11 +31,10 @@ services:
depends_on: depends_on:
- redis - redis
- postgres - postgres
- typesense
restart: on-failure restart: on-failure
microservices: microservices:
image: ghcr.io/immich-app/immich-server:v1.88.2@sha256:ac214c6c4e7f6c2133b885d9e6ebc7696cbcf96a148c95746eef15eef0cea71a image: ghcr.io/immich-app/immich-server:v1.91.4@sha256:f1dd777fd38f30fc17a3dbe6a9f7dc9c548c41f9688908bf79d4109733e09b54
# This service cannot run under 1000:1000 # This service cannot run under 1000:1000
# And because the uploads are shared # And because the uploads are shared
# We'll run immich specific services as root # We'll run immich specific services as root
@ -48,26 +46,16 @@ services:
depends_on: depends_on:
- redis - redis
- postgres - postgres
- typesense
restart: on-failure restart: on-failure
machine-learning: machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:v1.88.2@sha256:134b6d16b76acd2b6a6ee43c6866668c1c00c33fb3c989bbae5ad867acc2f71b image: ghcr.io/immich-app/immich-machine-learning:v1.91.4@sha256:634c4a66ea5c8a6e4679d7560d34abda67f88dc1d6adda18f56c00c58a07ac6d
volumes: volumes:
- ${APP_DATA_DIR}/data/model-cache:/cache - ${APP_DATA_DIR}/data/model-cache:/cache
environment: environment:
<<: *env <<: *env
restart: on-failure restart: on-failure
typesense:
image: typesense/typesense:0.24.1@sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd
environment:
TYPESENSE_API_KEY: *typesense_api_key
TYPESENSE_DATA_DIR: "/data"
volumes:
- ${APP_DATA_DIR}/data/tsdata:/data
restart: on-failure
redis: redis:
image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3 image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3
user: "1000:1000" user: "1000:1000"
@ -76,7 +64,7 @@ services:
- ${APP_DATA_DIR}/data/redis:/data - ${APP_DATA_DIR}/data/redis:/data
postgres: postgres:
image: postgres:14-alpine@sha256:28407a9961e76f2d285dc6991e8e48893503cc3836a4755bbc2d40bcc272a441 image: tensorchord/pgvecto-rs:pg14-v0.1.11@sha256:0335a1a22f8c5dd1b697f14f079934f5152eaaa216c09b61e293be285491f8ee
user: "1000:1000" user: "1000:1000"
environment: environment:
<<: *env <<: *env

View File

@ -1,11 +1,14 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# This script sets up the necessary directories and permissions for model-cache and tsdata that were added after the initial release of the app. # This script sets up necessary directories/permissions that have changed in the app since the initial release.
set -euo pipefail set -euo pipefail
APP_DATA_DIR="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)/data" APP_DATA_DIR="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)/data"
MODEL_CACHE_DIR="${APP_DATA_DIR}/model-cache"
TYPESENSE_DIR="${APP_DATA_DIR}/tsdata"
# Create model-cache directory if it doesn't exist
MODEL_CACHE_DIR="${APP_DATA_DIR}/model-cache"
[ ! -d "${MODEL_CACHE_DIR}" ] && mkdir -p "${MODEL_CACHE_DIR}" && chown 1000:1000 "${MODEL_CACHE_DIR}" [ ! -d "${MODEL_CACHE_DIR}" ] && mkdir -p "${MODEL_CACHE_DIR}" && chown 1000:1000 "${MODEL_CACHE_DIR}"
[ ! -d "${TYPESENSE_DIR}" ] && mkdir -p "${TYPESENSE_DIR}" && chown 1000:1000 "${TYPESENSE_DIR}"
# delete tsdata directory if it exists
TYPESENSE_DIR="${APP_DATA_DIR}/tsdata"
[ -d "${TYPESENSE_DIR}" ] && rm -rf "${TYPESENSE_DIR}"

View File

@ -2,7 +2,7 @@ manifestVersion: 1.1
id: immich id: immich
category: files category: files
name: Immich name: Immich
version: "v1.88.2" version: "v1.91.4"
tagline: High-performance photo and video backup solution tagline: High-performance photo and video backup solution
description: >- description: >-
An open-source and high-performance self-hosted backup solution for the videos and photos on your mobile device An open-source and high-performance self-hosted backup solution for the videos and photos on your mobile device
@ -45,11 +45,11 @@ description: >-
- User-defined storage structure - User-defined storage structure
releaseNotes: >- releaseNotes: >-
⚠️ Your mobile app must be on at least version 1.88.0 to work with this release of Immich. ⚠️ Your mobile app must be on at least version 1.91.0 to work with this release of Immich.
In this release we have simplified how Immich is deployed, beautified our app interface with a new font, namely Overpass, 🚨 iOS Live Photos uploaded after v1.89.0 that are not linked need to be deleted and re-uploaded from the mobile app.
and finally released version 2 of our command line interface (CLI), which has been in the works for the past six months. This is a one-time action, and future live photos uploaded from the mobile app will be properly linked together.
Full release notes are found at: https://github.com/immich-app/immich/releases Full release notes are found at: https://github.com/immich-app/immich/releases