OK. This is super weird. If you like, let’s do it in a more surgical way with the idea of finding the file that may be “stuck” preventing the total deletion of the folder.
Via SSH, list the contents of the bitcoin folder with the following command.
ls /home/umbrel/umbrel/app-data/bitcoin
I’ll show you one of my nodes as an example of what you’ll see:
umbrel@umbrel2:~$ ls /home/umbrel/umbrel/app-data/bitcoin/
data exports.sh scripts torrc umbrel-app.yml
docker-compose.yml hooks settings.yml torrc.template
In your case, it shouldn’t look like anything since you’ve already uninstalled it, but you say that you’ve confirmed that there’s at least one file there named: settings.yml
Take note of everything you find there (the names) and proceed to delete one by one what you find there. If there’s only one (settings.yml), use the following command:
rm /home/umbrel/umbrel/app-data/bitcoin/settings.yml
If there are more, the same command changing only the end; the name of the file.
Once you’ve deleted all the contents of the folder, check the contents again with the command at the beginning:
ls /home/umbrel/umbrel/app-data/bitcoin
Now, there should be nothing there. It should be empty.
If it is empty, proceed to delete the bitcoin folder with the command:
rm -r /home/umbrel/umbrel/app-data/bitcoin
Then, confirm that it has been deleted with the following command:
ls -l /home/umbrel/umbrel/app-data/
If it has been deleted, only the folders for the installed apps should appear.
If everything has gone well up to this point, check that there are no calls to bitcoin in the configuration for the installed apps. Only the names of the installed apps should appear. If there is something about bitcoin, delete it. Use the following command:
sudo nano /home/umbrel/umbrel/umbrel.yaml
If there is nothing, exit without saving.
Reboot your RPI and check everything
:
sudo nano /home/umbrel/umbrel/umbrel.yaml
ls -l /home/umbrel/umbrel/app-data/
Let’s see if this works or if an error pops up somewhere in the process that tells us “who” is the culprit.