Application error with lost used pool - TrueNAS-SCALE-24.10-RC.2

Until now, Truenas applications used pool_a and when I lost pool_a along with the configuration, I also lost all the apps.

At the moment I am unable to install anything, after entering the Applications menu at the beginning I get the message:

Error In Apps Service - Failed to configure docker for Applications: Missing "pool_a/ix-apps/app_mounts, pool_a/ix-apps/app_configs, pool_a/ix-apps/truenas_catalog, pool_a/ix-apps/docker" dataset(s) required for starting docker.

I tried to manually create the pool_a/ix-apps dataset and then all the next folders, but the applications still communicate with different messages and cannot install themselves, for example this:

[EFAULT] Failed to create dataset: cannot create 'pool_a/ix-apps/app_mounts/portainer': parent does not exist

Docker itself also does not want to start on its own and must be started manually. Can I reinstall only docker or completely reinstall Truenas?

When you say lost pool - what do you mean? Was it exported or removed or some other event? Or do you mean it is not set as the pool for apps and that connection was lost?

The entire pool for unknown reasons showed so many errors that it was no longer possible to export, recover or repair it. Only with the help of good people from this community was it possible to install it in readonly mode and copy the data. Since nothing could be done with it, I had to destroy it and install it again.

Since the applications stopped working for the same reason, I tried to update the same version of TrueNAS again, but the system does not allow it. I thought about downgrading to TrueNAS 24.10-BETA.1 and then upgrading again to ElectricEel-24.10-RC.2, but since zfs is probably in a slightly different version, I am a little afraid …

Are you able to use either Apps > Configuration > Unset Pool and/or > Choose Pool to set your applications pool to the new one?

Yes, I did that and I can’t unset pool_a (previously damaged) because I get the message below:

[EFAULT] Failed to stop docker service: [EFAULT] Failed to umount dataset: Dataset pool_a/ix-apps not found

I can only choose choose pool_a but the applications don’t work
I can’t choose pool_b because I get the same message as before

1 Like

You said your recovered the files, and this is a new pool with the same contents?
If so I might guess that the recovered files you added to the new pool for ix-applications may not have the correct permissions. I suspect that on trying to set the pool it is unable to access them.

When I unuset pool the system generates the message:

[EFAULT] Failed to stop docker service: [EFAULT] Failed to umount dataset: Dataset pool_a/ix-apps not found

so when I try to create the ix-apps dataset in pool_a I get a different message:

[EINVAL] pool_dataset_create.name: 'pool_a/ix-apps' is using system internal managed dataset. Please specify a different parent.

and this in a circle.

Yes - I have the entire ix-application directory but it seems to me that this is a remnant of previous versions before 24.10. By default I wanted to use only the built-in docker

Problem solved - I reinstalled Truenas and the problem doesn’t occur with the new configuration, I tried to import the old configuration as a test, but the errors come back.