#help migration in truenas

1 messages · Page 1 of 1 (latest)

tidal linden
#

Hi, @frozen notch i need some help in the folder migration in truenas. i'm followink the official doc/wiki page about migration.
My problem is: in my configuration some folder are in a different location and they are in the same place, so what i have to rsync? i'll attach the actual configuration and the files of the external folder.

i've already generated the new datasets (immich/data e immich/pgData) ad rsync all the lx volumes folders, i need to rsync the /mnt/Pool1/fotomobile folders

languid oakBOT
#

:wave: Hey @tidal linden,

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

#

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.

frozen notch
tidal linden
#

i've to restart immich, give me some minutes.
in the meanwhile i'll add that i've done this rsyncs from ix-apps:
rsync -avh --progress /mnt/.ix-apps/app_mounts/immich/backups/ /mnt/Pool1/immich/data/backups/
rsync -avh --progress /mnt/.ix-apps/app_mounts/immich/video/ /mnt/Pool1/immich/data/encoded-video/
rsync -avh --progress /mnt/.ix-apps/app_mounts/immich/library/ /mnt/Pool1/immich/data/library/
rsync -avh --progress /mnt/.ix-apps/app_mounts/immich/profile/ /mnt/Pool1/immich/data/profile/
rsync -avh --progress /mnt/.ix-apps/app_mounts/immich/thumbs/ /mnt/Pool1/immich/data/thumbs/
rsync -avh --progress /mnt/.ix-apps/app_mounts/immich/uploads/ /mnt/Pool1/immich/data/upload/
rsync -avh --progress /mnt/.ix-apps/app_mounts/immich/pgData/ /mnt/Pool1/immich/pgData/

frozen notch
#

Well your commands were fine, just
rsync -avh --progress /mnt/.ix-apps/app_mounts/immich/uploads/ /mnt/Pool1/immich/data/upload/
rsync -avh --progress /mnt/.ix-apps/app_mounts/immich/library/ /mnt/Pool1/immich/data/library/
were somewhat useless, as your data for these is in fotomobile

tidal linden
#

exactly, but 'ive done them just in case

#

i think it's enabled

frozen notch
#

Looks like it
Can you run the storage migration job just to be 100% certain?

#

It's the job before the last on the jobs page

tidal linden
#

ok so the middle one, not the last one

frozen notch
#

you can run both

tidal linden
#

ok, they are running

frozen notch
#

and the 2 other can be rsynced into the upload folder

tidal linden
#

wonderful! I think it will take a while, (the "migration" job has 15k things to do)

frozen notch
#

Yeah no worries

#

Keep me up to date

tidal linden
#

ok, i've done it and rsynced the four folders into library+upload
that's all, right?

frozen notch
#

It should be, yes

#

Well don't delete the old stuff yet

#

but try to start Immich pointing to the 2 new datasets