#Size not correctly reported or respected

1 messages ยท Page 1 of 1 (latest)

lunar fern
#

Hi

I am running immich via docker on a Linux host running docker and portainer.
I have mounted an external SMB share to storage the images and DB.
This share is set to be re mounted via the FSTAP.

The size reported in the GUI in immich is of the docker container not of the storage volume this cuases a problem as when its "full" i cannot unload any more photos.

I am using the defaul yaml file and the following vairables

UPLOAD_LOCATION=/media/qnap/immich
DB_DATA_LOCATION=/media/qnap/immich/db
IMMICH_VERSION=release
DB_PASSWORD=************
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

I am quite new with docker so i may be doing something wrong. Can anyone assist ?

wide sierraBOT
#

:wave: Hey @lunar fern,

Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich immich.

References

Checklist

  1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: I have read applicable release notes.
  3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
  4. :ballot_box_with_check: I have reviewed Github for known issues.
  5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the /upload command.
  7. :ballot_box_with_check: I have 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)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

wide sierraBOT
fresh prawn
#

Did you set storage quota on this user?

lunar fern
#

no

#

I tried to set a quota to the size of the mounted disk but it wont let me as it says that its bigger than the avilable space

fresh prawn
#

Can you go into /media/qnap/immich and run df -h?

lunar fern
#

ajroot@docker:/media/qnap/immich$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 382M 1.6M 381M 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 50G 18G 30G 39% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda2 2.0G 254M 1.6G 14% /boot
tmpfs 382M 4.0K 382M 1% /run/user/1000
ajroot@docker:/media/qnap/immich$ ^C

#

i can see its not showing the size of the mounted samba share

fresh prawn
#

it is probably not mounted correctly

#

so it is using the OS disk instead

#

check your mount command just to make sure

lunar fern
#

ok i will check that and report back . May be tomorrow now but i am most grateful for your help.

fresh prawn
#

No problem!

lunar fern
#

The disk is there and acessable so it must be somehting to do with how its mounted

fresh prawn
#

Yeah, try to run mount command first then tune it in the fstab

#

fstab can be a bit tricky to get it right

lunar fern
#

I think i have found the issue. It looks as if df -h only shows things mounted under /mnt

#

I did not know that , and its useful to know ๐Ÿ™‚