Photos not uploaded in the specified location (but somewhere idk where)
I have a server running ubuntu server that has 4 hdd working as a ZFS pool. ive mounted the pool via zpool and i have access to the files with no problem.
In my .env file i set:
uploading images worked until i had an error saying i ran out of space. (the pool is about 8 TB)
from the start i saw that in the client app there is a message saying "4GB left" or something like that on the bottom left screen.
when i cded to the library location i saw that it was completely empty and so is the postgres folder... which means immich uploaded the photos somewhere else and i couldnt find where..
I'm guessing it has something to do with the ZFS Pool, right? could be something else tho.
thx
40 Replies
:wave: Hey @DORON ✡,
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. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: read applicable release notes.
3. :ballot_box_with_check: reviewed the FAQs for known issues.
4. :ballot_box_with_check: reviewed Github for known issues.
5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: uploaded the relevant information (see below).
7. :ballot_box_with_check: 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.
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:Could you check
docker inspect immich_server | grep -A25 Mounts
mode: rw
rw: true
prooagation: rprivate
@Mraedis
ok so at least that is "right"
what does
lsblk
and df -hT
tell you?my disks
sda to sdd 2.7T disks
and sdf the disk where ubuntu server is installed
and sde just some flash drive
Ah wait, Ubuntu, you don't have docker snap do you?
sudo snap list | grep docker
i think yeah
I ask these details to look with you so I can point out anything you miss btw, if you don't want to share private things I understand, but often people miss the obvious 🙂
its not that i dont want to share its just too long to write xD
Just copy paste?
different machine
screenshots, ssh, so many options 😛
aight
Anyway, NOT docker snap or YES docker snap?
because if yes docker snap, that's the problem

time to throw out docker snap
when i installed ubuntu server there was a list of programs i could install and i saw docker there so i thought it would save me some time, no?
Well no
Canonical is snap-happy from Ubuntu 22 and onwards
Docker snap works fine for small standalone containers, but not for when you need to mount, say, a large dataset to store images
install with apt?
ok let me try that!
Do you want to start over or export the data?
i think ill start over i didnt upload too much photos
It'll be easiest by far 🙂
after reinstalling docker i have a different problem now...
"could not change permissions of directory "/var/lib/postgresql/data" operation not permitted"
i ran it with sudo
@Mraedis
this folder doesnt event exist
i created this folder and gave all users permission to it, still didnt work
It's whatever your db data location is set to @DORON ✡
The var lib location is inside of the db container
ohh
weird that it doesn't have permission to this folder
Is that a network mounted share?
It's a folder on the ZFS pool
it wont let me change the permissions! i have changed the owner of that folder and it still wont let me. idk whats going on!
have you tried removing the folder entirely (so just leaving the folder 1 step above) and then restarting?
So that docker will create the folder itself
will try
error creating mount source ... chmod: operation not permitted
let me try a new folder maybe
looks like docker just has no permissions on that folder
is it 664?
775
i think
drwxrwxr-x
'Operation not permitted'
maybe something wrong with the pool?
What's the exact output of
ls -la
in that directoryPlease run
df -h
and show the output
the immich data location is in SEVER-NAS/library and /postgres
this pool was previously used in a freenas machine by the way
Sorry, I have no idea. Most of us use ZFS managers like proxmox or truenas
I think you need to figure out why your ZFS is broken, it’s not immich related
yeah probably
thx anyways
took me some time but i solved it :D anyways not a immich related issue
This thread has been closed. To re-open, use the button below.