Upgrade Ravada

We try to make the upgrading procedure easy. Also if you are running a very ancient or legacy release, fear not ! We did our best so everything is set up with minimal user intervention.

In order to upgrade Ravada, you have to do a few steps:

Steps for a clean update

Step 1

Download the deb package of the new version found at the UPC ETSETB repository.

wget http://infoteleco.upc.edu/img/debian/ravada_2.4.6_ubuntu-24.04_all.deb

Step 2

Install the deb package.

sudo apt install ./ravada_2.4.6_ubuntu-24.04_all.deb

On some upgrades may be required to install some dependencies. You will see because the packaging system will warn about it:

dpkg: dependency problems prevent configuration of ravada:
  ravada depends on libdatetime-perl; however:
  Package libdatetime-perl is not installed.

If so, install those dependencies automatically running:

sudo apt-get -f install

Step 3

Reconfigure systemd.

sudo systemctl daemon-reload

Step 4

Restart the services.

sudo systemctl restart rvd_back
sudo systemctl restart rvd_front

Step 5

Check the apache configuration

If you upgrade from older releases you may have to add some lines to the apache proxy configuration. Check the Apache proxy guide.

Step 6

Enable the services may be necessary when the host Operative System has been upgraded too. If you reboot the server and Ravada is not running, do this:

sudo systemctl enable rvd_back
sudo systemctl enable rvd_front

Problems upgrading

Systemd services

When upgrading from older Ubuntu or Debian versions, the services may not be allowed to configure:

# systemctl enable rvd_front Failed to enable unit: Refusing to operate on alias name or linked unit file: rvd_front.service

This may be caused by a linked file in /etc/systemd. Fix it this way:

cd /etc/systemd/system
rm  rvd_front.service rvd_back.service

Then enable both services again:

sudo systemctl enable rvd_back
sudo systemctl enable rvd_front

Other problems upgrading

Problems may arise please take a look at our troubleshooting guide. If everything fails you may contact us for assistance.