TrueNAS: don't see any Immich folders
Hi! I'm trying to migrate my working Immichwith ) 0.5Tb of data from TrueNAS (which I don't know) to Ubuntu (which I partially know).
But I don't see any Immich data. Where does Immich store all my data? My dataset looks like this:


43 Replies
:wave: Hey @serg499,
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. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
2. :blue_square: read applicable release notes.
3. :blue_square: reviewed the FAQs for known issues.
4. :blue_square: reviewed Github for known issues.
5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
6. :blue_square: uploaded the relevant information (see below).
7. :blue_square: 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.When I see something like that (NOT my system), https://discord.com/channels/979116623879368755/1422685404905078974/1422687572848676865 where all Immich folders are available, I understand that I installed it incorrectly. But how can I fix that?
@Xiticks
@serg499 can you share your Immich config (when you click on "edit" next to the Immich app)
as well as sharing the content of your "sergey" folder, so cd into it, then do
ls -la
or ll
Oh I misread, you're trying to move to Ubuntu too
Well anyway I would still need the info I asked to see how we can fix thatThank you for your reply. Here's my config:





Sergey folder was created by me as a test, it's empty
Please let me know if any additional information may be helpful. Thanks again!
I guess the problem is ixVolume? I should used host path? I guess I just used the default value during the installation
That's not a problem, but yes, its an invisible dataset
so all your data is in
So you could try to cd into it and do
ll
in there
as well as du -h --max-depth=1
OMG, invisible dataset :)) That's what I definitely didn't want to do. I tried to do cd:

Is it possible to make it visible? I've just checked its properties, it was set as Visible:

reserved to root
I never dug into that, as I set all my apps with hostpath
i might have a look when I've some time (not atm)
so do
sudo su
firstwill try, thank you!
Btw if you want to keep using TrueNAS for Immich, it's possible btw
I can help you migrate to the new structure, while having visible datastes
the problem is that I really don't understand TrueNAS. It's a blessing that you can help, but I don't want to overload you with my problems
even sudo is a quest there:

Well I can help a bit/explain some things if you want to learn the basics fast and see if you want to stay on it
waith, where do you do these commands ?
Inside Immich server shell?

I think so
Oh yeah
then it makes sense
the volume is on TrueNAS side
not inside the immich container
I should do it in a global shell?
I'll try
Either ssh into it
if it's enabled
Or click on system > shell
now it's better 🙂

Yes, that's definitely more like it
so now I can try to rsync them?
Yes, I suppose you know how that works
But
I would suggest you use ssh to login into TrueNAS to do so
Because the webUI is disconencted after some time
can I try to use rsync from Synology NAS?
I'm not sure, as you have to be root to access the folders I think
but you can give it a shot
thank you!
No problem!
If that doesn't work, google/search on Youtube "Truenas enable ssh", there are plenty explanation on how to do
And if you want to learn TrueNAS, "Lawrence systems" youtube channel has deep dives into it
Thank you!

I was able to use rsync to copy everything from this invisible dataset to synology. Could you tell me, please, if I install Ubuntu and copy all folders back to the fresh Immich installation will this restores my data?
what it the best way to migrate?
Data wise, yes
But you might have to restore the databas
There should be dumps in the backups folder
if you rsynced it
somewhere I read that everything in linux is a file, including DB
yes, I saw that
so yeah, if the pgData or postgres_data (which is the db) doesn't work
you still can restore it


yeah so this is the database
as for all other folders
you have to put them in a "parent" folder and make sure they have the name thumbs, upload, library, backups, encoded-video
so you might have to rename some of the folders to match the name
I see. Will try. Thank you again!
also can you please help to upgrade to the latest Immich version? TrueNas is not allowing to upgrade automatically like it did before. The upgrade fails
Are you moving to ubuntu or using TrueNAS ? I'm lost now
I'm still on TrueNAS. I guess it's better to upgrade first,no? As on the Ubuntu I'll have to restore my backup and install it on the latest version.
Not really, because on ubuntu, in the docker compose you can choose the version of Immich you use, so this can be fixed on this side
And given your backups, you are on 1.143.0 so no breaking changes, you could directly start on latest (which is 2.0.0)