#How to remove Immich v1.117.0 and install the latest build?

1 messages · Page 1 of 1 (latest)

tough heath
#

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?

kindred crowBOT
#

:wave: Hey @tough heath,

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

#

Checklist

I have...

  1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: read applicable release notes.
  3. :ballot_box_with_check: reviewed the FAQs for known issues.
  4. :ballot_box_with_check: reviewed Github for known issues.
  5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: uploaded the relevant information (see below).
  7. :ballot_box_with_check: 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.

candid sand
#

or you could just update as the breaking changes require

tough heath
tough heath
candid sand
#

in that case you'll need to reupload all assets into your new immich instance. Possibly with a cli tool. I'd only run one instance at a time to make your life simple. If you need to run both at the same time then you'll need to configure all services to use different than default ports, and update the environment vars so the stack knows where to find the respective services

tough heath
# candid sand in that case you'll need to reupload all assets into your new immich instance. P...

"in that case you'll need to reupload all assets into your new immich instance" Yes, I am aware of that.

"I'd only run one instance at a time to make your life simple" Yes, that's my intention as well. But first I want to transfer the data manually.

"configure all services to use different than default ports" Can you tell me which other port needs to be updated? I changed 2283 to 2284 in the yml file but couldn't find mention of any other port in the yml file.

kindred crowBOT
halcyon peak
#

I just finally was able to get Immich running on ASUSTOR NAS after upgrading the OS for ADM 5.0. But with the default yml and evn file which had the line : IMMICH_VERSION=release it still installed version 1.122.3 . And now I read that v2.0 is out. Was reading the upgrade page instructions and did not really understand this note at top which read to "see versions that had breaking changes". Can you please explain what does this mean. That one cannot upgrade from v1.122.3 to v2.0 and instead have to go to v1.133.0 and then v1.136.0 and then v1.137.0 before finally to v2.0 ?

candid sand
warped quartz