Fix some common issues

This commit is contained in:
Dane Everitt 2020-10-12 20:03:31 -07:00
parent 0b4ca689f9
commit d1df958838
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
2 changed files with 21 additions and 1 deletions

View File

@ -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

View File

@ -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