On october 7th i upgraded to 24.10RC2 to test it out, i then reverted back to 24.04.
A couple of days ago i tried upgrading to 24.10 full release but when my apps launch they have data up to october 7th, like it’s taking the 24.10RC2 instance as the latest. This happens even when deleting 24.10RC2 from the Boot page, how can I fix this?
I would suggest that on Dragonfish you can probably delete the “ix-apps” dataset.
My assumption is the migration is not happening because it’s already happened.
I agree with Stux. You have data in the locations 24.10 is looking for app data, so it is using that data. You would need to go back to 24.10, manually delete that dataset (you’ll need to use the command line for this) and then remigrate to 24.10.
Alright, so i boot into 24.10 and go to datasets and just delete the “ix-applications” dataset? DjP-iX mentioned doing this with command line? After that do i go back to 24.04 and then again boot into 24.10?
No, the ix-applications dataset is your “current” Dragonfish apps data. You want to keep this to be able to roll back to 24.04.
24.10 creates a hidden ix-apps dataset on your apps pool and mounts it at /mnt/.ix-apps. This is where your migrated apps are stored. So you need to revert to 24.04, use the cli to remove ix-apps so there is no existing data where 24.10 wants to place your apps, then upgrade to 24.10 so the app migration can happen with your current data.
ahh i see, I’ll go and check how to do this right away and i’ll report back.
hey so i tried running “zfs destroy -r mnt/.ix-apps” but it says dataset does not exist, what am i missing?
Try zfs destroy -r /MY_POOL/ix-apps
. Replace MY_POOL with your apps pool.
This is what happened:
cannot destroy 'Mali Sinisa/ix-apps': filesystem has dependent clones
use '-R' to destroy the following datasets:
Mali Sinisa/ix-applications/releases/paperless-ngx/volumes/ix_volumes/media@ix-applications-backup-system-update--2024-11-03_18:11:01
Mali Sinisa/ix-applications/releases/paperless-ngx/volumes/ix_volumes/media
then it lists a bunch more items in the list
If im not mistaken trying this command with -R will get rid of this error i mentioned a bit ago but wont that also delete all my data that i want to migrate?
The data in ix-apps is only used in Electric Eel and the data in ix-applications is only used in Dragonfish (and is what should be migrated to ix-apps when you upgrade). So if you want to get rid of the BETA app data from Electric Eel, you need to clear the old data in ix-apps so it is ready to receive migrated data from ix-applications when you upgrade again
yeah no i understand that part I just didn’t fully understand what the shell told me, doing -R will delete only clones of my ix-applications not the actual data in that dataset. I just didn’t understand that, so now im going to run zfs destroy -R /MY_POOL/ix-apps
hey so little update, i cleared almost all data in ix-apps but there is still some left which doesn’t want to get deleted.
cannot destroy 'Mali Sinisa/ix-applications/releases/paperless-ngx/volumes/ix_volumes/pgData': dataset is busy
cannot destroy snapshot Mali Sinisa/ix-apps/app_mounts/paperless-ngx/pgData@ix-applications-backup-system-update--2024-11-03_16:24:49: snapshot is cloned
cannot destroy 'Mali Sinisa/ix-apps/app_mounts/paperless-ngx': dataset already exists
cannot destroy 'Mali Sinisa/ix-applications/releases/immich/volumes/ix_volumes/pgData': dataset is busy
cannot destroy snapshot Mali Sinisa/ix-apps/app_mounts/immich/pgData@ix-applications-backup-system-update--2024-10-07_18:33:23: snapshot is cloned
cannot destroy 'Mali Sinisa/ix-applications/releases/immich/volumes/ix_volumes/profile': dataset is busy
cannot destroy snapshot Mali Sinisa/ix-apps/app_mounts/immich/profile@ix-applications-backup-system-update--2024-10-07_18:33:23: snapshot is cloned
cannot destroy 'Mali Sinisa/ix-applications/releases/immich/volumes/ix_volumes/thumbs': dataset is busy
cannot destroy snapshot Mali Sinisa/ix-apps/app_mounts/immich/thumbs@ix-applications-backup-system-update--2024-10-07_18:33:23: snapshot is cloned
cannot destroy 'Mali Sinisa/ix-apps/app_mounts/immich': dataset already exists
cannot destroy 'Mali Sinisa/ix-applications/releases/nextcloud/volumes/ix_volumes/html': dataset is busy
cannot destroy snapshot Mali Sinisa/ix-apps/app_mounts/nextcloud/html@ix-applications-backup-system-update--2024-10-07_18:33:23: snapshot is cloned
cannot destroy 'Mali Sinisa/ix-applications/releases/nextcloud/volumes/ix_volumes/pgData': dataset is busy
cannot destroy snapshot Mali Sinisa/ix-apps/app_mounts/nextcloud/pgData@ix-applications-backup-system-update--2024-10-07_18:33:23: snapshot is cloned
cannot destroy 'Mali Sinisa/ix-apps/app_mounts/nextcloud': dataset already exists
cannot destroy 'Mali Sinisa/ix-applications/releases/wordpress-ladies50plus/volumes/ix_volumes/mariadbData': dataset is busy
cannot destroy snapshot Mali Sinisa/ix-apps/app_mounts/wordpress-ladies50plus/mariadbData@ix-applications-backup-system-update--2024-10-07_18:33:23: snapshot is cloned
cannot destroy 'Mali Sinisa/ix-applications/releases/wordpress-ladies50plus/volumes/ix_volumes/data': dataset is busy
cannot destroy snapshot Mali Sinisa/ix-apps/app_mounts/wordpress-ladies50plus/data@ix-applications-backup-system-update--2024-10-07_18:33:23: snapshot is cloned
cannot destroy 'Mali Sinisa/ix-apps/app_mounts/wordpress-ladies50plus': dataset already exists
cannot destroy 'Mali Sinisa/ix-applications/releases/adguard-home/volumes/ix_volumes/work': dataset is busy
cannot destroy snapshot Mali Sinisa/ix-apps/app_mounts/adguard-home/work@ix-applications-backup-system-update--2024-11-03_16:24:49: snapshot is cloned
cannot destroy 'Mali Sinisa/ix-applications/releases/adguard-home/volumes/ix_volumes/conf': dataset is busy
cannot destroy snapshot Mali Sinisa/ix-apps/app_mounts/adguard-home/conf@ix-applications-backup-system-update--2024-11-03_16:24:49: snapshot is cloned
cannot destroy 'Mali Sinisa/ix-apps/app_mounts/adguard-home': dataset already exists
cannot destroy 'Mali Sinisa/ix-applications/releases/plex/volumes/ix_volumes/data': dataset is busy
cannot destroy snapshot Mali Sinisa/ix-apps/app_mounts/plex/data@ix-applications-backup-system-update--2024-10-07_18:33:23: snapshot is cloned
cannot destroy 'Mali Sinisa/ix-applications/releases/plex/volumes/ix_volumes/config': dataset is busy
cannot destroy snapshot Mali Sinisa/ix-apps/app_mounts/plex/config@ix-applications-backup-system-update--2024-10-07_18:33:23: snapshot is cloned
cannot destroy 'Mali Sinisa/ix-applications/releases/plex/volumes/ix_volumes/transcode': dataset is busy
cannot destroy snapshot Mali Sinisa/ix-apps/app_mounts/plex/transcode@ix-applications-backup-system-update--2024-10-07_18:33:23: snapshot is cloned
cannot destroy 'Mali Sinisa/ix-apps/app_mounts/plex': dataset already exists
cannot destroy 'Mali Sinisa/ix-apps/app_mounts': dataset already exists
cannot destroy 'Mali Sinisa/ix-apps': dataset already exists
Since I haven’t tested or confirmed this, we’re running up against the limit of help I can offer, but I wonder if at least some of those issues would be solved by unsetting the app pool to completely stop all apps before running the command
that did the trick! ix-apps is gone. Alright now what, do i set the app pool and boot into 24.10?
Reset app pool and rerun the upgrade to 24.10 so that the migration script takes effect. But first, take a look at the app preparation steps in the 24.10 release notes to make sure your system is prepared to migrate: 24.10 (Electric Eel) Version Notes | TrueNAS Documentation Hub
ok so that did infact delete all my PVC data, thank god i had everything on host paths, but some apps wont launch in the postgres pod this is what happens:
chmod: changing permissions of '/var/lib/postgresql/data': Operation not permitted
initdb: error: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
fixing permissions on existing directory /var/lib/postgresql/data ...