From 25528913f187cc28da65b39772e8c90c7b4a1272 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 9 Sep 2022 14:48:58 +0200 Subject: [PATCH 01/14] fix: show restarting apps --- apps/api/src/lib/docker.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/api/src/lib/docker.ts b/apps/api/src/lib/docker.ts index f0b13d5f1..8cf71422c 100644 --- a/apps/api/src/lib/docker.ts +++ b/apps/api/src/lib/docker.ts @@ -21,10 +21,9 @@ export async function checkContainer({ dockerId, container, remove = false }: { command: `docker inspect --format '{{json .State}}' ${container}` }); - const parsedStdout = JSON.parse(stdout); const status = parsedStdout.Status; - const isRunning = status === 'running'; + const isRunning = status === 'running' || status === 'restarting'; if (status === 'created') { await executeDockerCmd({ dockerId, From 1619afb93882094ebfb4e16cc8def64176600dc5 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 9 Sep 2022 14:49:13 +0200 Subject: [PATCH 02/14] chore: version++ --- apps/api/src/lib/common.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.ts index 50a8dd4db..f4cf94ba1 100644 --- a/apps/api/src/lib/common.ts +++ b/apps/api/src/lib/common.ts @@ -21,7 +21,7 @@ import { scheduler } from './scheduler'; import { supportedServiceTypesAndVersions } from './services/supportedVersions'; import { includeServices } from './services/common'; -export const version = '3.10.0'; +export const version = '3.10.1'; export const isDev = process.env.NODE_ENV === 'development'; const algorithm = 'aes-256-ctr'; diff --git a/package.json b/package.json index 6004b787d..8a948a608 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "coolify", "description": "An open-source & self-hostable Heroku / Netlify alternative.", - "version": "3.10.0", + "version": "3.10.1", "license": "Apache-2.0", "repository": "github:coollabsio/coolify", "scripts": { From 871d1e244072d203becbafe14cef28de2af0d7b4 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 9 Sep 2022 15:14:19 +0200 Subject: [PATCH 03/14] ui: fix button --- apps/ui/src/routes/applications/[id]/logs/_BuildLog.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ui/src/routes/applications/[id]/logs/_BuildLog.svelte b/apps/ui/src/routes/applications/[id]/logs/_BuildLog.svelte index 41354eefc..6d1947e83 100644 --- a/apps/ui/src/routes/applications/[id]/logs/_BuildLog.svelte +++ b/apps/ui/src/routes/applications/[id]/logs/_BuildLog.svelte @@ -103,7 +103,7 @@ + Stop {/if} {#if $status.application.initialLoading}