Deleting apps from UI is not deleting app data from ix-applications dataset

ElectricEel-24.10-BETA.1 I’ve installed multiple apps for experimentation purposes. The issue below occurs with any application.

  1. Install app
  2. make a configuration change or add data
  3. delete app
  4. reinstall app
  5. The data or configuration that was added earlier in step 2 is still there
1 Like

Is this expected behavior?

Electric Eel no longer uses ix-applications for apps data storage, moving it instead to /mnt/.ix-apps. That’s where changes to apps are reflected in 24.10

Data from previous app installs retained in the legacy ix-applications can be used to migrate or recreate applications in 24.10, but I’d say that once you have everything back up and running you should be able to safely delete the unused ix-applications dataset.

How do you access if needed /mnt/.ix-apps?

also where you find the documentation for something that’s not fully released?

As the following is going to be up-to-date until after release candidate.

Do you mean like shell access to check for configuration changes? ls -a /mnt or ls /mnt/.ix-apps will let you view it.

Documentation for a new major version is updated alongside development changes. You can use the Product and Version selector at the top of the page to select a specific stable or early release version.

ls /mnt/.ix-apps

Sorry for the nit, but it’s a command.

1 Like

Thank you, it seems data is being left on ls /mnt/.ix-apps/app_mounts as nginx-proxy-manager has been uninstalled yet application data still exists. The data has been deleted. I don’t know if this is by design. Maybe the user should have the option they want to keep or delete that data during uninstall.

In this case I need to delete the following data in order to have a clean install of that particular app.
rm -drf /mnt/.ix-apps/app_mounts/nginx-proxy-manager

Unfortunately the administrator account does not have privileges to delete such data.
cannot remove '/mnt/.ix-apps/app_mounts/nginx-proxy-manager/data/database.sqlite': Permission denied

What’s the official way to remove data from the data set? root?

We have a ticket open to allow better management of that app data after uninstalling: [NAS-130966] - iXsystems TrueNAS Jira.

For now, you could try sudo with your remove command, though that might still leave behind some hidden dot files and prevent a reinstall.

The easier option is just to reinstall using a different name, like nginx-proxy-manager2.

Thank you for clarifying that this is a work in progress. A simple solution. Allow the user to check a box during uninstall whether or not to delete the app data volume.

Keep in mind both in documentation and implementation that a user may need to rescue data from app_mounts/some-app manually. It could be kept read only, but should be made accessible.

Sudo with all containers stopped
sudo rm -drf /mnt/.ix-apps/app_mounts/nginx-proxy-manager
rm: cannot remove '/mnt/.ix-apps/app_mounts/nginx-proxy-manager/certs': Device or resource busy
rm: cannot remove '/mnt/.ix-apps/app_mounts/nginx-proxy-manager/data': Device or resource busy