Restored ix-applications, all apps deleted, kubernetes service cannot start

I had an issue with the Nextcloud application with some dataloss, and I restored from a snapshot for a folder called “main/ix-applications/k3s”, and all my applications were deleted, and the kubernetes service cannot start.

How can I get my apps and data within the apps back? If I cant, how do I rebuild the application service because I am getting this error, “Failed to start kubernetes cluster for Applications: [EFAULT] Unable to configure node: Containerd socket is not available”.

I you restored something in that folder… you are like going to have to rebuild that whole folder to get apps back.

How many apps were using volumes in that folder?

I had 5-6 apps, Nextcloud, Adguard, Plex, Jellyfin, Filebrowser and one more that I can’t recall. How should I go about “rebuilding” them? Thanks for the reply too!

how many of them were using volumes as opposed to host path?

So I dont have a K3 setup anymore so I cant check where the volumes are

You might be able to get the data back

But here is how to rebuild If you do this you cant get the data back*

  1. apps tab unset application dataset
  2. delete the ix dataset
  3. apps tab set IX dataset

from there you could reinstall…

Also if apps were on host path you could just reinstall them and point to that data and they will come right back up

I would consider using host paths so you know where your apps permanent storage is and an app rebuild is simple a matter of pointing at that storage and you can tailor your snapshots to each of those apps needs as they will have different datasets on the host

I’ve got a feeling all of them were stored on the volumes within the ix application dataset, and none from the hostpath as I didn’t not configure any extra storage locations for the applications when setting them up. In such a case what are my steps to get back to where I was? Has it got something to do with cloning all ix application folders from the known working day? If so how do I get the kubernetes services to start running again.

Thanks for your previously reply, I now understand the steps regarding starting fresh by deleting the ix application dataset and unmounting applications from the application tab, and I might try that if I can’t find a way to “restore” all the ix application files and data.

Use heavy script command line tool to mount the stored volumes and copy the data out of them onto host paths…

if heavy script cant see the volumes… there may still be a way but I dont know the answer