Update for alpha.2

This commit is contained in:
Dane Everitt 2020-01-19 15:37:46 -08:00
parent 2fd4cea01f
commit afefa0061a
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
5 changed files with 65 additions and 3 deletions

View File

@ -86,7 +86,7 @@ and then set the correct permissions on the `storage/` and `bootstrap/cache/` di
allow us to store files as well as keep a speedy cache available to reduce load times.
``` bash
curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/download/v0.8.0-alpha.1/panel.tar.gz
curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/download/v0.8.0-alpha.2/panel.tar.gz
tar --strip-components=1 -xzvf panel.tar.gz
chmod -R 755 storage/* bootstrap/cache/
```

View File

@ -13,7 +13,7 @@ to ensure that you're in the `/var/www/pterodactyl` directory as the command bel
directory you are currently in.
``` bash
curl -L https://github.com/pterodactyl/panel/releases/download/v0.8.0-alpha.1/panel.tar.gz | tar --strip-components=1 -xzv
curl -L https://github.com/pterodactyl/panel/releases/download/v0.8.0-alpha.2/panel.tar.gz | tar --strip-components=1 -xzv
```
Once all of the files are downloaded we need to set the correct permissions on the cache and storage directories to avoid

61
panel/upgrade/0.8.md Normal file
View File

@ -0,0 +1,61 @@
# Upgrading 0.8 Series
This documentation covers the process for upgrading within the `0.8.X` series of releases. This means upgrading from
— for example — `0.8.0-alpha.1` to `0.8.0-alpha.2`. **Do not use this guide for upgrading from `0.7`.**
## 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
to ensure that you're in the `/var/www/pterodactyl` directory as the command below will automatically unpack the archive
into your current folder.
``` bash
curl -L https://github.com/pterodactyl/panel/releases/download/v0.8.0-alpha.2/panel.tar.gz | tar --strip-components=1 -xzv
```
Once all of the files are downloaded we need to set the correct permissions on the cache and storage directories to avoid
any webserver related errors.
``` bash
chmod -R 755 storage/* bootstrap/cache
```
## Update Dependencies
After you've downloaded all of the new files you will need to upgrade the core components of the panel. To do this,
simply run the commands below and follow any prompts.
``` bash
composer install --no-dev --optimize-autoloader
```
## Clear Compiled Template Cache
You'll also want to clear the compiled template cache to ensure that new and modified templates show up correctly for
users.
``` bash
php artisan view:clear
php artisan config:clear
```
## Database Updates
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.
``` bash
php artisan migrate --force
php artisan db:seed --force
```
## Set Permissions
The last step is to set the proper owner of the files to be the user that runs your webserver. In most cases this
is `www-data` but can vary from system to system — sometimes being `nginx`, `apache`, or even `nobody`.
``` bash
# If using NGINX or Apache (not on CentOS):
chown -R www-data:www-data *
# If using NGINX on CentOS:
chown -R nginx:nginx *
# If using Apache on CentOS
chown -R apache:apache *
```

View File

@ -26,3 +26,4 @@ php artisan queue:restart
* [0.6.X to 0.7.16](/panel/upgrade/0.6_to_0.7.md)
* [0.7.X series](/panel/upgrade/0.7.md) <Badge text="current" vertical="middle"/>
* [0.8.X series](/panel/upgrade/0.8.md) <Badge text="alpha release" vertical="middle"/>

View File

@ -116,7 +116,7 @@ set when creating the node.
The next step is to download the software and unpack the archive.
``` bash
curl -L https://github.com/pterodactyl/wings/releases/download/v1.0.0-alpha.1/wings
curl -L https://github.com/pterodactyl/wings/releases/download/v1.0.0-alpha.2/wings
```
## Configure Daemon
Once you have installed the daemon and required components, the next step is to create a node on your installed Panel