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
fix
Andras Bacsai232018c925e4
diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.tsindex e2470daa47..c4bca0d6ed 100644--- a/apps/api/src/lib/common.ts+++ b/apps/api/src/lib/common.ts@@ -537,13 +537,16 @@ export async function createRemoteEngineConfiguration(id: string) {const config = sshConfig.parse('');const Host = `${remoteIpAddress}-remote`- await asyncExecShell(`ssh-keygen -R ${Host}`);- await asyncExecShell(`ssh-keygen -R ${remoteIpAddress}`);- await asyncExecShell(`ssh-keygen -R localhost:${localPort}`);+ try {+ await asyncExecShell(`ssh-keygen -R ${Host}`);+ await asyncExecShell(`ssh-keygen -R ${remoteIpAddress}`);+ await asyncExecShell(`ssh-keygen -R localhost:${localPort}`);+ } catch (error) { }+const found = config.find({ Host });const foundIp = config.find({ Host: remoteIpAddress });-+if (found) config.remove({ Host })if (foundIp) config.remove({ Host: remoteIpAddress })