update documentation to remove bionic

This commit is contained in:
Kyle Robbertze 2021-07-03 18:39:47 +02:00
parent 39a8b66b49
commit f94e90a7f6
4 changed files with 23 additions and 32 deletions

View File

@ -26,7 +26,7 @@ Version from the upgrade popup if you can reach it.
**Installation method:** **Installation method:**
- OS: [e.g. Ubuntu] - OS: [e.g. Ubuntu]
- OS Version [e.g. 16.04.5 LTS (Xenial Xerus)] - OS Version [e.g. 18.04.5 LTS (Bionic Beaver)]
- Method: [e.g. `./install` script or packages] - Method: [e.g. `./install` script or packages]
- Details: [how did you call the install script, where did you get packages from] - Details: [how did you call the install script, where did you get packages from]

View File

@ -10,9 +10,9 @@ permalink: /install
## Minimum System Requirements ## Minimum System Requirements
- One of the following Linux distributions - One of the following Linux distributions
- Ubuntu 16.04 LTS, 18.04 LTS - Ubuntu 18.04 LTS
- Debian 10 - Debian 10
- Raspberry Pi OS 9, 10 (formerly Raspbian) - Raspberry Pi OS 10 (formerly Raspbian)
- 1 Ghz Processor - 1 Ghz Processor
- 2 GB RAM recommended (1 GB required) - 2 GB RAM recommended (1 GB required)
- Wired internet connection and static IP address for on-prem install - Wired internet connection and static IP address for on-prem install

View File

@ -26,28 +26,25 @@ requirements as per semver.
> downtime, so you should always have a fallback system available during the > downtime, so you should always have a fallback system available during the
> upgrade to ensure broadcast continuity. > upgrade to ensure broadcast continuity.
Before upgrading a production LibreTime server, you should back up both the 1. Take a [backup of the server](/docs/backing-up-the-server). This is
PostgreSQL database and the storage server used by LibreTime. This is especially especially important if you have not already set up a regular back up routine.
important if you have not already set up a regular back up routine. This extra This extra back up is a safety measure in case of accidental data loss during
back up is a safety measure in case of accidental data loss during the upgrade, the upgrade, for example due to the wrong command being entered when moving
for example due to the wrong command being entered when moving files. See files. It is also recommended to backup all the configuration files under
[Backing up the server](/docs/backing-up-the-server) in this manual for details `/etc/airtime/`.
of how to perform these back ups. 2. Run `./install -fiap` as described in the [install documentation](/install).
This will detect an existing LibreTime deployment and backup any
The LibreTime [installation script](/install) will detect an existing LibreTime configuration files that if finds. The install script also tries to restart
deployment and back up any configuration files that it finds. We recommend the needed services during an upgrade. In any case you should monitor if this
taking your own manual backups of the configuration yourself nevertheless. The happened and also take a quick look at the logs files to be sure everything
install script also tries to restart the needed services during an upgrade. In is still fine. Now might be the time to reboot the system or virtual machine
any case you should monitor if this happened and also take a quick look at the LibreTime is running on since regular reboots are part of a healthy system
logs files to be sure everything is still fine. Now might be the time to reboot anyway.
the system or virtual machine LibreTime is running on since regular reboots are 3. Log into the new version of the LibreTime administration interface. If the
part of a healthy system anyway. 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
After the upgrade has completed, you may need to clear your web browser's cache playing. If you encounter issues trying to connect to the new administration
before logging into the new version of the LibreTime administration interface. interface, you may need to clear your web browser's cache.
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 item and start
playing.
> **Note:** Airtime's _linked files_ and _watched folders_ features currently do > **Note:** Airtime's _linked files_ and _watched folders_ features currently do
> not work in Libretime. > not work in Libretime.

View File

@ -146,8 +146,7 @@ function systemInitDetect() {
verbose "\nDetecting init system type ..." verbose "\nDetecting init system type ..."
# Get the path of the command where pid=1 following any symlinks # Get the path of the command where pid=1 following any symlinks
pid_1_path=$(readlink --canonicalize -n /proc/1/exe) pid_1_path=$(readlink --canonicalize -n /proc/1/exe)
# returns '/sbin/init' (Debian Wheezy & Ubuntu Trusty) # returns '(/usr)?/lib/systemd/systemd' (Debian Buster, CentOS 7)
# returns '(/usr)?/lib/systemd/systemd' (Debian Stretch, Debian Jessie, Debian Buster, Ubuntu Xenial, CentOS 7)
verbose "Detected path to PID=1 process: $pid_1_path" verbose "Detected path to PID=1 process: $pid_1_path"
# Get package of PID=1 path as it identifies the init system. # Get package of PID=1 path as it identifies the init system.
# Allow this to fail, at least then the init system can be guessed from the # Allow this to fail, at least then the init system can be guessed from the
@ -724,11 +723,6 @@ if [ "$ignore_dependencies" = "f" ]; then
# Get apt-get version by returning the 2nd parameter from the 1st line of output # Get apt-get version by returning the 2nd parameter from the 1st line of output
apt_version=$(apt-get --version |awk 'NR == 1 { print $2 }') apt_version=$(apt-get --version |awk 'NR == 1 { print $2 }')
# returns 1.8.0~alpha3 (Debian Buster) # returns 1.8.0~alpha3 (Debian Buster)
# returns: 1.4.7 (Debian Stretch)
# returns: 0.9.7.9 (Debian Wheezy)
# returns: 1.0.1ubuntu2 (Ubuntu Trusty)
# returns: 1.0.9.8.4 (Debian Jessie)
# returns: 1.2.9 (Ubuntu Xenial)
verbose "Detected apt-get version as: $apt_version" verbose "Detected apt-get version as: $apt_version"
apt_version_formatted=$(awk 'BEGIN {FS = "."} {printf "%03d.%03d\n", $1,$2}' <<< $apt_version) apt_version_formatted=$(awk 'BEGIN {FS = "."} {printf "%03d.%03d\n", $1,$2}' <<< $apt_version)
[[ "$apt_version_formatted" < "001.001" ]] && apt_force_options="--force-yes" [[ "$apt_version_formatted" < "001.001" ]] && apt_force_options="--force-yes"