2020-05-23 22:48:49 +02:00
---
2020-11-23 19:58:55 +01:00
title: Upgrading Libretime
2020-05-23 22:48:49 +02:00
---
2020-05-15 18:51:40 +02:00
2022-02-09 09:37:52 +01:00
:::caution
2018-11-21 20:04:56 +01:00
2022-02-09 09:37:52 +01:00
While upgrading your installation may not cause any station downtime or data loss, always plan for the worst. Only upgrade your installation when Libretime isn't playing out shows, notify your DJs and essential personnel, and back up your database, configuration files, and media library before you make any changes.
2017-04-25 20:09:14 +02:00
2022-02-09 09:37:52 +01:00
:::
2017-04-25 20:09:14 +02:00
2022-02-09 09:37:52 +01:00
1. [Back up the server ](/docs/server-config/backing-up-the-server ) and make a copy of all the configuration files under `/etc/airtime/` .
2. Run `./install -fiap` as described in the [installation guide ](/docs/getting-started/install ).
2021-07-03 18:39:47 +02:00
This will detect an existing LibreTime deployment and backup any
configuration files that if finds. The install script also tries to restart
the needed services during an upgrade. In any case you should monitor if this
happened and also take a quick look at the logs files to be sure everything
is still fine. Now might be the time to reboot the system or virtual machine
LibreTime is running on since regular reboots are part of a healthy system
anyway.
3. Log into the new version of the LibreTime administration interface. If the
playout engine starts up and detects that a show should be playing at the
current time, it will skip to the correct point in the current time and start
playing. If you encounter issues trying to connect to the new administration
interface, you may need to clear your web browser's cache.
2017-04-25 20:32:38 +02:00
2021-07-12 10:15:31 +02:00
### Migrating from Airtime
2022-02-09 09:37:52 +01:00
:::note
Airtime's _linked files_ and _watched folders_ features currently do not work in Libretime.
:::
2017-04-25 20:09:14 +02:00
2021-07-02 12:32:12 +02:00
LibreTime has dropped support for Ubuntu 16.04, which is the last supported
version of Ubuntu that Airtime supports. The following instructions describe how
to migrate from Airtime to LibreTime. If there are issues encountered while
upgrading, please [file a bug ](https://github.com/libretime/libretime/issues/new?labels=bug&template=bug_report.md )
2017-04-25 20:09:14 +02:00
2022-02-09 09:37:52 +01:00
1. Take a [backup of the server ](/docs/server-config/backing-up-the-server )
2. Create a new system for LibreTime and run the install script, as described in the [install guide ](/docs/getting-started/install ).
2021-07-02 12:32:12 +02:00
3. Before running the web-configuration, restore the Airtime database to the new
PostgreSQL server, media database and configuration file
2022-02-04 15:03:01 +01:00
4. Update the configuration file to match the new configuration schema and update any
2022-02-09 09:37:52 +01:00
changed values. See the [host configuration ](/docs/server-config/host-configuration ) documentation
2022-02-04 15:03:01 +01:00
for more details.
2021-07-02 12:32:12 +02:00
5. Edit the Icecast password in `/etc/icecast2/icecast.xml` to reflect the
password used in Airtime
6. Restart the LibreTime services
2022-02-09 09:37:52 +01:00
7. Open LibreTime's dashboard and verify all services are running