Disk space

Hello, I have Immich on my personal server running in containers, using Docker. I used your installation script, and it works well, but there is one issue: the disk space usage keeps increasing day by day, even though the photos and videos remain the same. Additionally, the dashboard in Immich shows the correct information, but this doesn't match what I see on the disk. I’m attaching an image to help explain the problem.
16 Replies
Immich
Immich5mo ago
:wave: Hey @picovidago, 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.
Zeus
Zeus5mo ago
What URL do you use in the mobile app? Most likely this is due to cloudflare tunnels or your reverse proxy cutting off large files
picovidago
picovidagoOP5mo ago
I don't use Cloudflare; I have Traefik in my Docker infrastructure. URL: https://immich.muso.xxx.xxx
Alex Tran
Alex Tran5mo ago
Probably backup upload backing up videos and get interrupted, leaving half-uploaded file. Do you still have assets to upload from your phone?
Zeus
Zeus5mo ago
It’s likely due to traefik timeout or max file size
Alex Tran
Alex Tran5mo ago
this issue will be solved in the next release btw
picovidago
picovidagoOP5mo ago
Ok, that's true, I have 2 files pending backup in the app.
No description
Alex Tran
Alex Tran5mo ago
are they large video files?
picovidago
picovidagoOP5mo ago
1,2 GB and 2,4 GB When it reaches 800MB, it gets stuck. But how can I solve this? Is it possible to fix the files occupying space on the disk? Can I configure Traefik to prevent this from happening? Do I have to wait for a new version of Immich? Because the disk will be full soon.
Alex Tran
Alex Tran5mo ago
Looks like your Traefik settings doesn't allow large body size? While searching for the correct flag, you might access your instance over local IP and run the upload, they should all getting uploaded
Zeus
Zeus5mo ago
Our reverse proxy docs show you how to configure traefik
picovidago
picovidagoOP5mo ago
Okay, I will check the documentation to configure Traefik, but how can I delete the files that were created and are taking up space on the disk? Do I need to delete everything and re-upload, or is there a script in Immich to clean up what is not indexed or used?
Alex Tran
Alex Tran5mo ago
You can enable the storage template feature. Then run the storage template migration job, which will put all good files in the library folder then you can remove all left-over files in the upload folder
picovidago
picovidagoOP5mo ago
ok, itry Thank you for your help. I’ve already checked, and I’ll fix the Traefik configuration. Thank you! @Alex @Zeus 👍

Did you find this page helpful?