Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Problems you might encounter

Guillaume edited this page Feb 7, 2021 · 3 revisions

Welcome to the libretime-docker wiki!

This project is made to ease the installation of Libretime on your vps or local machine. In this wiki page will be described some issues you may run into and how to possibly fix them. For installation, check the README and sample installation.

Issues you may run into

Exposing to another port than default (80)

Libretime expects you to visit its web content on port 80 by default and can prevent you from visiting it from any other port/URL because the URL is not in the allowed CORS URLs. You have two tested solutions to work around this:

  1. Load it up to port 80 a first time, install and in Settings > General you should changed the allowed CORS URLs. Add http://localhost / libretime.example.org / ... (See screenshot below).

libre_screen

  1. Refer to issue #7, where tweaking the Docker EXPOSE, airtime.conf and also allowed CORS URLs did the trick.

Updating liquidsoap conf files

With this docker image, you have the ability to change the files in usr/local/lib/python3.7/dist-packages/airtime_playout-1.0-py3.7.egg/liquidsoap, and mostly one called ls_script.liq which you can edit to change rotations, ads, fail-over behaviors. You don't have to edit it from inside the container as it is exposed (ex: can access from ${USERDIR}/docker/libretime/liquidsoap in the sample docker-compose.yml).

The important information is that you need to restart airtime-liquidsoap when doing so. The easiest way of doing that is by running docker exec libretime sh /libre_start.sh.