I
Immich•5mo ago
VodoBaas1

External Library showing excluded folder that doesn't show in file system

So, I've had an external library imported into Immich on Unraid with a path of "/mnt/user/Pictures", I have an exclusion of "/.photostructure/" however I still see photos in the timeline of "/Pictures/PS/.photostructure/previews/000/006/" The odd thing is that I can't find the folder path of "/Pictures/PS/.photostructure/" in my folder at all but somehow Immich still picks it up. The PS folder was created in windows and I have checked for a hidden folder. I'm out of ideas on how to either get rid of these files in the folder or exclude them. I have also run the scan after the exclusion.
63 Replies
Immich
Immich•5mo ago
:wave: Hey @VodoBaas1, 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.
Daniel
Daniel•5mo ago
/.photostructure/ That path does not make any sense That'd mean you'd have a .photostructure folder at the root How did you try to find that folder, since you're saying you can't find it? Files with a name that starts with a dot are hidden by most file systems by default
VodoBaas1
VodoBaas1OP•5mo ago
No description
No description
No description
bo0tzz
bo0tzz•5mo ago
How are you looking for the folder, what sort of filesystem is it on, what pieces are involved (eg network mounts)?
VodoBaas1
VodoBaas1OP•5mo ago
Correct, this is from Photoshop, they also look like thumbs that photoshop put in a hidden folder. The thing is, I view all hidden folders as well and don't see it.
No description
VodoBaas1
VodoBaas1OP•5mo ago
This folder was migrated from Winodws over to Unraid and sits on the Array (Linux). No network mounts for this. I know this is most likely not an Immich issue per se. To me it's like the files are there but I just can't see them. I've mounted the folder and looked in Windows, used midnight commander, tried krusader.
bo0tzz
bo0tzz•5mo ago
Have you tried just plain ls -a directly on unraid?
VodoBaas1
VodoBaas1OP•5mo ago
I have in the folder and it doesn't list the .photostructure folder
Daniel
Daniel•5mo ago
In which folder exactly?
VodoBaas1
VodoBaas1OP•5mo ago
No description
VodoBaas1
VodoBaas1OP•5mo ago
Sorry must not have hit enter on the screen grab
Daniel
Daniel•5mo ago
On the unraid side you're at /Pictures, no?
bo0tzz
bo0tzz•5mo ago
Is the path inside the container /Pictures or /mnt/user/Pictures?
Daniel
Daniel•5mo ago
Not at /mnt/user/Pictures
bo0tzz
bo0tzz•5mo ago
The screenshots are conflicting
VodoBaas1
VodoBaas1OP•5mo ago
So, the docker sees the shares as /Pictures, but Unraid will see the folder as /mnt/user/Pictures.
bo0tzz
bo0tzz•5mo ago
The screenshots here say /mnt/user/Pictures in various places though
VodoBaas1
VodoBaas1OP•5mo ago
I mean it depends on what side I'm on. I might have the exclusion incorrect because it's in the docker, but it loaded them forever ago and I hadn't looked at that. But /mnt/user/Pictures would be what Unraid would see the folder mapped as. Immich should see the folder mapped as /Pictures
Daniel
Daniel•5mo ago
No, it says that /mnt/user/Pictures is inside the container We're talking about the correct side
VodoBaas1
VodoBaas1OP•5mo ago
The first screenshot was of the container, so I'm not sure which your reffering to then.
Daniel
Daniel•5mo ago
Sorry, typoed
bo0tzz
bo0tzz•5mo ago
The first screenshot says "Container path: /mnt/user/Pictures" Which suggests to me that'll be the path inside the container
Daniel
Daniel•5mo ago
And on the second you're using /mnt/user/Pictures as the path for the external lib
VodoBaas1
VodoBaas1OP•5mo ago
The first is stating that the path on Unraid /mnt/uer/Pictures will be /Pictures in Immich.
Daniel
Daniel•5mo ago
Pretty sure it's vice versa Otherwise the labels would be incredibly confusing
VodoBaas1
VodoBaas1OP•5mo ago
Yes, your right that it does point to the wrong thing in Immich which I just saw when you showed that
VodoBaas1
VodoBaas1OP•5mo ago
that's why Immich see this.
No description
Daniel
Daniel•5mo ago
Ok, let's do a thing Get a shell on your unraid server And run docker container inspect immich_server
VodoBaas1
VodoBaas1OP•5mo ago
No description
Daniel
Daniel•5mo ago
Ffs Sorry immich-server Those container names are killing me
VodoBaas1
VodoBaas1OP•5mo ago
What's Ffs, sorry don't know that one
Daniel
Daniel•5mo ago
"For fuck's sake", because I was annoyed by getting the container name wrong (again) 😅
VodoBaas1
VodoBaas1OP•5mo ago
ah lol
bo0tzz
bo0tzz•5mo ago
It might not be this either In which case docker ps
Daniel
Daniel•5mo ago
Huh?
bo0tzz
bo0tzz•5mo ago
It's not a compose setup So it doesn't have our usual container_name directive
Daniel
Daniel•5mo ago
Oh, it's the AIO Yeah thanks, missed that
VodoBaas1
VodoBaas1OP•5mo ago
Correct
VodoBaas1
VodoBaas1OP•5mo ago
No description
bo0tzz
bo0tzz•5mo ago
docker inspect 2dd8bba
Daniel
Daniel•5mo ago
(and look out for volumes)
VodoBaas1
VodoBaas1OP•5mo ago
No description
No description
Daniel
Daniel•5mo ago
Yeah, so /mnt/user/Pictures goes to /mnt/user/Pictures inside your container Not /Pictures
VodoBaas1
VodoBaas1OP•5mo ago
Yeah I see that now.
bo0tzz
bo0tzz•5mo ago
Have there been any changes to your setup recently? Since that asset path is /Pictures/..., it must've been at that path at some point
VodoBaas1
VodoBaas1OP•5mo ago
It's been awhile there was those breaking changes and that's probably when all this happened I just didn't have the bandwidth to work on it then. And I'm dumb and was looking at the far left name thinking /Pictures when I made this not made but started working on it yesterday So, question is, why does it still show if I've rescanned the external Library?
Daniel
Daniel•5mo ago
It doesn't belong to any library So it's not being marked as offline
VodoBaas1
VodoBaas1OP•5mo ago
Should I remove the External Library and readd it?
Daniel
Daniel•5mo ago
I am not sure which state your instance is currently in So first off, do you have backups?
VodoBaas1
VodoBaas1OP•5mo ago
Backups of the folder or the container or all of it? The external library should be read only.
Daniel
Daniel•5mo ago
Backups of the db and your files in Immich (those not in an external library) And also the external library
bo0tzz
bo0tzz•5mo ago
It is not mounted readonly And you should still have backups of it regardless tbf
VodoBaas1
VodoBaas1OP•5mo ago
True, I mean I do, just are probably a week old on all of it It runs every sunday.
Daniel
Daniel•5mo ago
Why not daily? Hourly?
VodoBaas1
VodoBaas1OP•5mo ago
I can just do a manual backup first
Daniel
Daniel•5mo ago
Yes please
VodoBaas1
VodoBaas1OP•5mo ago
the appdata folder gets backed up weekely because I have a lot of other stuff running and that's a lot of backing up. The ../Pictures folder is very large and once they are backed up don't really need to be that often. Running it noe now It will take awhile.
Daniel
Daniel•5mo ago
Backing up a whatever large folder shouldn't take too long after the initial backup I don't follow
VodoBaas1
VodoBaas1OP•5mo ago
Just saying that's why I don't do it hourly. I get your point, just that's why I had it setup that way in the beginning
Daniel
Daniel•5mo ago
Gotcha. You should absolutely have it run daily though or something Weekly is quite a long period you potentially just lose
VodoBaas1
VodoBaas1OP•5mo ago
I hear ya, I guess my thought initially as well was I have those assets on my phone as well that I might lose over that week, but makes sense and I'll change it.
Daniel
Daniel•5mo ago
Just seen too many people losing data at this point 😅
VodoBaas1
VodoBaas1OP•5mo ago
Fair enough and I appreciate it. Nothing worse for sure. Everything is backed up and good to go.

Did you find this page helpful?