Having trouble migrating pgData on TrueNas Scale

I am attempting to migrate my storage configuration by folowing the guide here
https://main.preview.immich.app/docs/install/truenas/#migration-from-old-storage-configuration
I am using TrueNas-Scale and i have installed Immich using the apps feature, so my compose and env are the ones published there.
I am a major linux noob so that might be the main issue, but i have managed to move all the data in nely created dataset as per the instructions. Some were in datasets, some were in /mnt/.ix-apps/app_mounts/immich. After messing around with the permissions I was able to run the recommended 'rsync -av' command in the shell available in the TrueNas Scale web gui, loged in as admin.

My issue is when trying to run rsync -av /mnt/.ix-apps/app_mounts/immich/pgData/ /mnt/tank/immich/pgData/ to move the pgData
see the Permission denied (13)
In my non-migrated config the pgData is set as in the attachemnt.

I am on TrueNas-Scale 25.04.2 and Immich App Version: v1.137.3 Version: v1.9.15

How can I move my pgData to the new dataset?
image.png
image.png
This is a community contribution and not officially supported by the Immich team, but included here for convenience.
Was this page helpful?