[SOLVED] Tdarr won't uninstall from apps

I was previously running 24.04 which used K8S and had it running for tdarr and plex. After the upgrade to 24.10, plex seems to work fine, but tdarr has a ton of issues. I just want to remove it and reinstall it from scratch. The problem however is when I delete the app. I get the following errors:

pool0/ix-apps/app_mounts/tdarr': filesystem has dependent clones use '-R' to destroy the following datasets: 
pool0/ix-applications/releases/tdarr/volumes/ix_volumes/logs
pool0/ix-applications/releases/tdarr/volumes/ix_volumes/configs 
pool0/ix-applications/releases/tdarr/volumes/ix_volumes/transcodes 
pool0/ix-applications/releases/tdarr/volumes/ix_volumes/server

As a result it does disappear from the Apps page, but on install all the settings and configs are still there again.

The first issue is that pool0/ix-apps/app_mounts/tdarr does not exist at /mnt/pool0/. The other folders always return:

rm: cannot remove 'tdarr/charts': Device or resource busy
rm: cannot remove 'tdarr/volumes/ix_volumes/configs': Device or resource busy
rm: cannot remove 'tdarr/volumes/ix_volumes/transcodes': Device or resource busy
rm: cannot remove 'tdarr/volumes/ix_volumes/server': Device or resource busy
rm: cannot remove 'tdarr/volumes/ix_volumes/logs': Device or resource busy

I am not sure how to delete this so I can install tdarr from scratch.

I fixed the issue, I dont know if its the correct method, but after I uninstalled tdarr again, I ran the following commands using the paths from the error:

zfs destroy -R pool0/ix-applications/releases/tdarr/volumes/ix_volumes/logs
zfs destroy -R pool0/ix-applications/releases/tdarr/volumes/ix_volumes/configs
zfs destroy -R pool0/ix-applications/releases/tdarr/volumes/ix_volumes/transcodes
zfs destroy -R pool0/ix-applications/releases/tdarr/volumes/ix_volumes/server

I then installed it again and deleted it again. I then installed it again and after installing it gave me a clean install of tdarr.