Updated: 9 November 2026 · Applies to: LibreTime 4.5.0 (current release), installer and Docker setups; settings and commands from the official LibreTime documentation (not tested on our VPS)

LibreTime keeps all its server settings in one file, /etc/libretime/config.yml. To configure it, edit that file (at least public_url and timezone), set up the database with sudo -u libretime libretime-api migrate, then start or restart the services with sudo systemctl restart libretime.target. Finally log in to the web interface as admin / admin and change that password straight away.

LibreTime is free, open-source radio automation software: you upload audio, build playlists, schedule shows and broadcast them through Icecast or Shoutcast. If it is not installed yet, start with how to install LibreTime with the installer.

Which version and which system?

At the time of writing, the current LibreTime release is 4.5.0. According to the LibreTime installer for 4.5.0, the installer accepts only Debian 11 and Ubuntu 20.04, both old releases. On a current system such as Debian 12 or 13, use the official Docker setup instead. The settings below are the same in both setups; with Docker the file is config.yml in your compose folder, which the containers mount as /etc/libretime/config.yml.

Before you configure anything, check that the server clock and time zone are right, because LibreTime schedules everything by time:

sudo timedatectl

Set your zone if needed (replace with your own, for example Asia/Kolkata or Europe/London):

sudo timedatectl set-timezone Europe/London

Step 1: edit /etc/libretime/config.yml

sudo nano /etc/libretime/config.yml

The file is YAML, so keep the indentation (two spaces, no tabs). The important parts:

  • general.public_url (required): the address listeners and you use, for example https://radio.example.com. It must match the address in your browser, or the login fails with “Oops! Something went wrong!”.
  • general.api_key and general.secret_key (required): the installer fills these in. Leave them as they are.
  • general.timezone: an IANA name such as Europe/London; the default is UTC. Use the same zone as the server.
  • storage.path: where uploaded audio is kept, default /srv/libretime. If you change it, the LibreTime docs say to update the Nginx configuration too.
  • database and rabbitmq: connection details. The installer creates the users with generated passwords and saves them here.
  • email: the SMTP server LibreTime uses to send emails.
  • stream: inputs for live shows and outputs to Icecast or Shoutcast (see below).

The time zone part looks like this:

general:
  public_url: https://radio.example.com
  timezone: Europe/London

Step 2: set up the database

On a new installation, create the database tables:

sudo -u libretime libretime-api migrate

With Docker, the documented command is:

docker compose run --rm api libretime-api migrate

Step 3: start or restart LibreTime

All LibreTime services are grouped under one systemd target. Start it the first time, and restart it after every change to config.yml:

sudo systemctl start libretime.target
sudo systemctl restart libretime.target

Check that the services run:

sudo systemctl --all --plain | grep libretime

With Docker, start the stack with docker compose up -d and check it with docker compose ps.

Step 4: first login and station settings

  1. Open the web interface. The installer makes LibreTime listen on port 8080; LibreTime recommends a reverse proxy for HTTPS on ports 80 and 443 (see how to set up Nginx as a reverse proxy for LibreTime).
  2. Log in with the default user admin and password admin, and change the password at once.
  3. Go to Settings > General and set the station name, description and other project options. Details are in how to set up a station name in LibreTime.
  4. Check Settings > Status: it shows whether each LibreTime service is running.

Streams and ports

The stream section of config.yml controls audio in and out. In the 4.5.0 default file:

  • Inputs for live broadcasting: main on port 8001 and show on port 8002. See how to broadcast live with LibreTime.
  • Outputs: one Icecast stream is enabled (mount main, Ogg, 256 kbps) to Icecast on localhost port 8000. You can enable more Icecast outputs, a Shoutcast output or the system sound card.

LibreTime’s documentation lists ports 80 (web), 8000 (Icecast streams) and 8001 and 8002 (live inputs) as the ones to open in your firewall. If you add more than two Icecast outputs on one Icecast server, raise the sources limit in the Icecast configuration, as the LibreTime docs warn.

An Icecast output in config.yml looks like this (the installer replaces the hackme sample passwords with generated ones):

stream:
  outputs:
    icecast:
      - enabled: true
        host: localhost
        port: 8000
        mount: main
        source_password: hackme
        admin_password: hackme
        audio:
          format: ogg
          bitrate: 256

LibreTime not working? First checks

  • “Oops! Something went wrong!” at login: the browser address and general.public_url differ. Fix the URL and restart libretime.target.
  • A service is stopped: find it with sudo systemctl --all --plain | grep libretime, then look at its status, for example sudo systemctl status libretime-worker.
  • Logs: LibreTime writes to /var/log/libretime/ (legacy.log, api.log, playout.log, liquidsoap.log, analyzer.log, worker.log). Web server errors are in /var/log/nginx/libretime.error.log.
  • Uploaded files never become ready: check analyzer.log, and prepare files as described in how to prepare media for uploading in LibreTime.
  • Live input gives 401 Unauthorized: set a user and password in Settings > Streams settings.

Want a radio station without running the software yourself? Our internet radio hosting gives you Shoutcast or Icecast with AutoDJ.

Official documentation: LibreTime configuration, install using the installer, troubleshooting, LibreTime releases.

Related services

Shoutcast and Icecast hosting

Centova Cast radio streams with AutoDJ, from $3 a month.

Centova Cast dedicated servers

Centova licence included, from $45 a month.

SonicPanel dedicated servers

SonicPanel licence included, from $56 a month.

Was this answer helpful?

Still stuck? Open a ticket