Issue: Unable to Reinstall LNbits on Umbrel (EN)

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.


:rocket: Solution Step-by-Step

:one: 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).


:two: 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

:three: 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

:four: Reinstall LNbits

After confirming that LNbits was completely removed, the installation from the Umbrel App Store worked correctly without errors.


:dart: 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.

:zap: Issue resolved, and the node is back to full functionality! :zap:


This process can also be applied to other apps that cannot be removed via the Umbrel App Store. :rocket::bulb:


:loudspeaker: Have you experienced a similar issue? Share your thoughts in the community to help others! :hammer_and_wrench::zap:

2 Likes

Thank you for you help, I can’t remove the line, don’t let me save the changes.

Try with ‘sudo’ command:

sudo nano ~/umbrel/umbrel.yaml

After you delete the Not Running app from “apps” list, you can save it with “CRTL + O”, press ENTER, exit the editor with “CRTL + X”

And then, continue with the next steps mentioned on the guide.

1 Like

@rolo see my previous response, hope it help you solve it.

Thank you, both apps up and running.