Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | extra_output_via-2861696-4.patch | 874 bytes | helmo |
Comments
Comment #2
colanComment #3
helmo CreditAttribution: helmo commentedThe 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.
Comment #4
helmo CreditAttribution: helmo commentedTurns 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
Comment #6
Jon PughLooks good, I pushed it. I am now seeing the hanging hosting-pause command.
Comment #7
Jon PughUh 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.
Comment #10
colanComment #11
colanBack to reviewing #4.
Comment #12
helmo CreditAttribution: helmo commented@Jon Pugh: The error in you point to in #7 seems to be about hosting-resume, not hosting-pause.
We should really figure out how to fix the error there instead of ignoring it with integrate=false