Skip to content

Uninstall

Run the installer’s uninstall command on the server. The installer of any release works:

Terminal window
curl -fL https://github.com/lubaskinc0de/beatstash/releases/download/v0.0.8/install.sh -o install.sh
curl -fL https://github.com/lubaskinc0de/beatstash/releases/download/v0.0.8/install.sh.sha256 -o install.sh.sha256
sha256sum -c install.sh.sha256
bash install.sh uninstall

It finds the running installation, asks you to confirm it, and then asks about each part separately. Enter takes the default in brackets:

PartDefaultWhat goes away
Return the bot to Telegram’s cloud APInoLogs the bot out of the local Bot API, so it can run elsewhere; the cloud API can take up to 10 minutes to accept it
Containers and networkyesThe running services; downloaded images stay
The beatstash site in a shared CaddyyesThe block between the beatstash markers, with the same checks as when it was added; see HTTPS
VolumesnoThe bot’s database and the local Bot API’s data: accounts, libraries, links, imports
Navidrome’s datanoNavidrome’s own database: its users, playlists, and play counts
MusicnoEverything uploaded and imported through the bot; the question shows its size
Installation folderno.env and config.toml, offered only once everything above is gone

Data is offered for deletion only after the containers are gone. Whatever you keep still works: run the installer in the same folder to start again with it.

A Navidrome you connected as an existing server is never touched, and neither is the music it had. If you no longer need them, remove the beatstash music mount and its libraries from that Navidrome yourself.

From deploy, docker compose down removes the containers, and docker compose down -v also deletes the volumes. Then delete the installation folder; the containers wrote files as root, so you need sudo rm -rf. Remove the site you added to your reverse proxy and reload it.