docs/1-kickoff/3-upgrade.md
If you have an existing MediaMTX installation, you can upgrade it to the latest version. The procedure depends on how MediaMTX was installed.
The standalone binary comes with an upgrade utility that can be launched with:
./mediamtx --upgrade
This will replace the MediaMTX executable with its latest version. Privileges to write to the executable location are required.
Stop and remove the container:
docker stop id-of-mediamtx-container
docker rm id-of-mediamtx-container
Remove the MediaMTX image from cache:
docker rm bluenviron/mediamtx:1
Then recreate the container as described in Install.
Repeat the installation procedure.
Repeat the installation procedure.
If the architecture of the OpenWrt device is amd64, armv6, armv7 or arm64, you can use the standalone binary method.
Otherwise, recompile the server from source.