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: Stopping service without proxy
Andras Bacsaibdf123bf7bda
diff --git a/src/routes/services/[id]/minio/stop.json.ts b/src/routes/services/[id]/minio/stop.json.tsindex 38398d202d..95f2270091 100644--- a/src/routes/services/[id]/minio/stop.json.ts+++ b/src/routes/services/[id]/minio/stop.json.ts@@ -33,8 +33,12 @@ export const post: RequestHandler = async (event) => {} catch (error) {console.error(error);}- await stopTcpHttpProxy(destinationDocker, publicPort);- await configureSimpleServiceProxyOff({ domain });+ try {+ await stopTcpHttpProxy(destinationDocker, publicPort);+ await configureSimpleServiceProxyOff({ domain });+ } catch (error) {+ console.log(error);+ }}return {diff --git a/src/routes/services/[id]/nocodb/stop.json.ts b/src/routes/services/[id]/nocodb/stop.json.tsindex 8874df9a56..ad48b5dcee 100644--- a/src/routes/services/[id]/nocodb/stop.json.ts+++ b/src/routes/services/[id]/nocodb/stop.json.ts@@ -27,7 +27,11 @@ export const post: RequestHandler = async (event) => {} catch (error) {console.error(error);}- await configureSimpleServiceProxyOff({ domain });+ try {+ await configureSimpleServiceProxyOff({ domain });+ } catch (error) {+ console.log(error);+ }}return {diff --git a/src/routes/services/[id]/plausibleanalytics/stop.json.ts b/src/routes/services/[id]/plausibleanalytics/stop.json.tsindex 06dc064711..c6e59277d7 100644--- a/src/routes/services/[id]/plausibleanalytics/stop.json.ts+++ b/src/routes/services/[id]/plausibleanalytics/stop.json.ts@@ -37,7 +37,11 @@ export const post: RequestHandler = async (event) => {console.error(error);}- await configureSimpleServiceProxyOff({ domain });+ try {+ await configureSimpleServiceProxyOff({ domain });+ } catch (error) {+ console.log(error);+ }}return {diff --git a/src/routes/services/[id]/vaultwarden/stop.json.ts b/src/routes/services/[id]/vaultwarden/stop.json.tsindex 8874df9a56..ad48b5dcee 100644--- a/src/routes/services/[id]/vaultwarden/stop.json.ts+++ b/src/routes/services/[id]/vaultwarden/stop.json.ts@@ -27,7 +27,11 @@ export const post: RequestHandler = async (event) => {} catch (error) {console.error(error);}- await configureSimpleServiceProxyOff({ domain });+ try {+ await configureSimpleServiceProxyOff({ domain });+ } catch (error) {+ console.log(error);+ }}return {diff --git a/src/routes/services/[id]/vscodeserver/stop.json.ts b/src/routes/services/[id]/vscodeserver/stop.json.tsindex 88406950ba..f094abc6e8 100644--- a/src/routes/services/[id]/vscodeserver/stop.json.ts+++ b/src/routes/services/[id]/vscodeserver/stop.json.ts@@ -27,7 +27,11 @@ export const post: RequestHandler = async (event) => {} catch (error) {console.error(error);}- await configureSimpleServiceProxyOff({ domain });+ try {+ await configureSimpleServiceProxyOff({ domain });+ } catch (error) {+ console.log(error);+ }}return {status: 200diff --git a/src/routes/services/[id]/wordpress/stop.json.ts b/src/routes/services/[id]/wordpress/stop.json.tsindex 669d07d550..759d183b18 100644--- a/src/routes/services/[id]/wordpress/stop.json.ts+++ b/src/routes/services/[id]/wordpress/stop.json.ts@@ -30,7 +30,11 @@ export const post: RequestHandler = async (event) => {} catch (error) {console.error(error);}- await configureSimpleServiceProxyOff({ domain });+ try {+ await configureSimpleServiceProxyOff({ domain });+ } catch (error) {+ console.log(error);+ }}return {