I made the mistake of importing a 24.10 pool into 24.04 to do some testing
when i reinstalled and reimported the pool to 24.10 the app service had a fit, sometimes this prevents the dataset UI from showing any of my datasets at all (though command line shows they are all there).
I get this error in the alerts.
Critical
Failed to configure docker for Applications: Missing "zfs/ix-apps/app_configs, zfs/ix-apps/app_mounts, zfs/ix-apps/docker, zfs/ix-apps/truenas_catalog" dataset(s) required for starting d
I tried setting and unsetting the apps pool, but it gave me errors about folders not exsting like /mnt/.ix-apps - thing is those did exist
i tried deleting the old mounts and datasets by command line hoping the system would regenerate it then (i did this because at the time the storage UI was utterly non functional). This was obviously a stupid idea.
Is there are command line way to get the system to regerate the defatul set of hidden datasers (as if this was a first install) or at this point am i going to have to nuke the OS, remove all hidden datasets and file structure, reinstall OS and start again?
These failure scenarios should probably be handled.
Worst case, āunsettingā and the reselecting the app pool āshouldā fix things, and if it doesnāt, then Iād regard that as a bug to be fixed personally.
Thanks, is this something they would look at? I didnāt have much luck with my last bug.
I suspect the issue was because when when I imported into 24.04 it created the k8s dataset, but i never configured that service fully (just looked at the UI bits, set pool maybe?)
then i assume when i upgrade that 24.04 to 24.10 the upgrade for k8s failed like the other person
i had hoped the full re-install of 24.04 import would fix / reset truenas.
Good news, i think i fixed this with the following procedure (not saying all steps were needed)
tried to disconnect main pool called zfs, couldnāt due to missing folder
created new pool called foo (thankfully i had 2 spare disks)
also if you happen to fat finger the data set create mount point parameter you can fix all the auto created datapoints with this and reboot (guess who actually fat fingered it)
sudo zfs set -u mountpoint=/.ix-apps zfs/ix-apps
sudo zfs set -u mountpoint=/.ix-apps/app_configs zfs/ix-apps/app_configs
sudo zfs set -u mountpoint=/.ix-apps/docker zfs/ix-apps/docker
sudo zfs set -u mountpoint=/.ix-apps/app_mounts zfs/ix-apps/app_mounts
sudo zfs set -u mountpoint=/.ix-apps/truenas_catalog zfs/ix-apps/truenas_catalog
Replace tank with your pool or old ix-apps path. If you did not delete the configs it should directly create the relevant mountpoint and hide ix-apps folder.
After that you will still have to manually initiate the migration.