Merge pull request #357 from Software-Noob/patch-2

Add self-upgrade and more clear notice of being in the correct folder
This commit is contained in:
Dane Everitt 2021-04-25 15:11:31 -07:00 committed by GitHub
commit 912d485395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,10 +43,14 @@ Composer version 2.0.8 2020-12-03 17:20:38
```
## Fetch Updated Files
Before you proceed, make sure that you're in the `/var/www/pterodactyl` directory.
Instead of manually updating, you can use the self-upgrade artisan command `php artisan p:upgrade`. You must be on a panel version that is 1.3.2 or newer.
### Enter Maintenance Mode
Whenever you are performing an update you should be sure to place your Panel into maintenance mode. This will prevent
users from encountering unexpected errors and ensure everything can be updated before users encounter
potentially new features. Now is a good time to ensure that you're in the `/var/www/pterodactyl` directory.
potentially new features.
``` bash
php artisan down