Closed easez88 closed 1 year ago
Hey,
The server storage usage under the admin panel is specific usage for Immich. The storage in the bottom left of the main pages is total disk usage for the mountpoint that Immich is using, not just storage space inside Immich.
We might change this behaviour with some upcoming features, but this is not considered a bug right now :smile:
Cheers!
Gotcha! One question when I run du -h
I'm getting 14G for that mount, but Immich is reporting 20G. Why is there such a large discrepency?
Gotcha! One question when I run
du -h
I'm getting 14G for that mount, but Immich is reporting 20G. Why is there such a large discrepency?
Hmm unsure, is that just a plan disk mount of the disk that runs the OS as well?
Probably the difference between GiB and GB will explain some of the discrepancy.
In a similar context I have noted discrepencies in the evolution after a batch upload in CLI. Note that I initially synchronized from the iOS app and then "batch uploaded" an old backup from synology app. So they were duplicate pictures which seemed to have been nicely handled (no duplicate in my photo view).
The issue is on "storage size" where:
Server storage seems to increase twice as fast as user storage. (I'll soon end up with shortage :-( ) Is it due to thumbnails?
Command used: sudo docker run -it --rm -v "$(pwd):/import" ghcr.io/immich-app/immich-cli:latest upload --key XXX --recursive --server http://192.168.11.215:2283/api
Feedback:
Checking connectivity with Immich instance...
Server status: OK
Checking credentials...
Login status: OK
Successful authentication for user xxx@xxx.com
Indexing local assets...
Indexing complete, found 2955 local assets
Comparing local assets with those on the Immich instance...
A total of 2955 assets will be uploaded to the server
Do you want to start upload now? (y/n) y
Start uploading...
Upload Progress | ████████████████████████████████████████ | 100% || 2955/2955 || Current file [/import/Travaux_salon/f55]
Failed to upload 0 files []
Before:
After:
For me its showing way too high, i chose the data disk to a external 2Tb ssd.
Yeah, I'm still seeing this. Immich is now say I've used185.7Gb, but du says 168.
The bug
The server storage panel does not match the listed storage under server stats. In my case I believe it is because I was testing background storage and deleted the photos and started uploading again to see if background storage was working. The storage under server stats is correct. However, I believe the storage in the menu bar and IOS backup page, show the size of everything that has been uploaded, but does not update when photos are deleted.
Let me know if you need anything to confirm.
The OS that Immich Server is running on
Fedora 32
Version of Immich Server
v1.50.1
Version of Immich Mobile App
v1/50/0
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response