diff --git a/panel/0.8/getting_started.md b/panel/0.8/getting_started.md index 3d8a4ece..1b25c88a 100644 --- a/panel/0.8/getting_started.md +++ b/panel/0.8/getting_started.md @@ -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/ ``` diff --git a/panel/upgrade/0.7_to_0.8.md b/panel/upgrade/0.7_to_0.8.md index 79e40b74..163ccf95 100644 --- a/panel/upgrade/0.7_to_0.8.md +++ b/panel/upgrade/0.7_to_0.8.md @@ -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 diff --git a/panel/upgrade/0.8.md b/panel/upgrade/0.8.md new file mode 100644 index 00000000..e0d6ac37 --- /dev/null +++ b/panel/upgrade/0.8.md @@ -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 * +``` diff --git a/panel/upgrading.md b/panel/upgrading.md index ba8f2fa2..f7e53ff1 100644 --- a/panel/upgrading.md +++ b/panel/upgrading.md @@ -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) +* [0.8.X series](/panel/upgrade/0.8.md) diff --git a/wings/installing.md b/wings/installing.md index 1b1d0547..5e4351be 100644 --- a/wings/installing.md +++ b/wings/installing.md @@ -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