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
formatter
Andras Bacsaid48af9cea4f1
diff --git a/bootstrap/helpers/remoteProcess.php b/bootstrap/helpers/remoteProcess.phpindex f5bb61d75e..ecc679b3ff 100644--- a/bootstrap/helpers/remoteProcess.php+++ b/bootstrap/helpers/remoteProcess.php@@ -159,9 +159,9 @@ function refresh_server_connection(PrivateKey $private_key)// Delete the old ssh mux file to force a new one to be createdStorage::disk('ssh-mux')->delete($server->muxFilename());// check if user is authenticated- if (auth()?->user()?->currentTeam()->id) {- auth()->user()->currentTeam()->privateKeys = PrivateKey::where('team_id', auth()->user()->currentTeam()->id)->get();- }+ if (auth()?->user()?->currentTeam()->id) {+ auth()->user()->currentTeam()->privateKeys = PrivateKey::where('team_id', auth()->user()->currentTeam()->id)->get();+ }}}@@ -195,7 +195,8 @@ function validateServer(Server $server)}}-function check_server_connection(Server $server) {+function check_server_connection(Server $server)+{try {refresh_server_connection($server->privateKey);instant_remote_process(['uptime'], $server);