How to remove Immich v1.117.0 and install the latest build?
I had installed Immich several months back on a VPS and have been running Immich v1.117.0 (will call it Immich 1) since the last time I upgraded. Now I want to upgrade to v2.1.0 (will call it Immich 2) but going to Immich 2 build-by-build would be too time-taking. So I wanted to install Immich 2 while having Immich 1 installed and then to migrate the data + retag people, and then to delete Immich 1 docker image.
Next to the folder for Immich 1 (/home/ubuntu/immich-app/) I created a folder for Immich 2 (/home/ubuntu/immich) and copied the same folder structure that's in Immich 1. Then I uploaded the new docker-compose.yml and .env files (changed from port 2283 to 2284 in the yml file and opened port 2284 for Wireguard VPN of the VPS). Then ran "sudo docker compose pull" and "sudo docker compose up -d". However, after that both Immich instances became unavailable. Only after stopping container for Immich 2 and restarting the whole system did Immich 1 become available again.
What did I do wrong and how to go about the upgrade?
Next to the folder for Immich 1 (/home/ubuntu/immich-app/) I created a folder for Immich 2 (/home/ubuntu/immich) and copied the same folder structure that's in Immich 1. Then I uploaded the new docker-compose.yml and .env files (changed from port 2283 to 2284 in the yml file and opened port 2284 for Wireguard VPN of the VPS). Then ran "sudo docker compose pull" and "sudo docker compose up -d". However, after that both Immich instances became unavailable. Only after stopping container for Immich 2 and restarting the whole system did Immich 1 become available again.
What did I do wrong and how to go about the upgrade?
immich_1.env907B
immich_2.env1.01KB