From 66d5453248925813f78ca7447e8e360ceca3850e Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Mon, 3 Jan 2022 16:33:28 +0100 Subject: [PATCH] docs: recommend more helper commands for deploy timeout --- pkg/upstream/stack/stack.go | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkg/upstream/stack/stack.go b/pkg/upstream/stack/stack.go index b2602e4e..625ba91e 100644 --- a/pkg/upstream/stack/stack.go +++ b/pkg/upstream/stack/stack.go @@ -486,17 +486,21 @@ func WaitOnService(ctx context.Context, cl *dockerclient.Client, serviceID, appN return err case <-time.After(timeout): return fmt.Errorf(fmt.Sprintf(` -%s has still not converged (%s second timeout reached) +%s has not converged (%s second timeout reached). This does not necessarily mean your deployment has failed, it may just be that the app is taking longer to deploy based on your server resources or network -latency. Please run the following the inspect the logs of your deployed app: +latency. + +You can track latest deployment status with: + + abra app ps --watch %s + +And inspect the logs with: abra app logs %s -If a service is failing to even start (run "abra app ps %s" to see what -services are running) there could be a few things. The follow command will -try to smoke those out for you: +If a service is failing to even start, try smoke out the error with: abra app errors --watch %s