An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Update server and version configurations
Andras Bacsaie8d84b7067d9
diff --git a/app/Models/Server.php b/app/Models/Server.phpindex 65b992b5a1..2a4bfe63f4 100644--- a/app/Models/Server.php+++ b/app/Models/Server.php@@ -396,12 +396,14 @@ class Server extends BaseModel{$server = Server::find($this->id);if (!$server) {+ echo 'Server not found?!';return false;}if ($server->skipServer()) {return false;}$uptime = instant_remote_process(['uptime'], $server, false);+ echo "Uptime: $uptime\n";if (!$uptime) {$server->settings()->update(['is_reachable' => false,diff --git a/bootstrap/helpers/remoteProcess.php b/bootstrap/helpers/remoteProcess.phpindex da6705e4cb..f49c7cafc8 100644--- a/bootstrap/helpers/remoteProcess.php+++ b/bootstrap/helpers/remoteProcess.php@@ -126,7 +126,7 @@ function generateSshCommand(Server $server, string $command, bool $isMux = true)if (data_get($server, 'settings.is_cloudflare_tunnel')) {$ssh_command .= '-o ProxyCommand="/usr/local/bin/cloudflared access ssh --hostname %h" ';}- $command = "test -f ~/.profile && . ~/.profile; PATH=\$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/host/usr/local/sbin:/host/usr/local/bin:/host/usr/sbin:/host/usr/bin:/host/sbin:/host/bin && $command";+ $command = "PATH=\$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/host/usr/local/sbin:/host/usr/local/bin:/host/usr/sbin:/host/usr/bin:/host/sbin:/host/bin && $command";$ssh_command .= "-i {$privateKeyLocation} ". '-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null '. '-o PasswordAuthentication=no 'diff --git a/config/sentry.php b/config/sentry.phpindex 6d4f63ca6c..eedf1c992d 100644--- a/config/sentry.php+++ b/config/sentry.php@@ -7,7 +7,7 @@ return [// The release version of your application// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))- 'release' => '4.0.0-beta.195',+ 'release' => '4.0.0-beta.196',// When left empty or `null` the Laravel environment will be used'environment' => config('app.env'),diff --git a/config/version.php b/config/version.phpindex 5a52e57c6b..5aa8bcb7a4 100644--- a/config/version.php+++ b/config/version.php@@ -1,3 +1,3 @@<?php-return '4.0.0-beta.195';+return '4.0.0-beta.196';diff --git a/versions.json b/versions.jsonindex 1c4ea855a9..49da94baca 100644--- a/versions.json+++ b/versions.json@@ -4,7 +4,7 @@"version": "3.12.36"},"v4": {- "version": "4.0.0-beta.195"+ "version": "4.0.0-beta.196"}}}