It should be possible to use at least one of these options to enable extra output for debugging purposes, as per the documentation:

In my case, I couldn't get debugging turned on as neither of these added any extra output:

  • env DPKG_DEBUG=yes sudo apt full-upgrade
  • env DPKG_DEBUG=developer sudo apt full-upgrade

...or...

  • env DPKG_DEBUG=yes sudo apt install aegir3
  • env DPKG_DEBUG=developer sudo apt install aegir3

So I got stuck on #2773223: Aegir Upgrade Stuck After Platforms Path Is Writable for a while because I could see where it was hanging.

Files: 
CommentFileSizeAuthor
#4 extra_output_via-2861696-4.patch874 byteshelmo

Comments

colan created an issue. See original summary.

colan’s picture

Issue summary: View changes
helmo’s picture

The lack of output here comes from the way we call it.

We use drush_invoke_process for it which returns an array of output when it's finished... so it's not a steam.

helmo’s picture

Status: Active » Needs review
FileSize
874 bytes

Turns out we we’re not even getting output if we call 'drush @hm hosting-pause' directly.

The log type 'message' is just wrong... When I changed it to warning I got further. Hosting commit: 2db3e73

But replicating the call we do on upgrades drush @hm --debug php-eval "provision_backend_invoke('hostmaster', 'hosting-pause', array(), array('#integrate' => FALSE));" was still silent.

Shame on me for adding that integrate=FALSE in c0c49d2391c5f678869c2a23f3701cf34af578ed

  • Jon Pugh committed 2e092e8 on 7.x-3.x
    Issue #2861696 by colan, helmo: Do not ignore output from hosting-pause.
    
Jon Pugh’s picture

Status: Needs review » Fixed

Looks good, I pushed it. I am now seeing the hanging hosting-pause command.

Jon Pugh’s picture

Uh oh, I think that hiding of messages from hosting-pause might have been intentional...

With integrate removed, I am getting an error saving crontab: https://travis-ci.org/opendevshop/devshop/jobs/224416074#L5233

I'm going to revert this for now.

  • Jon Pugh committed c7f8b82 on 7.x-3.x
    Revert "Issue #2861696 by colan, helmo: Do not ignore output from...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

colan’s picture

Status: Closed (fixed) » Needs review
colan’s picture

Back to reviewing #4.

helmo’s picture

Status: Needs review » Needs work
Related issues: +#1118558: upgrade fails on hosting-pause

@Jon Pugh: The error in you point to in #7 seems to be about hosting-resume, not hosting-pause.

The drush command 'hosting-resume' could not be found.

We should really figure out how to fix the error there instead of ignoring it with integrate=false