mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-22 18:41:32 -05:00
Update to pterodactyl 0.7.18
This commit is contained in:
parent
aba4d023a6
commit
57a57b3d73
10
install.sh
10
install.sh
@ -160,9 +160,9 @@ install_options(){
|
|||||||
output "[2] Install the daemon."
|
output "[2] Install the daemon."
|
||||||
output "[3] Install the panel and daemon."
|
output "[3] Install the panel and daemon."
|
||||||
output "[4] Install the standalone SFTP server."
|
output "[4] Install the standalone SFTP server."
|
||||||
output "[5] Upgrade 0.7.x panel to 0.7.17."
|
output "[5] Upgrade 0.7.x panel to 0.7.18."
|
||||||
output "[6] Upgrade 0.6.x daemon to 0.6.13."
|
output "[6] Upgrade 0.6.x daemon to 0.6.13."
|
||||||
output "[7] Upgrade the panel to 0.7.17 and daemon to 0.6.13"
|
output "[7] Upgrade the panel to 0.7.18 and daemon to 0.6.13"
|
||||||
output "[8] Upgrade the standalone SFTP server to 1.0.5."
|
output "[8] Upgrade the standalone SFTP server to 1.0.5."
|
||||||
output "[9] Make Pterodactyl compatible with the mobile app (only use this after you have installed the panel - check out https://pterodactyl.cloud for more information)."
|
output "[9] Make Pterodactyl compatible with the mobile app (only use this after you have installed the panel - check out https://pterodactyl.cloud for more information)."
|
||||||
output "[10] Update mobile compatibility."
|
output "[10] Update mobile compatibility."
|
||||||
@ -560,7 +560,7 @@ install_pterodactyl() {
|
|||||||
output "Downloading Pterodactyl..."
|
output "Downloading Pterodactyl..."
|
||||||
mkdir -p /var/www/pterodactyl
|
mkdir -p /var/www/pterodactyl
|
||||||
cd /var/www/pterodactyl
|
cd /var/www/pterodactyl
|
||||||
curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/download/v0.7.17/panel.tar.gz
|
curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/download/v0.7.18/panel.tar.gz
|
||||||
tar --strip-components=1 -xzvf panel.tar.gz
|
tar --strip-components=1 -xzvf panel.tar.gz
|
||||||
chmod -R 755 storage/* bootstrap/cache/
|
chmod -R 755 storage/* bootstrap/cache/
|
||||||
|
|
||||||
@ -643,7 +643,7 @@ EOF
|
|||||||
upgrade_pterodactyl(){
|
upgrade_pterodactyl(){
|
||||||
cd /var/www/pterodactyl
|
cd /var/www/pterodactyl
|
||||||
php artisan down
|
php artisan down
|
||||||
curl -L https://github.com/pterodactyl/panel/releases/download/v0.7.17/panel.tar.gz | tar --strip-components=1 -xzv
|
curl -L https://github.com/pterodactyl/panel/releases/download/v0.7.18/panel.tar.gz | tar --strip-components=1 -xzv
|
||||||
chmod -R 755 storage/* bootstrap/cache
|
chmod -R 755 storage/* bootstrap/cache
|
||||||
composer install --no-dev --optimize-autoloader
|
composer install --no-dev --optimize-autoloader
|
||||||
php artisan view:clear
|
php artisan view:clear
|
||||||
@ -658,7 +658,7 @@ upgrade_pterodactyl(){
|
|||||||
semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/pterodactyl/storage(/.*)?"
|
semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/pterodactyl/storage(/.*)?"
|
||||||
restorecon -R /var/www/pterodactyl
|
restorecon -R /var/www/pterodactyl
|
||||||
fi
|
fi
|
||||||
output "Your panel has successfully been updated to version 0.7.17."
|
output "Your panel has successfully been updated to version 0.7.18."
|
||||||
php artisan up
|
php artisan up
|
||||||
php artisan queue:restart
|
php artisan queue:restart
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user