Update PhyreServer.php

This commit is contained in:
Bozhidar Slaveykov 2024-04-07 16:22:51 +03:00
parent 69ba8bc833
commit 0a27d35a43

View file

@ -136,9 +136,9 @@ class PhyreServer extends Model
{
$ssh = new SSH2($this->ip);
if ($ssh->login($this->username, $this->password)) {
$output = $ssh->exec('cd /usr/local/phyre/web && /usr/local/phyre/php/bin/php artisan apache:ping-websites-with-curl');
dd($output);
//
// $output = $ssh->exec('cd /usr/local/phyre/web && /usr/local/phyre/php/bin/php artisan apache:ping-websites-with-curl');
// dd($output);
$output = '';
$output .= $ssh->exec('wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/update/update-web-panel.sh -O /usr/local/phyre/update/update-web-panel.sh');