From 796913afb985e16cd515f412c063dfbc1f254b97 Mon Sep 17 00:00:00 2001 From: DaneEveritt Date: Sun, 24 Jul 2022 19:52:47 -0400 Subject: [PATCH] Update documentation for latest version --- panel/1.0/getting_started.md | 2 +- panel/1.0/updating.md | 39 ++++++++++++++++-------------------- wings/1.0/installing.md | 2 +- wings/1.0/upgrading.md | 9 ++++++--- 4 files changed, 25 insertions(+), 27 deletions(-) diff --git a/panel/1.0/getting_started.md b/panel/1.0/getting_started.md index e1d95725..1c92c199 100644 --- a/panel/1.0/getting_started.md +++ b/panel/1.0/getting_started.md @@ -24,7 +24,7 @@ this software on an OpenVZ based system you will — most likely — not ::: | Operating System | Version | Supported | Notes | -| ---------------- | ------- | :----------------: | ----------------------------------------------------------- | +|------------------|---------|:------------------:|-------------------------------------------------------------| | **Ubuntu** | 18.04 | :white_check_mark: | Documentation written assuming Ubuntu 18.04 as the base OS. | | | 20.04 | :white_check_mark: | | | | 22.04 | :white_check_mark: | MariaDB can be installed without the repo setup script. | diff --git a/panel/1.0/updating.md b/panel/1.0/updating.md index e7ef5478..23912acf 100644 --- a/panel/1.0/updating.md +++ b/panel/1.0/updating.md @@ -9,33 +9,28 @@ Each version of Pterodactyl Panel also has a corresponding minimum version of Wi is required for it to run. Please see the chart below for how these versions line up. In most cases your base Wings version should match that of your Panel. -| Panel Version | Wings Version | Supported | PHP Versions | -|---------------|---------------|-----------|---------------| -| 1.0.x | 1.0.x | | 7.3, 7.4 | -| 1.1.x | 1.1.x | | 7.3, 7.4 | -| 1.2.x | 1.2.x | | 7.3, 7.4 | -| 1.3.x | 1.3.x | | 7.4, 8.0 | -| 1.4.x | 1.4.x | | 7.4, 8.0 | -| 1.5.x | 1.4.x | | 7.4, 8.0 | -| 1.6.x | 1.4.x | | 7.4, 8.0 | -| 1.7.x | 1.5.x | | 7.4, 8.0 | -| 1.8.x | 1.6.x | | 7.4, 8.0, 8,1 | -| **1.9.x** | **1.6.x** | ✅ | 7.4, 8.0, 8,1 | +| Panel Version | Wings Version | Supported | PHP Versions | +|---------------|---------------|-----------|--------------------------------| +| 1.0.x | 1.0.x | | 7.3, 7.4 | +| 1.1.x | 1.1.x | | 7.3, 7.4 | +| 1.2.x | 1.2.x | | 7.3, 7.4 | +| 1.3.x | 1.3.x | | 7.4, 8.0 | +| 1.4.x | 1.4.x | | 7.4, 8.0 | +| 1.5.x | 1.4.x | | 7.4, 8.0 | +| 1.6.x | 1.4.x | | 7.4, 8.0 | +| 1.7.x | 1.5.x | | 7.4, 8.0 | +| 1.8.x | 1.6.x | | 7.4, 8.0, 8.1 | +| 1.9.x | 1.6.x | | 7.4, 8.0, 8.1 | +| **1.10.x** | **1.7.x** | ✅ | **8.1** (7.4 & 8.0 deprecated) | ## Update Dependencies - -::: warning Minimum PHP Version Changed -If you are upgrading from a version of Pterodactyl _prior to_ `1.3.x` you'll need to update your PHP -dependencies. The latest versions of Pterodactyl Panel require a **minimum version of PHP 7.4** and -Composer v2. -::: - * PHP `7.4`, `8.0` or `8.1` (recommended) * Composer `2.X` -Previous versions of Pterodactyl allowed for you to be running PHP 7.3. However, due to dependency updates and -the fact that 7.3 is now EOL we have bumped the minimum acceptable PHP version to 7.4 — PHP 8 is recommended. You -will also need to be using Composer v2. +::: warning Future PHP Version Changes +**Support for PHP 7.4 and 8.0 is deprecated**. Please plan accordingly — PHP 8.1 will be the only + supported version in future releases. +::: **Before continuing**, please ensure that your system and web server configuration has been upgraded to at least PHP 7.4 by running `php -v` and Composer 2 by running `composer --version`. You should see an output similar to the result below. If you do not see at least PHP 7.4 and Composer 2, you will need to upgrade by following diff --git a/wings/1.0/installing.md b/wings/1.0/installing.md index f47e78ab..1f3d51e3 100644 --- a/wings/1.0/installing.md +++ b/wings/1.0/installing.md @@ -17,7 +17,7 @@ high probability that new releases of the supported OSes below will work just fi only the versions listed below. | Operating System | Version | Supported | Notes | -| ---------------- | ------- | :----------------: | ----------------------------------------------------------- | +|------------------|---------|:------------------:|-------------------------------------------------------------| | **Ubuntu** | 18.04 | :white_check_mark: | Documentation written assuming Ubuntu 18.04 as the base OS. | | | 20.04 | :white_check_mark: | | | **CentOS** | 7 | :white_check_mark: | | diff --git a/wings/1.0/upgrading.md b/wings/1.0/upgrading.md index a8f91b75..ceeb1e4d 100644 --- a/wings/1.0/upgrading.md +++ b/wings/1.0/upgrading.md @@ -9,7 +9,7 @@ is required for it to run. Please see the chart below for how these versions lin most cases your base Wings version should match that of your Panel. | Panel Version | Wings Version | Supported | -| ------------- | ------------- | --------- | +|---------------|---------------|-----------| | 1.0.x | 1.0.x | | | 1.1.x | 1.1.x | | | 1.2.x | 1.2.x | | @@ -19,13 +19,16 @@ most cases your base Wings version should match that of your Panel. | 1.6.x | 1.4.x | | | 1.7.x | 1.5.x | | | 1.8.x | 1.6.x | | -| **1.9.x** | **1.6.x** | ✅ | +| 1.9.x | 1.6.x | | +| **1.10.x** | **1.7.x** | ✅ | ## Download Updated Binary -First, download the updated wings binary into `/usr/local/bin`. +First, download the updated wings binary into `/usr/local/bin`. You will need to stop Wings briefly. _Your running +servers **will not** be affected._ ``` bash +systemctl stop wings curl -L -o /usr/local/bin/wings "https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_$([[ "$(uname -m)" == "x86_64" ]] && echo "amd64" || echo "arm64")" chmod u+x /usr/local/bin/wings ```