From af4e443cb41953bc0a5627789b681cbed4b270a4 Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 2 Nov 2021 01:46:51 -0400 Subject: [PATCH] Update install.sh --- install.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/install.sh b/install.sh index d2c82f6..3240171 100644 --- a/install.sh +++ b/install.sh @@ -456,15 +456,7 @@ EOF } upgrade_pterodactyl(){ - cd /var/www/pterodactyl || exit - php artisan down - curl -L https://github.com/pterodactyl/panel/releases/download/${PANEL}/panel.tar.gz | tar --strip-components=1 -xzv - chmod -R 755 storage/* bootstrap/cache - composer install --no-dev --optimize-autoloader - php artisan view:clear - php artisan config:clear - php artisan migrate --force - php artisan db:seed --force + cd /var/www/pterodactyl && php artisan p:upgrade if [ "$lsb_dist" = "ubuntu" ] || [ "$lsb_dist" = "debian" ]; then chown -R www-data:www-data * /var/www/pterodactyl elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ] || [ "$lsb_dist" != "almalinux" ]; then @@ -472,8 +464,6 @@ upgrade_pterodactyl(){ restorecon -R /var/www/pterodactyl fi output "Your panel has successfully been updated to version ${PANEL}" - php artisan up - php artisan queue:restart } nginx_config() {