Uninstall OpenStream TV Safely
This page covers removal. For upgrades, use How to Update OpenStream TV.
Before uninstalling, decide whether to keep the OpenStream TV data directory. It contains saved provider sessions, the admin password hash, the access key and TLS files. Make a private backup if you may reinstall later.
Linux, macOS and other standalone binaries
- Stop the running OpenStream TV process.
- If you installed autostart on Linux or Termux, remove it with
ost autostart removeusing the same operating-system user that created it. - Delete only the
ostexecutable from the directory where you installed it, such as/usr/local/bin/ostor$HOME/.local/bin/ost. - Keep the data directory unless you deliberately want to remove saved accounts and server secrets.
If a systemd service was created for OpenStream TV, ost autostart remove removes the service definition installed by OpenStream TV. Run it with the same privilege level used during setup.
Windows
- Stop the server window or process.
- Delete
ost.exefrom its install directory. The PowerShell installer defaults to%LOCALAPPDATA%\Programs\OpenStream TVunless you selected another location. - Remove that directory from your user
PATHif it is no longer needed. - Keep the data directory if you may reinstall.
The project does not install a native Windows background service, so remove any third-party service wrapper separately if you configured one yourself.
Termux
Run ost autostart remove if you enabled Termux autostart, stop the server, then delete the ost executable from $PREFIX/bin. Android may keep Termux files after the app closes; remove the OpenStream TV data directory separately only if you want to erase saved state.
OpenWrt
Remove the installed package with the package manager used by the router:
apk del openstream
# or
opkg remove openstream
Use openstream-slim instead if that is the installed package. Package removal preserves /etc/openstream and /etc/config/openstream; back them up or delete them separately only when you intend to erase the configuration and saved account state. See OpenWrt maintenance.
Docker or Compose
Stop and remove the container, then remove its image if desired. Keep the persistent volume if you want to preserve configuration and account state. Delete the volume only when you intend to erase that data. See Docker maintenance for the matching commands.
Verify removal
After removal, ost --help should no longer resolve from the removed install location, and the previous OpenStream TV server ports should no longer be listening unless another copy is running. If the command still resolves, check command -v ost on Unix-like systems or Get-Command ost in PowerShell for another installation.
Removing the executable does not automatically erase OpenStream TV data. Review data, backups and logs before deleting any saved state.