Update from OLD version to latest
Hello dear community, I made a mistake and I'm looking for a solution, if someone would be so kind and advise me how to proceed, I found out that:
I had a year old version of immich (unfortunately I don't know which one exactly)
1) The application on my phone was updated and it wouldn't connect me to the server (old server/new androind app), so I did:
2) on my VM server: docker compose pull && docker compose up -d
3) After update container was restarting so : The latest version had an error: https://docs.immich.app/errors/#typeorm-upgrade
4) So I changed the .env file to: v1.132.3 as was suggested in link.
5) Then the server started and is currently running on this version, although with an error that it doesn't display images
6) I found on redit info that people who had the same problem ran "immich-admin change-media-location" in the container
7) But when I got into the container via "exec" it threw me that such a command doesn't exist:
root@f8285f4b0d0f:/usr/src/app# immich-admin change-media-location
Initializing Immich v1.132.3
Detected CPU Cores: 8
error: unknown command 'change-media-location'
8) QUESTION: Should I update to the latest available version now and then run the command "immich-admin change-media-location" again via exec?
Please help with the next step. I don't want to do something I won't be able to undo. (or maybe i already did)
Thank you very much for your advice.
I had a year old version of immich (unfortunately I don't know which one exactly)
1) The application on my phone was updated and it wouldn't connect me to the server (old server/new androind app), so I did:
2) on my VM server: docker compose pull && docker compose up -d
3) After update container was restarting so : The latest version had an error: https://docs.immich.app/errors/#typeorm-upgrade
4) So I changed the .env file to: v1.132.3 as was suggested in link.
5) Then the server started and is currently running on this version, although with an error that it doesn't display images
6) I found on redit info that people who had the same problem ran "immich-admin change-media-location" in the container
7) But when I got into the container via "exec" it threw me that such a command doesn't exist:
root@f8285f4b0d0f:/usr/src/app# immich-admin change-media-location
Initializing Immich v1.132.3
Detected CPU Cores: 8
error: unknown command 'change-media-location'
8) QUESTION: Should I update to the latest available version now and then run the command "immich-admin change-media-location" again via exec?
Please help with the next step. I don't want to do something I won't be able to undo. (or maybe i already did)
Thank you very much for your advice.