I
Immich•5d ago
serg499

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:
No description
No description
43 Replies
Immich
Immich•5d ago
: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.
serg499
serg499OP•5d ago
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?
bo0tzz
bo0tzz•5d ago
@Xiticks
Xiticks
Xiticks•5d ago
@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 that
serg499
serg499OP•4d ago
Thank you for your reply. Here's my config:
serg499
serg499OP•4d ago
No description
No description
No description
No description
No description
serg499
serg499OP•4d ago
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
Xiticks
Xiticks•4d ago
That's not a problem, but yes, its an invisible dataset so all your data is in
/mnt/.ix-apps/app_mounts/immich/
/mnt/.ix-apps/app_mounts/immich/
So you could try to cd into it and do ll in there as well as du -h --max-depth=1
serg499
serg499OP•4d ago
OMG, invisible dataset :)) That's what I definitely didn't want to do. I tried to do cd:
No description
serg499
serg499OP•4d ago
Is it possible to make it visible? I've just checked its properties, it was set as Visible:
No description
Xiticks
Xiticks•4d ago
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 first
serg499
serg499OP•4d ago
will try, thank you!
Xiticks
Xiticks•4d ago
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
serg499
serg499OP•4d ago
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
serg499
serg499OP•4d ago
even sudo is a quest there:
No description
Xiticks
Xiticks•4d ago
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?
serg499
serg499OP•4d ago
No description
serg499
serg499OP•4d ago
I think so
Xiticks
Xiticks•4d ago
Oh yeah then it makes sense the volume is on TrueNAS side not inside the immich container
serg499
serg499OP•4d ago
I should do it in a global shell? I'll try
Xiticks
Xiticks•4d ago
Either ssh into it if it's enabled Or click on system > shell
serg499
serg499OP•4d ago
now it's better 🙂
No description
Xiticks
Xiticks•4d ago
Yes, that's definitely more like it
serg499
serg499OP•4d ago
so now I can try to rsync them?
Xiticks
Xiticks•4d ago
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
serg499
serg499OP•4d ago
can I try to use rsync from Synology NAS?
Xiticks
Xiticks•4d ago
I'm not sure, as you have to be root to access the folders I think but you can give it a shot
serg499
serg499OP•4d ago
thank you!
Xiticks
Xiticks•4d ago
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
serg499
serg499OP•4d ago
Thank you!
No description
serg499
serg499OP•3d ago
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?
Xiticks
Xiticks•3d ago
Data wise, yes But you might have to restore the databas
Xiticks
Xiticks•3d ago
There should be dumps in the backups folder if you rsynced it
serg499
serg499OP•3d ago
somewhere I read that everything in linux is a file, including DB yes, I saw that
Xiticks
Xiticks•3d ago
so yeah, if the pgData or postgres_data (which is the db) doesn't work you still can restore it
serg499
serg499OP•3d ago
No description
serg499
serg499OP•3d ago
No description
Xiticks
Xiticks•3d ago
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
serg499
serg499OP•3d ago
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
Xiticks
Xiticks•3d ago
Are you moving to ubuntu or using TrueNAS ? I'm lost now
serg499
serg499OP•3d ago
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.
Xiticks
Xiticks•3d ago
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)

Did you find this page helpful?