I
Immich•4mo ago
Xerlan

Issues during upgrading the Immich version

Hello, recently i've seen the this fantastic software just had a new version, actually i've installed the 1.23 with docker compose but i'm trying to install the new one but without any good result, i tried to connect to the container trought SSH but the command found on the official website and documentation doesn't work ("docker compose pull && docker compose up -d") , the error i had is the following: docker: "compose" is not a docker command How can i resolve this issue?
21 Replies
Immich
Immich•4mo ago
:wave: Hey @Xerlan, 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
Immich
Immich•4mo ago
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.
GitHub
immich-app immich · Discussions
Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.
GitHub
Issues · immich-app/immich
High performance self-hosted photo and video management solution. - Issues · immich-app/immich
Tempest
Tempest•4mo ago
What is this installed on? The docker compose command gets run on the host, not within the container
Mraedis
Mraedis•4mo ago
if "compose" is not a docker command you likely have a very old docker version and need to upgrade
Xerlan
XerlanOP•4mo ago
@Tempest @Mraedis Actually i've installed it on a Terramaster F2-424, that have an app store integrated, so the docker engine should be updated automatically so the command only depends on the docker engine?
Mraedis
Mraedis•4mo ago
no that's not how it works It's updated to the latest that Terramaster provides but maybe they provide an outdated version Do you have docker manager 2.0 for Terramaster?
Xerlan
XerlanOP•4mo ago
yes i confirm it, docker manager is 2.0.16, docker 20.10.17 and docker compose (with the command docker-compose version) is 2.12.2
bo0tzz
bo0tzz•4mo ago
docker-compose with the dash is outdated, you need docker compose But that's not installed atm, which is why you're getting that error https://docs.docker.com/compose/install/linux/
Xerlan
XerlanOP•4mo ago
understand it, so i need to wait that terramaster deploy the new version or destroy the installed immich and rebuild from scratch
Mraedis
Mraedis•4mo ago
How did you install immich in the first place?
Xerlan
XerlanOP•4mo ago
i installed with the yaml file and the .env one posted up there there is a procedure trought the docker manager on the Terramaster OS, simiiar like the synology OS
bo0tzz
bo0tzz•4mo ago
Why not use that to update as well then?
Xerlan
XerlanOP•4mo ago
how i should do it? I also discovered watchtower but idk if in my case can resolve this issue
Mraedis
Mraedis•4mo ago
Don't use watchtower, it ignores any required changes to the yaml so you'll run into a broken install sooner or later If you use the new yaml and the same env you should be able to update
Xerlan
XerlanOP•4mo ago
but this will let me lost all the configurations already made in immich? (users,external library, albums,favorites etc)
Mraedis
Mraedis•4mo ago
No because those are stored in:
UPLOAD_LOCATION=/Volume2/Foto
# The location where your database files are stored
DB_DATA_LOCATION=/Volume/Data
UPLOAD_LOCATION=/Volume2/Foto
# The location where your database files are stored
DB_DATA_LOCATION=/Volume/Data
So as long as you don't delete those, settings will be saved Btw I noticed you have TZ=IT in your env var That should be TZ=Europe/Rome
Xerlan
XerlanOP•4mo ago
Ty for the correction so i just need to download this yaml file (https://github.com/immich-app/immich/releases/tag/v1.124.2) and modify it like before and rebuild the immich app in the docker manager? sorry for dumb questions but i just started 1 months ago with all of this lol
Mraedis
Mraedis•4mo ago
What were the modifcations before? You shouldn't be modifying it much, if at all nvm I see the album creator and - /Volume2/Foto-Nas:/Volume2/Foto-Nas:ro 🙂 That should work yes
Xerlan
XerlanOP•4mo ago
i confirm you that worked perfectly! thank you so much for the help!
Immich
Immich•4mo ago
This thread has been closed. To re-open, use the button below.

Did you find this page helpful?