Jump to content

Immich - Docker image ballooning


Recommended Posts

Afternoon all, 

 

I recently discovered Immich via Spaceinvaders video, and have been enjoying using the app since. My only issue however is that the Immich docker image is steadily increasing in size. 

 

I initially increased the overall HDD space available for all docker images, believing it just needed a little more room, however Immich still continues to increase in size. I've double checked my docker mappings, comparing them to Spaceinvaders, and I can't see any issue. 

 

My images are successfully uploading to unRaid and being stored in the mapped photos folder, and I've deployed the PostgreSQL_Immich docker. 

 

I'm sure it's something simple I'm overlooking, but I just can't see it. 

 

Any advice would be greatly appreciated. 

 

Screenshot_20240629_160154_Brave.thumb.jpg.a59cecf56170a8a5a1c51e055497fc3b.jpg

 

Screenshot_20240629_161146_Brave.thumb.jpg.c1f03541b6fc3da814e7eefc677aca53.jpg

 

Screenshot_20240629_160250_Brave.thumb.jpg.9ce65de45849f0471693957e3d86ba22.jpg

Link to comment

For Reference these are my sizes:

image.thumb.png.cfe534fd467156847901f7bd00764da8.png

 

 I've got these paths mapped. The first one is pretty big.:

 

image.thumb.png.3d4f158853670b364621c0a824ed0a52.png

 

 

One thing you can do is going into your console(docker) and find out which directories are large/growing and not mapped:

image.thumb.png.931ed9bf81b49a817da9add772adc07d.png

 

Edited by foo_fighter
  • Thanks 1
Link to comment
23 minutes ago, foo_fighter said:

For Reference these are my sizes:

image.thumb.png.cfe534fd467156847901f7bd00764da8.png

 

 I've got these paths mapped. The first one is pretty big.:

 

image.thumb.png.3d4f158853670b364621c0a824ed0a52.png

 

 

One thing you can do is going into your console(docker) and find out which directories are large/growing and not mapped:

image.thumb.png.931ed9bf81b49a817da9add772adc07d.png

 

 

Thank you very much for taking the time to suggest this. 

 

I've never tried those commands before, but looks like running them on Immich has shown some errors, so you may have put me on the right path as to what's causing the image size issue. 

 

I'll go and have a read up further on "permission denied error", fingers crossed I'm a step closer. 

 

Many thanks. 

 

Screenshot_20240629_172949_Brave.thumb.jpg.2436afa6389df0bf5af73a80284418a3.jpg

Link to comment
6 hours ago, ytddewqf said:

 

Thank you very much for taking the time to suggest this. 

 

I've never tried those commands before, but looks like running them on Immich has shown some errors, so you may have put me on the right path as to what's causing the image size issue. 

 

I'll go and have a read up further on "permission denied error", fingers crossed I'm a step closer. 

 

Many thanks. 

 

Screenshot_20240629_172949_Brave.thumb.jpg.2436afa6389df0bf5af73a80284418a3.jpg

Sorry, that might be normal for /proc. I get that too....I just ctrl-C'd out of it because it was taking too long since I mapped a huge DIR into the docker.

 Here's the full readout for comparison. (You can ignore my mapped Dirs). I actually don't see anything egregious in your listing.

 

root@e59fc901e9c8:/# du -sch *
686M    app
4.0K    bin
0       boot
948K    command
1.5G    config
0       defaults
0       dev
24K     docker-mods
4.0K    donate.txt
2.4M    etc
0       home
183G    iCloud
19K     import
4.0K    init
4.0K    lib
4.0K    lib32
4.0K    lib64
4.0K    libx32
646M    lsiopy
0       media
0       mnt
1.8T    My Documents
0       opt
6.0M    package
198G    photos
du: cannot read directory 'proc/204/task/204/fdinfo': Permission denied
...[Omitted for brevity]
du: cannot access 'proc/599/fdinfo/4': No such file or directory
0       proc
20K     root
472K    run
4.0K    sbin
0       srv
0       sys
100K    tmp
1.5G    usr
14M     var
2.2T    total

 

 

 

 

Link to comment
10 hours ago, foo_fighter said:

Sorry, that might be normal for /proc. I get that too....I just ctrl-C'd out of it because it was taking too long since I mapped a huge DIR into the docker.

 Here's the full readout for comparison. (You can ignore my mapped Dirs). I actually don't see anything egregious in your listing.

 

root@e59fc901e9c8:/# du -sch *
686M    app
4.0K    bin
0       boot
948K    command
1.5G    config
0       defaults
0       dev
24K     docker-mods
4.0K    donate.txt
2.4M    etc
0       home
183G    iCloud
19K     import
4.0K    init
4.0K    lib
4.0K    lib32
4.0K    lib64
4.0K    libx32
646M    lsiopy
0       media
0       mnt
1.8T    My Documents
0       opt
6.0M    package
198G    photos
du: cannot read directory 'proc/204/task/204/fdinfo': Permission denied
...[Omitted for brevity]
du: cannot access 'proc/599/fdinfo/4': No such file or directory
0       proc
20K     root
472K    run
4.0K    sbin
0       srv
0       sys
100K    tmp
1.5G    usr
14M     var
2.2T    total

 

 

 

 

 

 

Many thanks for clarifying and taking the time to have a look over my readout. 

 

Over the next week or so I'll use that readout command to keep my eye on the docker image size, hopefully it's levelled off now or will do shortly.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...