From d1df958838ad812233f39049e55258da5a41629d Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Mon, 12 Oct 2020 20:03:31 -0700 Subject: [PATCH] Fix some common issues --- panel/1.0/upgrade/0.7_to_1.0.md | 7 ++++++- panel/1.0/upgrade/1.0.md | 15 +++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/panel/1.0/upgrade/0.7_to_1.0.md b/panel/1.0/upgrade/0.7_to_1.0.md index ae429892..67ee199f 100644 --- a/panel/1.0/upgrade/0.7_to_1.0.md +++ b/panel/1.0/upgrade/0.7_to_1.0.md @@ -15,7 +15,6 @@ will prevent users from accessing the Panel during a period where things will be php artisan down ``` - ## Fetch Updated Files The first step in the update process is to download the new panel files from GitHub. The command below will download the release archive for the most recent version of Pterodactyl and save it in the current directory. Now is a good time @@ -63,6 +62,12 @@ php artisan config:clear You'll also need to update your database schema for the newest version of Pterodactyl. Running the two commands below will update the schema and ensure the default eggs we ship are up to date (and add any new ones we might have). Just remember, _never edit core eggs we ship_! They will be overwritten by this update process. + +::: warning +If you used a custom plugin that allowed for server transfers on `0.7` you **MUST** delete or rename the `server_transfers` table +before continuing. +::: + ``` bash php artisan migrate --force php artisan db:seed --force diff --git a/panel/1.0/upgrade/1.0.md b/panel/1.0/upgrade/1.0.md index 6cc4b8ba..f3ccb2f4 100644 --- a/panel/1.0/upgrade/1.0.md +++ b/panel/1.0/upgrade/1.0.md @@ -7,6 +7,21 @@ Seriously, **stop** and read this warning. **Do not use this guide to upgrade fr break your panel, and you _will_ lose access to your servers. ::: +## Update Dependencies +You'll need to make sure your system dependencies are up to date before performing this upgrade. Please +reference the list below to ensure you have all of the required versions. + +* PHP `7.3+` (`7.4` recommended) with the following extensions: `cli`, `openssl`, `gd`, `mysql`, `PDO`, `mbstring`, `tokenizer`, `bcmath`, `xml` or `dom`, `curl`, `zip`, and `fpm` if you are planning to use nginx +* MySQL `5.7.22` or higher (MySQL `8` recommended) **or** MariaDB `10.2` or higher. + +::: warning Seriously, Double Check your Database Version +Please make sure you are running the correct version of MariaDB or MySQL listed above! Failure to do so _will_ +result in an error when you attempt to run the migrations. + +Previous documentation (and just the age of this software) likely had you installing MariaDB 10.1 which _will not +work_ with this version of Pterodactyl. +::: + ## Fetch Updated Files The first step in the update process is to download the new panel files from GitHub. The command below will download the release archive for the most recent version of Pterodactyl and save it in the current directory. Now is a good time