Liquidsoap reinstall

Liquidsoap has a large quantity of dependencies and can easily fail installation or upgrade if your system packages are out of date. We recommend updating system packages before any installation or upgrade to avoid these issues.

You may see these errors:

FAIL NginxRtmp - Liquidsoap ffmpeg video support
FAIL Liquidsoap version is UNKNOWN
WARN Liquidsoap might not be installed correctly, recommend reinstall.

If you have recently upgraded or installed MediaCP without updating your system packages you will may run into an issue with Liquidsoap. The best way to resolve these issues is to just completely reinstall Liquidsoap, you can follow these steps to do just that.

Update System Packages

Before reinstalling Liquidsoap software, you should ensure your system has all the latest updates. 

CentOS

yum update

Debian

apt update && apt upgrade

Instructions

Reinstall liquidsoap

  1. Login as root user to SSH
  2. Run the following to start the MediaCP installation utility
    /root/init
  3. Select option [4] Admin Tools
  4. Select option [15] Liquidsoap – (Re)install

Install custom version of Liquidsoap

It is possible to install any branch/tag from liquidsoap using the following procedure. For example, the below procedure will install the 2.0.6 release. You can replace "2.0.6" with any branch/tag/version.

  1. Login to mediacp system account via SSH
    su mediacp
  2. Change to mediacp home directory
    cd ~
  3. Install/Update liquidsoap by pinning the source code
    opam pin -y liquidsoap 2.0.6
  4. Check installed version
    /usr/local/mediacp/liquidsoap/bin/liquidsoap --version
  5. Restart liquidsoap services
    pkill liquidsoap;
    sleep 5;
    pkill -9 liquidsoap;
    mediacp cron "bitrate=1 autodj_restart=1"
  • liquidsoap, Nginx-Rtmp, autodj, system health, reinstall
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Troubleshooting Facebook Stream Targets (NGINX-RTMP)

Troubleshooting steps for facebook stream target disconnect. Check abuse log to ensure no...

Media tracks or files placed directly in content is not detected

Media file information is processed and stored in the database which means that files placed in...

Remove database table prefix

A database table prefix was originally used in the MediaCP software many years ago and has since...

Removing database table prefix to improve stability on older installations

The database table prefix has not been a default for some years now and can often cause issues...