Updating Flussonic¶
Update Flussonic Media Server package when a version with new features or with bug fixes is released. Make sure that you update to the latest version of Flussonic every month or at least once every three months. This way, you avoid any unexpected issues with your service.
Our blog and Flussonic admin UI will update you when a new version of Flussonic is available.
Warning
If you have issues with the latest version of Flussonic, please contact support first. If your issue isn't solved, you can roll back to the previous version.
On the page:
- Updating Flussonic in the admin UI
- Updating Flussonic from the terminal on Ubuntu
- Updating Flussonic from the terminal on CentOS
- What version is currently installed
- How to revert to the previous version
- Rolling release updates
Updating Flussonic in the admin UI¶
Update your version of Flussonic for the online license key or USB license key.
Updating Flussonic with online license key¶
1) Install the latest version by clicking Upgrade in the sidebar menu of the admin UI.
2) Complete the installation by restarting the service. Click Restart and wait till Flussonic restarts.
Updating Flussonic with USB license key¶
1) Download the activation file from the client area on my.flussonic.com. Go to License keys > Licenses > your license, select the required version from the list and click Get Offline Activation File.
2) Open Flussonic admin UI and go to Config > Settings and upload the activation file by clicking Upload Activation File.
3) Install the latest version by clicking Upgrade in the sidebar menu of the admin UI.
4) Complete the installation by restarting the service. Click Restart and wait till Flussonic restarts.
Updating Flussonic from the terminal on Ubuntu¶
apt-get update
apt-get -y install flussonic
service flussonic restart
Warning
To complete the installation of a new version, make sure you restart Flussonic manually. The last command in the code does it.
Updating Flussonic from the terminal on CentOS¶
yum -y install flussonic flussonic-erlang flussonic-transcoder
The package manager can create the file /etc/init.d/flussonic.rpmnew
. Rename it like the following:
mv /etc/init.d/flussonic.rpmnew /etc/init.d/flussonic
Then restart Flussonic:
service flussonic restart
What version is currently installed¶
To check the version of Flussonic Media Server currently installed on a computer, run the following command in the terminal:
dpkg -l | grep flussonic
How to revert to the previous version¶
Roll back to the previous version if you have an online license key or a USB license key.
For online license key¶
Warning
We do not store versions of Flussonic older than nine months.
Specify the version of the flussonic
package and its dependencies.
1) Get versions of dependencies by using apt-cache
and specifying the required version of Flussonic:
apt-cache show flussonic=24.02 | egrep '^(Depends|Suggests):'
The output will be like so:
Depends: flussonic-erlang (=26.1.2.3), flussonic-transcoder-base (=23.02.0)
2) Install packages with these versions:
Danger
Before installing packages create backups of the configuration files in the directory /etc/flussonic
and .db
files in the directory /opt/flussonic/priv
(this directory is used by default, you can change the path in the configuration file).v
apt-get install flussonic=24.02 flussonic-erlang=26.1.2.3 flussonic-transcoder-base=23.02.0
Danger
We cannot guarantee that the server operates correctly on those Linux distributions for which we do not provide installation packages.
For USB license key¶
Note
Activation files are generated for specific license and version of Flussonic.
To return to the previous version of Flussonic, follow the steps in the Updating Flussonic with USB license key.
Rolling release updates¶
New version of Flussonic is released every month. We also have a repository with rolling updates that we release between two major releases. Every day we update it with new Flussonic builds that include new features and bug fixes. Rolling updates are release candidate (RC) versions that we run in our laboratory. We offer release candidate (RC) versions to customers who want to get updates before the next major release comes out.
You can install a rolling update and return back to the major release.
How to install a rolling update¶
1) Remove the outdated version of Flussonic and its dependencies:
apt remove flussonic
2) Change the repository to the one with the rolling updates and install Flussonic:
mkdir -p /etc/apt/trusted.gpg.d/
curl -L http://apt.flussonic.com/repo/master/dev.key > /etc/apt/trusted.gpg.d/dev.gpg
echo "deb http://apt.flussonic.com/branch/flussonic/master repo/" > /etc/apt/sources.list.d/flussonic.list;
apt update;
apt install flussonic;
service flussonic restart
How to return back to the major release¶
1) Remove the outdated version of Flussonic and its dependencies.
Danger
Before removing the packages, create a backup of the configuration files located in the directory /etc/flussonic
and the .db
files in the directory /opt/flussonic/priv
(this directory is used by default, you can change the path in the configuration file).
apt remove flussonic
2) Change the repository to the one with official releases and install Flussonic:
echo "deb http://apt.flussonic.com binary/" > /etc/apt/sources.list.d/flussonic.list;
apt update;
apt install flussonic;
service flussonic restart
Danger
If Flussonic fails to start, run service flussonic run
and journalctl -u flussonic -n 100
in the command line terminal and send the output to our technical support team.