I encountered an issue when trying to reinstall LNbits. The app appeared as installed but was not running and could not be removed from the Umbrel App Store.
Manual removal attempts failed because Umbrel kept restoring LNbits automatically, preventing a clean installation. Additionally, running the command:
umbreld client apps.update.mutate --appId lnbits
Returned the error:
ENOENT: no such file or directory, open '/home/umbrel/umbrel/app-data/lnbits/docker-compose.yml'
This indicated that the required docker-compose.yml
file was missing, making it impossible to start LNbits.
Solution Step-by-Step
Disable LNbits in Umbrelâs Configuration
LNbits was being restored automatically because it was still listed in the configuration file umbrel.yaml
. To prevent this, we edited the file:
nano ~/umbrel/umbrel.yaml
And removed the following line:
- lnbits
Then, saved the changes (CTRL + X
, then Y
, and Enter
).
Manually Remove LNbits
Once it was removed from the configuration, we deleted all LNbits-related files:
sudo rm -rf ~/umbrel/app-data/lnbits
sudo rm -rf ~/umbrel/app-stores/lnbits*
To verify that it was successfully removed:
ls -l ~/umbrel/app-data/ | grep lnbits
ls -l ~/umbrel/app-stores/ | grep lnbits
Restart Umbrel
To apply the changes, we restarted the system:
sudo systemctl restart umbrel
Then, checked if LNbits was still running:
sudo docker ps --format "table {{.Names}}\t{{.Status}}" | grep lnbits
Reinstall LNbits
After confirming that LNbits was completely removed, the installation from the Umbrel App Store worked correctly without errors.
Conclusion
If LNbits wonât install, wonât delete, or has corrupted files, the best solution is to edit umbrel.yaml
, manually remove its files, and restart Umbrel before attempting to reinstall it.
Issue resolved, and the node is back to full functionality!
This process can also be applied to other apps that cannot be removed via the Umbrel App Store.
Have you experienced a similar issue? Share your thoughts in the community to help others!