I
Immich•5mo ago
robbacon

Updated docker Immich now unreachable

Hi I updated my Immich today running on a VM on Proxmox but it is no longer reachable. Can someone help please? Any other information you need? Thanks
26 Replies
Immich
Immich•5mo ago
:wave: Hey @robbacon, 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.
Mraedis
Mraedis•5mo ago
Well, literally everything asked by the bot, but most importantly, did you read the breaking changes?
robbacon
robbaconOP•5mo ago
Filesystem Size Used Avail Use% Mounted on /dev/mapper/pve-vm--101--disk--1 1.6T 545G 952G 37% / none 492K 4.0K 488K 1% /dev udev 6.3G 0 6.3G 0% /dev/tty tmpfs 6.3G 0 6.3G 0% /dev/shm tmpfs 2.6G 416K 2.6G 1% /run tmpfs 5.0M 0 5.0M 0% /run/lock overlay 1.6T 545G 952G 37% /var/lib/docker/overlay2/d1731332fa75e29d476855476b02ea4df16fb1471809ddd87fda9acb251b89e1/merged overlay 1.6T 545G 952G 37% /var/lib/docker/overlay2/ee26969ba50e2a69edbbdb130583aec94a4765deb06498d25b288c056a99fa06/merged overlay 1.6T 545G 952G 37% /var/lib/docker/overlay2/965a3fb72dffdde7972ead5e6e6a8b8adbd1eaa3b971d0f2abc38a89e5463855/merged overlay 1.6T 545G 952G 37% /var/lib/docker/overlay2/babcac1f2170aadad43a9a74cb974ac8bd855bcf2e1c67ce3ddac6aa0c0c3680/merged I've updated lots of times before but this has not worked. How do I send the log files please?
Mraedis
Mraedis•5mo ago
So that's a no Start with the compose for me like the docker-compose.yaml
robbacon
robbaconOP•5mo ago
Bear with me as I'm not a tech expert! How do I send you the docker-compose.yaml details?
Mraedis
Mraedis•5mo ago
you open the file and copy paste it here? I'll save you the trouble It's probably the 2283:3001 change read this https://github.com/immich-app/immich/discussions/13459 specifically 1. Port Alignment
robbacon
robbaconOP•5mo ago
How do I open the file in ProxMox?
Mraedis
Mraedis•5mo ago
How did you install/update in the first place?
robbacon
robbaconOP•5mo ago
Go into the console section on proxmox for the VM and enter the code on your website docker compose pull && docker compose up -d
Mraedis
Mraedis•5mo ago
I see vim docker-compose.yaml will work for editing, but really what you want is to get the latest version of the compose
robbacon
robbaconOP•5mo ago
-bash: vim: command not found
Mraedis
Mraedis•5mo ago
In the case of latest that will be 1.122.2 so curl https://github.com/immich-app/immich/releases/download/v1.122.2/docker-compose.yml -O
robbacon
robbaconOP•5mo ago
root@Immich-docker:~/immich-app# curl https://github.com/immich-app/immich/releases/download/v1.122.2/docker-compose.yml -O % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: github.com
Mraedis
Mraedis•5mo ago
lol wat does your VM have any internet at all 😛
robbacon
robbaconOP•5mo ago
does this look like the network is not working Yep
robbacon
robbaconOP•5mo ago
No description
Mraedis
Mraedis•5mo ago
just ping 8.8.8.8 in your VM and see what that does
robbacon
robbaconOP•5mo ago
nothing on that VM but works on others I have Shall I remove the network device on this VM and add it again?
Mraedis
Mraedis•5mo ago
hit it with a service network restart or something
robbacon
robbaconOP•5mo ago
Failed to restart network.service: Unit network.service not found. ffs lol
Mraedis
Mraedis•5mo ago
idk what the service is actually called for your VM specifically might be Networking (capital matters) might be Network-Service who knows
robbacon
robbaconOP•5mo ago
No idea
Zeus
Zeus•5mo ago
Sorry as this is not an immich issue
robbacon
robbaconOP•5mo ago
I have updated again and can now ping, but still doesn't work. I edited the docker.yml file as instructed but no luck GNU nano 7.2 docker-compose.yml
WARNING: Make sure to use the docker-compose.yml of the current release: https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml The compose file on main may not be compatible with the latest release. # name: immich services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - .env ports: - 2283:2283 depends_on: - redis - database restart: always volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - .env depends_on: - redis - database restart: always immich-machine-learning: container_name: immich_machine_learning [ Read 71 lines ] ^G Help ^O Write Out ^W Where Is ^K Cut ^T Execute ^C Location M-U Undo ^X Exit ^R Read File ^\ Replace ^U Paste ^J Justify ^/ Go To Line M-E Redo can you help please?
Zeus
Zeus•5mo ago
You need to include a lot more info. Compose (the full file, not a copy paste like this), .env, logs from all containers to start with.
robbacon
robbaconOP•5mo ago
got it working. Just copied the docker compose file on your github and it worked

Did you find this page helpful?