From e8fc5cd1c5abb59c8c8bf02f73fbea37dd96a17f Mon Sep 17 00:00:00 2001 From: jo Date: Mon, 6 Jun 2022 00:06:48 +0200 Subject: [PATCH] feat(installer): rename shared files path to /usr/share/libretime BREAKING CHANGE: The shared files path changed from `/usr/share/airtime` to `/usr/share/libretime`. The directory must be renamed **before the upgrade procedure**. --- docs/releases/unreleased.md | 14 ++++++++++++++ install | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/releases/unreleased.md b/docs/releases/unreleased.md index b4c70707a..e9935c485 100644 --- a/docs/releases/unreleased.md +++ b/docs/releases/unreleased.md @@ -64,6 +64,20 @@ sudo rm -f /etc/httpd/conf.d/airtime* sudo rm -f /etc/php.d/airtime.ini ``` +### Shared files path + +:::caution + +Please run this **before the upgrade procedure**! + +::: + +The shared files path changed from `/usr/share/airtime` to `/usr/share/libretime`. The directory must be renamed: + +```bash +sudo mv /usr/share/airtime /usr/share/libretime +``` + ### Replaced uWSGI with Gunicorn [uWSGI](https://uwsgi-docs.readthedocs.io) was replaced by [Gunicorn](https://gunicorn.org/), the packages and configuration file should be removed from the system: diff --git a/install b/install index 039806e38..8e03ef47e 100755 --- a/install +++ b/install @@ -182,7 +182,7 @@ CONFIG_EXAMPLE_FILEPATH="$SCRIPT_DIR/installer/config.yml" WORKING_DIR="/var/lib/libretime" LOG_DIR="/var/log/libretime" STORAGE_DIR="/srv/libretime" -LEGACY_WEB_ROOT="/usr/share/airtime/legacy" +LEGACY_WEB_ROOT="/usr/share/libretime/legacy" SERVICE_DIR="/usr/lib/systemd/system"