1.133.0 update help

Hi everyone, I’m a beginner user and a bit inexperienced with Immich. I’ve carefully read the changelog for version 1.133.0, but I’m a little worried about causing damage during the upgrade. Could someone help me for a few minutes so I don’t mess everything up? XD Right now I’m using Immich in a very simple way: I installed it on Ubuntu Desktop (accessed via SSH) and configured an external drive on my NAS as the storage location. I haven’t changed any other settings, so I’m not sure if the upgrade instructions are meant for “basic” setups like mine or only for more complex configurations. I’ve attached my docker-compose.yml file below. Thanks a lot for your help! (The version I’m currently using is 1.132.3) - .env ports: - '2283:2283' depends_on: - redis - database restart: always healthcheck: disable: false immich-machine-learning: container_name: immich_machine_learning # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag. # Example tag: ${IMMICH_VERSION:-release}-cuda image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration # file: hwaccel.ml.yml # service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the -wsl version for WSL2 where applicable volumes: - model-cache:/cache env_file: - .env restart: always healthcheck: disable: false redis: container_name: immich_redis image: docker.io/redis:6.2-alpine@sha256:2ba50e1ac3a0ea17b736ce9db2b0a9f6f8b85d4c27d5f5accc6a416d8f42c6d5 healthcheck: test: redis-cli ping exit 1 restart: always database: container_name: immich_postgres image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' volumes: # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file - ${DB_DATA_LOCATION}:/var/lib/postgresql/data healthcheck: test: pg_isready --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' exit 1; Chksum="$$(psql --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' --tuples-only --no-align> interval: 5m start_interval: 30s start_period: 5m command: [ 'postgres', '-c', 'shared_preload_libraries=vectors.so', '-c', 'search_path="$$user", public, vectors', '-c', 'logging_collector=on', '-c', 'max_wal_size=2GB', '-c', 'shared_buffers=512MB', '-c', 'wal_compression=on', ] restart: always volumes: model-cache:
17 Replies
Immich
Immich6d ago
:wave: Hey @RedGamer, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time). 2. :blue_square: read applicable release notes. 3. :blue_square: reviewed the FAQs for known issues. 4. :blue_square: reviewed Github for known issues. 5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy). 6. :blue_square: uploaded the relevant information (see below). 7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed.
RedGamer
RedGamerOP6d ago
if I understood correctly I should first turn off docker by doing: docker compose down, then make these changes and do docker compose pull && docker compose up -d? Correct me if I'm wrong
- .env ports: - '2283:2283' depends_on: - redis - database restart: always healthcheck: disable: false immich-machine-learning: container_name: immich_machine_learning # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag. # Example tag: ${IMMICH_VERSION:-release}-cuda image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration # file: hwaccel.ml.yml # service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the -wsl version for WSL2 where applicable volumes: - model-cache:/cache env_file: - .env restart: always healthcheck: disable: false redis: container_name: immich_redis image: docker.io/redis:6.2-alpine@sha256:2ba50e1ac3a0ea17b736ce9db2b0a9f6f8b85d4c27d5f5accc6a416d8f42c6d5 healthcheck: test: redis-cli ping || exit 1 restart: always database: container_name: immich_postgres image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs DB_STORAGE_TYPE: 'HDD' volumes: # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file - ${DB_DATA_LOCATION}:/var/lib/postgresql/data restart: always volumes: model-cache:
Hardware-Accelerated Machine Learning | Immich
This feature allows you to use a GPU to accelerate machine learning tasks, such as Smart Search and Facial Recognition, while reducing CPU load.
Mraedis
Mraedis6d ago
That sounds about right
RedGamer
RedGamerOP6d ago
I read that it would be better to do a backup first, but do you mean a backup of all data (photos and videos)? If so, the correct procedure is this: docker exec -t immich_postgres pg_dumpall --clean --if-exists --username=postgres | gzip > "/path/to/backup/dump.sql.gz" ?
Mraedis
Mraedis6d ago
For pasting code in discord, use three backticks before and after the code:
These guys: ` ` `
These guys: ` ` `
RedGamer
RedGamerOP6d ago
Maybe they're not so bad after all ahaha
Mraedis
Mraedis6d ago
This command is only for the database, not pictures
RedGamer
RedGamerOP6d ago
ah okok, like this: docker exec -t immich_postgres pg_dumpall --clean --if-exists --username=postgres | gzip > "/path/to/backup/dump.sql.gz" yes ahaha tks
Mraedis
Mraedis6d ago
no that's a single backtick before and after, and that is just nasty to read for walls of code
RedGamer
RedGamerOP6d ago
the backup is recommended for pictures or database? i use the link in the changelog which brought me to the page where these instructions are
Mraedis
Mraedis6d ago
That's for the backup yes, that's correct Just pointing that out
RedGamer
RedGamerOP6d ago
Quindi... giusto per essere sicuro... ora devo fare: docker exec -t immich_postgres pg_dumpall --clean --if-exists --username=postgres | gzip > "/path/to/backup/dump.sql.gz" docker compose down Make the change in the .yml like the first thing that i wrote docker compose pull && docker compose up -d and that's it?
Mraedis
Mraedis6d ago
yeah, but obviously change the path to some actual folder path
RedGamer
RedGamerOP6d ago
yes yes ok now I'll try and see if everything goes well root@nascasa:~/immich-app# docker exec -t immich_postgres pg_dumpall --clean --if-exists --username=postgres | gzip > /mnt/nascasa/backupdiprova -bash: /mnt/nascasa/backupdiprova: Is a directory root@nascasa:~/immich-app# It say this
Mraedis
Mraedis6d ago
/mnt/nascasa/backupdiprova/backup.sql.gz
RedGamer
RedGamerOP5d ago
ur right it generate only a 50mb file, it ok? Ok, let me see if I got this right: This backup is useful in case I ever need to reinstall Immich from scratch, and it helps the system know where to find all the files and how they’re organized (more or less), right? are u here? ok all good tks for the support :peepoAwesome:
Immich
Immich5d ago
This thread has been closed. To re-open, use the button below.

Did you find this page helpful?