drush-ops / drush

Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt.
https://www.drush.org
2.33k stars 1.08k forks source link

Drush 8.1.9+ with Drupal 6 results in “Drush command terminated abnormally due to an unrecoverable error” followed by the site home page source code #2743

Closed Roger-Ro closed 5 years ago

Roger-Ro commented 7 years ago

My sites are hosted on a Linux server with Apache 2.2, PHP 5.5, MySQL 5.6 installed. I use Drush 8.1.8 which I installed via Composer and which works correctly with my D6, D7 and D8 sites. I can update some D6 site modules by using Drush 8 combined with the myDropWizard module.

I've recently tried to update Drush to 8.1.9 version then to 8.1.10 version, but none works with the D6 sites, while still working correctly with the D7 and D8 sites.

Each time I try to use a Drush command for a D6 site, an error message is displayed. It is weirdly followed by the display of the whole home page source code of this site. I've also tried reproducing this on localhost; in that case, Drush is stuck.

This issue only occurs with 8.1.9+ versions, no problem with the 8.1.8 and previous ones.

For example, when I ran: [~/public_html/en/sites/en.mysite.com]# drush -dv up

It passed with Drush 8.1.8:

Using the Drush script found at /home/myuser/.composer/vendor/drush/drush/drush.launcher using proc_open
Drush preflight prepare loaded autoloader at                         [preflight]
/home/myuser/.composer/vendor/autoload.php [0.01 sec, 2.5 MB]
Starting Drush preflight. [0.01 sec, 2.5 MB]                         [preflight]
Loading drushrc "/home/myuser/.drush/drushrc.php" into "home.drush"[bootstrap]
scope. [0.01 sec, 2.8 MB]
Cache HIT cid: 8.1.8-commandfiles-0-6f2a323a6de1242729a7e3fe6aad3d20     [debug]
[0.02 sec, 2.86 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.07        [debug]
sec, 5.56 MB]
Scanning into /etc/drush for /self\.alias\.drush(8|)rc\.php$/ [0.07      [debug]
sec, 5.56 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /.*aliases\.drush(8|)rc\.php$/ [0.07 sec, 5.56 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /self\.alias\.drush(8|)rc\.php$/ [0.07 sec, 5.56 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.56 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.56 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/sites/default for            [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/sites/default for            [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Bootstrap to phase 0. [0.25 sec, 9.19 MB]                            [bootstrap]
Bootstrap to phase 6. [0.26 sec, 9.2 MB]                             [bootstrap]
Drush bootstrap phase : bootstrap_drupal_root() [0.26 sec, 9.57 MB]  [bootstrap]
Initialized Drupal 6.38 root directory at                            [bootstrap]
/home/myuser/public_html/en [0.27 sec, 9.74 MB]
Find command files for phase 1 (max=6) [0.28 sec, 7.06 MB]               [debug]
Cache MISS cid: 8.1.8-commandfiles-1-b9fee8b15dbf25a4d90112dcde868368    [debug]
[0.28 sec, 7.06 MB]
Cache SET cid: 8.1.8-commandfiles-1-b9fee8b15dbf25a4d90112dcde868368     [debug]
[0.28 sec, 7.06 MB]
Cache MISS cid:                                                          [debug]
8.1.8-annotationfiles-1-90bcfd4c83aa04b96148e19f9b6d112b [0.28 sec,
7.06 MB]
Cache SET cid:                                                           [debug]
8.1.8-annotationfiles-1-90bcfd4c83aa04b96148e19f9b6d112b [0.28 sec,
7.06 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.28        [debug]
sec, 7.07 MB]
Scanning into /etc/drush for /self\.alias\.drush(8|)rc\.php$/ [0.28      [debug]
sec, 7.07 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /.*aliases\.drush(8|)rc\.php$/ [0.28 sec, 7.07 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /self\.alias\.drush(8|)rc\.php$/ [0.28 sec, 7.07 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.07 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.08 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.08 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.08 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.08 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.08 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.08 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.09 MB]
Scanning into                                                            [debug]
/home/myuser/public_html/en/sites/en.mysite.com for
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.09 MB]
Scanning into                                                            [debug]
/home/myuser/public_html/en/sites/en.mysite.com for
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.09 MB]
Drush bootstrap phase : bootstrap_drupal_site() [0.3 sec, 7.09 MB]   [bootstrap]
Initialized Drupal site en.mysite.com at                   [bootstrap]
sites/en.mysite.com [0.3 sec, 7.09 MB]
Find command files for phase 2 (max=6) [0.3 sec, 7.09 MB]                [debug]
Drush bootstrap phase : bootstrap_drupal_configuration() [0.3 sec,   [bootstrap]
7.09 MB]
Find command files for phase 3 (max=6) [0.3 sec, 7.1 MB]                 [debug]
sql-query: SELECT 1; [0.31 sec, 7.25 MB]                                [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_OIe8xv --database=myuser_dru600en-3 --host=localhost --silent  < /tmp/drush_9CYvzv
  1
sql-query: SHOW TABLES; [0.32 sec, 7.25 MB]                             [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_8JGzyv --database=myuser_dru600en-3 --host=localhost --silent  < /tmp/drush_dAplyv

----------

Drush bootstrap phase : bootstrap_drupal_database() [0.34 sec, 7.28  [bootstrap]
MB]
Successfully connected to the Drupal database. [0.34 sec, 7.49 MB]   [bootstrap]
Find command files for phase 4 (max=6) [0.34 sec, 7.49 MB]               [debug]
Drush bootstrap phase : bootstrap_drupal_full() [0.34 sec, 7.49 MB]  [bootstrap]
session_start(): Cannot send session cookie - headers already sent by[1;33;40m[1m[warning][0m
(output started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:1182 [0.34 sec, 7.53 MB]
session_start(): Cannot send session cache limiter - headers already [1;33;40m[1m[warning][0m
sent (output started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:1182 [0.34 sec, 7.53 MB]
Cannot modify header information - headers already sent by (output   [1;33;40m[1m[warning][0m
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:736 [0.36 sec, 9.19 MB]
Cannot modify header information - headers already sent by (output   [1;33;40m[1m[warning][0m
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:737 [0.36 sec, 9.19 MB]
Cannot modify header information - headers already sent by (output   [1;33;40m[1m[warning][0m
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:738 [0.36 sec, 9.19 MB]
Cannot modify header information - headers already sent by (output   [1;33;40m[1m[warning][0m
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:739 [0.37 sec, 9.19 MB]
Cache MISS cid:                                                          [debug]
8.1.8-install_profile-e90a16a83d52c8b645801f9d680294e7 [0.64 sec,
27.29 MB]
Cache SET cid: 8.1.8-install_profile-e90a16a83d52c8b645801f9d680294e7    [debug]
[0.64 sec, 27.29 MB]
Find command files for phase 5 (max=6) [0.64 sec, 27.3 MB]               [debug]
Cache HIT cid: 8.1.8-install_profile-e90a16a83d52c8b645801f9d680294e7    [debug]
[0.64 sec, 27.3 MB]
Cache MISS cid: 8.1.8-commandfiles-5-a9080126c9c73166bca2cdbd6b3b0237    [debug]
[0.65 sec, 27.43 MB]
Cache SET cid: 8.1.8-commandfiles-5-a9080126c9c73166bca2cdbd6b3b0237     [debug]
[0.74 sec, 27.44 MB]
Cache MISS cid:                                                          [debug]
8.1.8-annotationfiles-5-fa617a1a276a4dad2c17877d766b9665 [0.76 sec,
27.81 MB]
Cache SET cid:                                                           [debug]
8.1.8-annotationfiles-5-fa617a1a276a4dad2c17877d766b9665 [0.76 sec,
27.81 MB]
Drush bootstrap phase : bootstrap_drupal_login() [0.77 sec, 27.77 MB][bootstrap]
Find command files for phase 6 (max=6) [0.77 sec, 27.8 MB]               [debug]
Found command: pm-update (commandfile=pm) [0.77 sec, 27.8 MB]        [bootstrap]
Calling hook drush_pm_update [0.94 sec, 31.04 MB]                        [debug]
Loading release_info engine. [0.94 sec, 31.08 MB]                       [notice]
Loading version_control engine. [0.94 sec, 31.08 MB]                    [notice]
Loading package_handler engine. [0.94 sec, 31.1 MB]                     [notice]
Executing: wget --version
Loading update_status engine. [0.95 sec, 31.09 MB]                      [notice]
Including                                                            [bootstrap]
/home/myuser/.composer/vendor/drush/drush/commands/pm/updatecode.pm.inc
[0.96 sec, 31.09 MB]
Calling hook drush_pm_updatecode_validate [0.96 sec, 31.19 MB]           [debug]
Returned from hook drush_pm_updatecode_validate [0.96 sec, 31.2 MB]      [debug]
Calling hook drush_pm_updatecode [0.97 sec, 31.21 MB]                    [debug]
Cache MISS cid: 8.1.8-alias-path--03cb329adb374664ee9dca020716dbe1       [debug]
[0.97 sec, 31.24 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.97        [debug]
sec, 31.24 MB]
Scanning into /etc/drush for /.*\.alias\.drush(8|)rc\.php$/ [0.97        [debug]
sec, 31.24 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /.*aliases\.drush(8|)rc\.php$/ [0.97 sec, 31.24 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /.*\.alias\.drush(8|)rc\.php$/ [0.97 sec, 31.25 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.98 sec, 31.25 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/.*\.alias\.drush(8|)rc\.php$/ [0.98 sec, 31.25 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.98 sec, 31.25 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/.*\.alias\.drush(8|)rc\.php$/ [0.98 sec, 31.25 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.98 sec, 31.25 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/.*\.alias\.drush(8|)rc\.php$/ [0.98 sec, 31.26 MB]
Scanning into                                                            [debug]
/home/myuser/public_html/en/sites/en.mysite.com for
/.*aliases\.drush(8|)rc\.php$/ [0.98 sec, 31.26 MB]
Scanning into                                                            [debug]
/home/myuser/public_html/en/sites/en.mysite.com for
/.*\.alias\.drush(8|)rc\.php$/ [0.98 sec, 31.26 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.98 sec, 31.26 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/.*\.alias\.drush(8|)rc\.php$/ [0.98 sec, 31.26 MB]
Cache SET cid: 8.1.8-alias-path--03cb329adb374664ee9dca020716dbe1        [debug]
[0.99 sec, 31.28 MB]
Backend invoke: /usr/bin/php-cli                                       [command]
/home/myuser/.composer/vendor/drush/drush/drush.php
--php=/usr/bin/php-cli  --backend=2 --verbose --debug
--root=/home/myuser/public_html/en
--uri=http://en.mysite.com
--db-url='mysql://myuser_en:en123@localhost/myuser_dru600en-3' 
pm-updatestatus 2>&1 [0.99 sec, 31.27 MB]
/usr/bin/php-cli                                                        [notice]
/home/myuser/.composer/vendor/drush/drush/drush.php
--php=/usr/bin/php-cli  --backend=2 --verbose --debug
--root=/home/myuser/public_html/en
--uri=http://en.mysite.com
--db-url='mysql://myuser_en:en123@localhost/myuser_dru600en-3' 
pm-updatestatus 2>&1 [0.99 sec, 31.27 MB]
Update information last refreshed: February 26, 2017 - 12:14

----------

It failed with Drush 8.1.10:

Using the Drush script found at /home/myuser/.composer/vendor/drush/drush/drush.launcher using proc_open
Drush preflight prepare loaded autoloader at                         [preflight]
/home/myuser/.composer/vendor/autoload.php [0.01 sec, 2.5 MB]
Starting Drush preflight. [0.01 sec, 2.5 MB]                         [preflight]
Loading drushrc "/home/myuser/.drush/drushrc.php" into "home.drush"[bootstrap]
scope. [0.01 sec, 2.8 MB]
Cache HIT cid: 8.1.10-commandfiles-0-6f2a323a6de1242729a7e3fe6aad3d20    [debug]
[0.02 sec, 2.86 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.07        [debug]
sec, 5.56 MB]
Scanning into /etc/drush for /self\.alias\.drush(8|)rc\.php$/ [0.07      [debug]
sec, 5.56 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /.*aliases\.drush(8|)rc\.php$/ [0.07 sec, 5.56 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.56 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.56 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.09 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.09 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.09 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.09 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/sites/default for            [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.09 sec, 5.58 MB]
Scanning into /home/myuser/public_html/en/sites/default for            [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.09 sec, 5.58 MB]
Bootstrap to phase 0. [0.27 sec, 9.53 MB]                            [bootstrap]
Bootstrap to phase 6. [0.27 sec, 9.54 MB]                            [bootstrap]
Drush bootstrap phase : bootstrap_drupal_root() [0.28 sec, 9.91 MB]  [bootstrap]
Initialized Drupal 6.38 root directory at                            [bootstrap]
/home/myuser/public_html/en [0.28 sec, 10.08 MB]
Find command files for phase 1 (max=6) [0.29 sec, 7.37 MB]               [debug]
Cache HIT cid: 8.1.10-commandfiles-1-b9fee8b15dbf25a4d90112dcde868368    [debug]
[0.29 sec, 7.37 MB]
Cache HIT cid:                                                           [debug]
8.1.10-annotationfiles-1-90bcfd4c83aa04b96148e19f9b6d112b [0.29 sec,
7.37 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.29        [debug]
sec, 7.38 MB]
Scanning into /etc/drush for /self\.alias\.drush(8|)rc\.php$/ [0.29      [debug]
sec, 7.38 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.38 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /self\.alias\.drush(8|)rc\.php$/ [0.3 sec, 7.38 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.3 sec, 7.39 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.3 sec, 7.39 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.31 sec, 7.39 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.31 sec, 7.39 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.31 sec, 7.39 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.31 sec, 7.39 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.31 sec, 7.4 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.31 sec, 7.4 MB]
Scanning into                                                            [debug]
/home/myuser/public_html/en/sites/en.mysite.com for
/.*aliases\.drush(8|)rc\.php$/ [0.31 sec, 7.4 MB]
Scanning into                                                            [debug]
/home/myuser/public_html/en/sites/en.mysite.com for
/self\.alias\.drush(8|)rc\.php$/ [0.31 sec, 7.4 MB]
Drush bootstrap phase : bootstrap_drupal_site() [0.31 sec, 7.4 MB]   [bootstrap]
Initialized Drupal site en.mysite.com at                   [bootstrap]
sites/en.mysite.com [0.31 sec, 7.4 MB]
Find command files for phase 2 (max=6) [0.31 sec, 7.4 MB]                [debug]
Drush bootstrap phase : bootstrap_drupal_configuration() [0.31 sec,  [bootstrap]
7.4 MB]
Find command files for phase 3 (max=6) [0.32 sec, 7.41 MB]               [debug]
sql-query: SELECT 1; [0.32 sec, 7.56 MB]                                [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_0zQeYL --database=myuser_dru600en-3 --host=localhost --silent  < /tmp/drush_yLhbDp
  1
sql-query: SHOW TABLES; [0.33 sec, 7.56 MB]                             [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_gUe2Gu --database=myuser_dru600en-3 --host=localhost --silent  < /tmp/drush_CJUCk8
  access
  accesslog
  actions
  actions_aid
  advanced_help_index
  aggregator_category
  aggregator_category_feed
  aggregator_category_item
  aggregator_feed
  aggregator_item
  antispam_counter
  antispam_moderator
  antispam_spam_marks
  authmap
  bad_behavior_log
  batch
  better_formats_defaults
  blocks
  blocks_roles
  book
  boxes
  cache
  cache_block
  cache_content
  cache_emfield_xml
  cache_filter
  cache_form
  cache_media_youtube_status
  cache_menu
  cache_mollom
  cache_mydropwizard
  cache_page
  cache_panels
  cache_update
  cache_views
  cache_views_data
  captcha_points
  captcha_sessions
  client
  client_system
  comment_notify
  comment_notify_user_settings
  comments
  contact
  contemplate
  contemplate_files
  content_field_additional_information
  content_field_description
  content_field_illustration
  content_field_rubric
  content_group
  content_group_fields
  content_node_field
  content_node_field_instance
  content_type_book
  content_type_content_publication
  content_type_event
  content_type_illustration
  content_type_image
  content_type_issue
  content_type_meeting
  content_type_page
  content_type_panel
  content_type_podcast
  content_type_simplenews
  content_type_story
  content_type_video
  content_type_weblink
  ctools_css_cache
  ctools_object_cache
  date_format_locale
  date_format_types
  date_formats
  discussthis
  discussthis_forums
  drupal_install_test
  excerpt
  fb_app
  fb_user
  filefield_paths
  files
  filestore2
  filter_formats
  filters
  flood
  forum
  fscache
  history
  imagecache_action
  imagecache_preset
  imce_files
  inline
  languages
  links
  links_monitor
  links_node
  locales_meta
  locales_source
  locales_target
  media_youtube_metadata
  media_youtube_node_data
  menu_custom
  menu_links
  menu_router
  moderation_filters
  moderation_roles
  moderation_votes
  mollom
  mollom_form
  node
  node_access
  node_comment_statistics
  node_counter
  node_revisions
  node_type
  nodequeue_nodes
  nodequeue_queue
  nodequeue_roles
  nodequeue_subqueue
  nodequeue_types
  nodewords
  old_revisions
  openid_association
  openid_nonce
  page_manager_handlers
  page_manager_pages
  page_manager_weights
  panels_display
  panels_layout
  panels_mini
  panels_node
  panels_pane
  panels_renderer_pipeline
  path_redirect
  permission
  pm_index
  pm_message
  poll
  poll_choices
  poll_votes
  print_mail_node_conf
  print_mail_page_counter
  print_node_conf
  print_page_counter
  profile_fields
  profile_values
  queue
  relatedlinks
  relatedlinks_tracker
  role
  search_dataset
  search_index
  search_keywords_log
  search_node_links
  search_total
  security_review
  semaphore
  sequences
  sessions
  simplenews_mail_spool
  simplenews_newsletters
  simplenews_scheduler
  simplenews_scheduler_editions
  simplenews_snid_tid
  simplenews_subscriptions
  stylizer
  system
  taxonomy_context_term
  taxonomy_context_vocabulary
  taxonomy_manager_merge
  term_autotagging_data
  term_data
  term_hierarchy
  term_node
  term_relation
  term_synonym
  upload
  url_alias
  users
  users_roles
  variable
  view_argument
  view_exposed_filter
  view_filter
  view_sort
  view_tablefield
  view_view
  views_data_export
  views_data_export_object_cache
  views_display
  views_object_cache
  views_view
  vocabulary
  vocabulary_node_types
  watchdog
  webform
  webform_component
  webform_emails
  webform_last_download
  webform_roles
  webform_submissions
  webform_submitted_data
  weblink
  weblinks
  weblinks_node
  wysiwyg
  wysiwyg_user
  xmlsitemap
  xmlsitemap_sitemap
  xmlsitemap_term
Drush bootstrap phase : bootstrap_drupal_database() [0.35 sec, 7.6   [bootstrap]
MB]
Successfully connected to the Drupal database. [0.36 sec, 7.8 MB]    [bootstrap]
Find command files for phase 4 (max=6) [0.36 sec, 7.8 MB]                [debug]
Drush bootstrap phase : bootstrap_drupal_full() [0.36 sec, 7.8 MB]   [bootstrap]
session_start(): Cannot send session cookie - headers already sent by[1;33;40m[1m[warning][0m
(output started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:1182 [0.36 sec, 7.84 MB]
session_start(): Cannot send session cache limiter - headers already [1;33;40m[1m[warning][0m
sent (output started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:1182 [0.36 sec, 7.85 MB]
Cannot modify header information - headers already sent by (output   [1;33;40m[1m[warning][0m
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:770 [0.38 sec, 9.5 MB]
Cannot modify header information - headers already sent by (output   [1;33;40m[1m[warning][0m
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:771 [0.38 sec, 9.5 MB]
Cannot modify header information - headers already sent by (output   [1;33;40m[1m[warning][0m
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:774 [0.38 sec, 9.5 MB]
Cannot modify header information - headers already sent by (output   [1;33;40m[1m[warning][0m
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:775 [0.38 sec, 9.5 MB]
Cannot modify header information - headers already sent by (output   [1;33;40m[1m[warning][0m
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:797 [0.38 sec, 9.5 MB]
Cannot modify header information - headers already sent by (output   [1;33;40m[1m[warning][0m
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:797 [0.38 sec, 9.5 MB]
Drush command terminated abnormally due to an unrecoverable error.   [31;40m[1m[error][0m
[0.38 sec, 9.53 MB]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <title>Site off-line | </title>
    <link type="text/css" rel="stylesheet" media="all" href="/files/en/css/css_efc0c05aa0cad4c9108b9319f85db325.css" />
<link type="text/css" rel="stylesheet" media="print" href="/files/en/css/css_27bf2b59a4b65e1feaeb43135d7e990a.css" />
    <script type="text/javascript" src="/files/en/js/js_d2fed660346f255db8897c2b7ca69b33.js"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "fb_connect": { "front_url": "/", "fbu": 0, "uid": 0 }, "nice_menus_options": { "delay": 800, "speed": 1 } });
//--><!]]>
</script>
    <!--[if lt IE 7]>
      <link type="text/css" rel="stylesheet" media="all" href="/themes/garland/fix-ie.css" />    <![endif]-->
  </head>
  <body>

<!-- Layout -->
  <div id="header-region" class="clear-block"></div>

    <div id="wrapper">
    <div id="container" class="clear-block">

      <div id="header">
        <div id="logo-floater">
        <h1><a href="/" title=" mysite!"><span></span> mysite!</a></h1>        </div>

      </div> <!-- /header -->

      <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
          <h2>Site off-line</h2>                              <div class="clear-block">
            down for maintenance          </div>
          <div id="footer"></div>
      </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->

    </div> <!-- /container -->
  </div>
<!-- /layout -->

  </body>
</html>

The main differences I have noticed are the following:

8.1.8 results line 43: 2 times "Cache MISS cid ... Cache SET cid", line 334: "Cache MISS cid ... Cache SET cid ... Cache HIT cid ... ";

8.1.10 results line 43: 2 times "Cache HIT cid", line 337: "Drush error" instead of the expected "Cache ... cid".

Is a cache issue conceivable?

weitzman commented 7 years ago

At minimum please try with latest stable release of drush and report back.

Roger-Ro commented 7 years ago

It still fails with Drush 8.1.11: [~/public_html/en/sites/en.mysite.com]# drush -dv up

Using the Drush script found at /home/myuser/.composer/vendor/drush/drush/drush.launcher using proc_open
Drush preflight prepare loaded autoloader at                         [preflight]
/home/myuser/.composer/vendor/autoload.php [0.01 sec, 2.51 MB]
Starting Drush preflight. [0.01 sec, 2.51 MB]                        [preflight]
Loading drushrc "/home/myuser/.drush/drushrc.php" into "home.drush"[bootstrap]
scope. [0.01 sec, 2.81 MB]
Cache HIT cid: 8.1.11-commandfiles-0-6f2a323a6de1242729a7e3fe6aad3d20    [debug]
[0.02 sec, 2.86 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.07        [debug]
sec, 5.56 MB]
Scanning into /etc/drush for /self\.alias\.drush(8|)rc\.php$/ [0.07      [debug]
sec, 5.56 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /.*aliases\.drush(8|)rc\.php$/ [0.07 sec, 5.56 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.56 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.56 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.58 MB]
Scanning into /home/myuser/public_html/en/sites/default for            [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.58 MB]
Scanning into /home/myuser/public_html/en/sites/default for            [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.58 MB]
Bootstrap to phase 0. [0.26 sec, 9.48 MB]                            [bootstrap]
Bootstrap to phase 6. [0.26 sec, 9.48 MB]                            [bootstrap]
Drush bootstrap phase : bootstrap_drupal_root() [0.27 sec, 9.85 MB]  [bootstrap]
Initialized Drupal 6.38 root directory at                            [bootstrap]
/home/myuser/public_html/en [0.27 sec, 10.03 MB]
Find command files for phase 1 (max=6) [0.28 sec, 7.32 MB]               [debug]
Cache HIT cid: 8.1.11-commandfiles-1-b9fee8b15dbf25a4d90112dcde868368    [debug]
[0.28 sec, 7.33 MB]
Cache HIT cid:                                                           [debug]
8.1.11-annotationfiles-1-90bcfd4c83aa04b96148e19f9b6d112b [0.28 sec,
7.33 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.28        [debug]
sec, 7.33 MB]
Scanning into /etc/drush for /self\.alias\.drush(8|)rc\.php$/ [0.28      [debug]
sec, 7.33 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /.*aliases\.drush(8|)rc\.php$/ [0.28 sec, 7.33 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.34 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.34 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.34 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.34 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.34 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.35 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.35 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.35 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.35 MB]
Scanning into                                                            [debug]
/home/myuser/public_html/en/sites/en.mysite.com for
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.35 MB]
Scanning into                                                            [debug]
/home/myuser/public_html/en/sites/en.mysite.com for
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.35 MB]
Drush bootstrap phase : bootstrap_drupal_site() [0.3 sec, 7.35 MB]   [bootstrap]
Initialized Drupal site en.mysite.com at                   [bootstrap]
sites/en.mysite.com [0.3 sec, 7.36 MB]
Find command files for phase 2 (max=6) [0.3 sec, 7.36 MB]                [debug]
Drush bootstrap phase : bootstrap_drupal_configuration() [0.3 sec,   [bootstrap]
7.36 MB]
Find command files for phase 3 (max=6) [0.3 sec, 7.36 MB]                [debug]
sql-query: SELECT 1; [0.31 sec, 7.51 MB]                                [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_HMouf7 --database=myuser_dru600en-3 --host=localhost --silent  < /tmp/drush_Yj7zo7
  1
sql-query: SHOW TABLES; [0.31 sec, 7.51 MB]                             [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_L5YDZ6 --database=myuser_dru600en-3 --host=localhost --silent  < /tmp/drush_OfLy76
  access
  accesslog
  actions
  actions_aid
  advanced_help_index
  aggregator_category
  aggregator_category_feed
  aggregator_category_item
  aggregator_feed
  aggregator_item
  antispam_counter
  antispam_moderator
  antispam_spam_marks
  authmap
  bad_behavior_log
  batch
  better_formats_defaults
  blocks
  blocks_roles
  book
  boxes
  cache
  cache_block
  cache_content
  cache_emfield_xml
  cache_filter
  cache_form
  cache_media_youtube_status
  cache_menu
  cache_mollom
  cache_mydropwizard
  cache_page
  cache_panels
  cache_update
  cache_views
  cache_views_data
  captcha_points
  captcha_sessions
  client
  client_system
  comment_notify
  comment_notify_user_settings
  comments
  contact
  contemplate
  contemplate_files
  content_field_additional_information
  content_field_description
  content_field_illustration
  content_field_rubric
  content_group
  content_group_fields
  content_node_field
  content_node_field_instance
  content_type_book
  content_type_content_publication
  content_type_event
  content_type_illustration
  content_type_image
  content_type_issue
  content_type_meeting
  content_type_page
  content_type_panel
  content_type_podcast
  content_type_simplenews
  content_type_story
  content_type_video
  content_type_weblink
  ctools_css_cache
  ctools_object_cache
  date_format_locale
  date_format_types
  date_formats
  discussthis
  discussthis_forums
  drupal_install_test
  excerpt
  fb_app
  fb_user
  filefield_paths
  files
  filestore2
  filter_formats
  filters
  flood
  forum
  fscache
  history
  imagecache_action
  imagecache_preset
  imce_files
  inline
  languages
  links
  links_monitor
  links_node
  locales_meta
  locales_source
  locales_target
  media_youtube_metadata
  media_youtube_node_data
  menu_custom
  menu_links
  menu_router
  moderation_filters
  moderation_roles
  moderation_votes
  mollom
  mollom_form
  node
  node_access
  node_comment_statistics
  node_counter
  node_revisions
  node_type
  nodequeue_nodes
  nodequeue_queue
  nodequeue_roles
  nodequeue_subqueue
  nodequeue_types
  nodewords
  old_revisions
  openid_association
  openid_nonce
  page_manager_handlers
  page_manager_pages
  page_manager_weights
  panels_display
  panels_layout
  panels_mini
  panels_node
  panels_pane
  panels_renderer_pipeline
  path_redirect
  permission
  pm_index
  pm_message
  poll
  poll_choices
  poll_votes
  print_mail_node_conf
  print_mail_page_counter
  print_node_conf
  print_page_counter
  profile_fields
  profile_values
  queue
  relatedlinks
  relatedlinks_tracker
  role
  search_dataset
  search_index
  search_keywords_log
  search_node_links
  search_total
  security_review
  semaphore
  sequences
  sessions
  simplenews_mail_spool
  simplenews_newsletters
  simplenews_scheduler
  simplenews_scheduler_editions
  simplenews_snid_tid
  simplenews_subscriptions
  stylizer
  system
  taxonomy_context_term
  taxonomy_context_vocabulary
  taxonomy_manager_merge
  term_autotagging_data
  term_data
  term_hierarchy
  term_node
  term_relation
  term_synonym
  upload
  url_alias
  users
  users_roles
  variable
  view_argument
  view_exposed_filter
  view_filter
  view_sort
  view_tablefield
  view_view
  views_data_export
  views_data_export_object_cache
  views_display
  views_object_cache
  views_view
  vocabulary
  vocabulary_node_types
  watchdog
  webform
  webform_component
  webform_emails
  webform_last_download
  webform_roles
  webform_submissions
  webform_submitted_data
  weblink
  weblinks
  weblinks_node
  wysiwyg
  wysiwyg_user
  xmlsitemap
  xmlsitemap_sitemap
  xmlsitemap_term
Drush bootstrap phase : bootstrap_drupal_database() [0.33 sec, 7.55  [bootstrap]
MB]
Successfully connected to the Drupal database. [0.34 sec, 7.75 MB]   [bootstrap]
Find command files for phase 4 (max=6) [0.34 sec, 7.75 MB]               [debug]
Drush bootstrap phase : bootstrap_drupal_full() [0.34 sec, 7.75 MB]  [bootstrap]
session_start(): Cannot send session cookie - headers already sent by[warning]
(output started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:1182 [0.34 sec, 7.79 MB]
session_start(): Cannot send session cache limiter - headers already [warning]
sent (output started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:1182 [0.34 sec, 7.8 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:770 [0.36 sec, 9.46 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:771 [0.36 sec, 9.46 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:774 [0.36 sec, 9.46 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:775 [0.36 sec, 9.46 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:797 [0.36 sec, 9.46 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:797 [0.36 sec, 9.46 MB]
Drush command terminated abnormally due to an unrecoverable error.   [error]
[0.36 sec, 9.49 MB]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <title>Site off-line | mytitle</title>
    <link type="text/css" rel="stylesheet" media="all" href="/files/en/css/css_1fea2e59d5e137c4a93588bd2d9f238d.css" />
<link type="text/css" rel="stylesheet" media="print" href="/files/en/css/css_f7eec084d2ab9232383e1390e66c590f.css" />
    <script type="text/javascript" src="/files/en/js/js_93316df20eb3b76f666f4440cc0cd60e.js"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "fb_connect": { "front_url": "/", "fbu": 0, "uid": 0 }, "nice_menus_options": { "delay": 800, "speed": 1 } });
//--><!]]>
</script>
    <!--[if lt IE 7]>
      <link type="text/css" rel="stylesheet" media="all" href="/themes/garland/fix-ie.css" />    <![endif]-->
  </head>
  <body>

<!-- Layout -->
  <div id="header-region" class="clear-block"></div>

    <div id="wrapper">
    <div id="container" class="clear-block">

      <div id="header">
        <div id="logo-floater">
        <h1><a href="/" title="mytitle mytitle"><span>mytitle</span> mytitle</a></h1>        </div>

      </div> <!-- /header -->

      <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
          <h2>Site off-line</h2>                              <div class="clear-block">
            down for maintenance          </div>
          <div id="footer"></div>
      </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->

    </div> <!-- /container -->
  </div>
<!-- /layout -->

  </body>
</html>
greg-1-anderson commented 7 years ago

I ran a few commands against a Drush 6 site, and they all worked just fine.

Note that pm-update no longer works on Drupal 6, because the drupal.org team decided that all Drupal 6 modules should be marked unsupported, so Drush does not feel that there are any viable updates. For example:

$ drush up
Update information last refreshed: Mon, 05/08/2017 - 21:48
 Name                 Installed Version  Proposed version  Message                         
 Pathauto (pathauto)  6.x-1.4            6.x-1.4           Installed version not supported 
 Token (token)        6.x-1.19+0-dev     6.x-1.19+0-dev    Installed version not supported 

No code updates available.                               

The available PathAuto 6.x-1.6 and the 6.x-2.1 releases are not selected. If you figure out what is wrong with your site, then you will be able to use most drush commands, but not drush up.

If you're not sure what's wrong with your site, you could just keep using Drush 8.1.8 with your Drupal 6 sites.

Roger-Ro commented 7 years ago

I still manage to use drush ups or drush up by using Drush 8 combined with the myDropWizard module, which redirects Drush towards github.com if there are available updates for D6 modules there. That's why I get with Drush 8.1.8: [~/public_html/en/sites/en.mysite.com]# drush -dv ups

 Name                               Installe  Proposed  Message               
                                    d         version                         
                                    Version                                   
 PHP Strict suppress                6.x-1.0   6.x-1.0   Installed version not 
 (___drupal_php_strict_suppress)                        supported             
 Administration menu (admin_menu)   6.x-1.9   6.x-1.9   Up to date            
 Advanced Forum (advanced_forum)    6.x-2.0-  6.x-2.0-  Up to date            
                                    beta1+16  beta1+16                        
                                    -dev      -dev                            
 Advanced help (advanced_help)      6.x-1.3   6.x-1.3   Up to date            
 Better Formats (better_formats)    6.x-1.2   6.x-1.2   Up to date            
 Drupal                             6.38      6.38      Up to date            
 BookMadeSimple (book_made_simple)  6.x-3.4   6.x-3.4   Installed version not 
                                                        supported             
 Booktree (booktree)                6.x-1.5   6.x-1.5   Installed version not 
                                                        supported             
 Calendar (calendar)                6.x-2.4   6.x-2.4   Up to date            
 CKEditor Link (ckeditor_link)      6.x-2.4   6.x-2.4   Installed version not 
                                                        supported             
 Comment Notify (comment_notify)    6.x-1.6   6.x-1.6   Up to date            
 Content (cck)                      6.x-2.11  6.x-2.11  Up to date            
 Chaos tools (ctools)               6.x-1.15  6.x-1.15  Up to date            
 Date (date)                        6.x-2.10  6.x-2.10  Up to date            
 Discuss This (discussthis)         6.x-1.6   6.x-1.6   Installed version not 
                                                        supported             
 Embedded Media Field (emfield)     6.x-2.7   6.x-2.7   Up to date            
 Excerpt (excerpt)                  6.x-1.1   6.x-1.1   Installed version not 
                                                        supported             
 Service links (service_links)      6.x-2.2   6.x-2.2   Installed version not 
                                                        supported             
 Facebook API (fb)                  6.x-3.3   6.x-3.3   Up to date            
 FileField (filefield)              6.x-3.14  6.x-3.14  Up to date            
 FileField Paths (filefield_paths)  6.x-1.5   6.x-1.5   Up to date            
 Global Redirect (globalredirect)   6.x-1.5   6.x-1.5   Up to date            
 Google CSE (google_cse)            6.x-1.2   6.x-1.2   Installed version not 
                                                        supported             
 Google Analytics                   6.x-4.3   6.x-4.3   Up to date            
 (google_analytics)                                                           
 ImageAPI (imageapi)                6.x-1.10  6.x-1.10  Up to date            
 ImageCache (imagecache)            6.x-2.0-  6.x-2.0-  Up to date            
                                    rc1       rc1                             
 imagecache_actions                 6.x-1.9   6.x-1.9   Up to date            
 ImageField (imagefield)            6.x-3.11  6.x-3.11  Up to date            
 IMCE (imce)                        6.x-2.7   6.x-2.7   Up to date            
 IMCE Wysiwyg API bridge            6.x-1.1   6.x-1.1   Up to date            
 (imce_wysiwyg)                                                               
 Insert view (insert_view)          6.x-2.0   6.x-2.0   Up to date            
 jQuery UI (jquery_ui)              6.x-1.5   6.x-1.5   Up to date            
 jQuery Update (jquery_update)      6.x-2.0-  6.x-2.0-  Up to date            
                                    alpha1    alpha1                          
 JW Player Module (jwplayermodule)  6.x-1.7   6.x-1.7   Up to date            
 Libraries (libraries)              6.x-1.0   6.x-1.0   Up to date            
 Link (link)                        6.x-2.11  6.x-2.11  Up to date            
 Media: Audio Flotsam               6.x-1.1   6.x-1.1   Installed version not 
 (media_audio_flotsam)                                  supported             
 Media: Podbean (media_podbean)     6.x-1.0   6.x-1.0   Installed version not 
                                                        supported             
 Media: Video Flotsam               6.x-1.2   6.x-1.2   Installed version not 
 (media_video_flotsam)                                  supported             
 Media: Vimeo (media_vimeo)         6.x-1.1   6.x-1.1   Up to date            
 Media: YouTube (media_youtube)     6.x-1.3   6.x-1.3   Up to date            
 Mime Mail (mimemail)               6.x-1.4   6.x-1.4   Up to date            
 Mollom (mollom)                    6.x-2.15  6.x-2.15  Up to date            
 myDropWizard (mydropwizard)        6.x-1.6   6.x-1.6   Up to date            
 Nice Menus (nice_menus)            6.x-2.1   6.x-2.1   Up to date            
 Nodequeue (nodequeue)              6.x-2.11  6.x-2.11  Up to date            
 OpenID Selector (openid_selector)  6.x-1.5+  6.x-1.5+  Installed version not 
                                    16-dev    16-dev    supported             
 Panels (panels)                    6.x-3.14  6.x-3.14  Up to date            
 Path redirect (path_redirect)      6.x-1.0-  6.x-1.0-  Up to date            
                                    rc2       rc2                             
 Pathauto (pathauto)                6.x-1.6   6.x-1.6   Up to date            
 PDF Preview (pdfpreview)           6.x-1.1   6.x-1.1   Installed version not 
                                                        supported             
 Printer-friendly pages (print)     6.x-1.19  6.x-1.19  Up to date            
 Private messages (privatemsg)      6.x-1.5   6.x-1.5   Up to date            
 Quote (quote)                      6.x-1.2   6.x-1.2   Installed version not 
                                                        supported             
 Search 404 (search404)             6.x-1.12  6.x-1.12  Up to date            
 Security Review (security_review)  6.x-1.3   6.x-1.3   Up to date            
 Select (or other)                  6.x-2.14  6.x-2.14  Up to date            
 (select_or_other)                                                            
 Semantic Views (semanticviews)     6.x-1.1   6.x-1.1   Up to date            
 Simplenews (simplenews)            6.x-2.0-  6.x-2.0-  Up to date            
                                    alpha6    alpha6                          
 Simplenews Scheduler               6.x-2.4   6.x-2.4   Installed version not 
 (simplenews_scheduler)                                 supported             
 Special menu items                 6.x-1.6   6.x-1.6   Up to date            
 (special_menu_items)                                                         
 Tagadelic (tagadelic)              6.x-1.5   6.x-1.5   Up to date            
 Taxonomy Manager                   6.x-2.3   6.x-2.3   Up to date            
 (taxonomy_manager)                                                           
 Token (token)                      6.x-1.19  6.x-1.19  Up to date            
 Transliteration (transliteration)  6.x-3.1   6.x-3.1   Up to date            
 Update status advanced settings    6.x-1.1   6.x-1.1   Installed version not 
 (update_advanced)                                      supported             
 Upgrade status (upgrade_status)    6.x-1.2   6.x-1.2   Installed version not 
                                                        supported             
 Views (views)                      6.x-3.6   6.x-3.6   Up to date            
 Views Bulk Operations              6.x-1.17  6.x-1.17  Up to date            
 (views_bulk_operations)                                                      
 Views Data Export                  6.x-3.0-  6.x-3.0-  Up to date            
 (views_data_export)                beta6     beta6                           
 Views PHP (views_php)              6.x-1.x-  6.x-1.x-  Up to date            
                                    dev       dev                             
 Views Slideshow (views_slideshow)  6.x-3.1   6.x-3.1   Up to date            
 Wysiwyg (wysiwyg)                  6.x-2.5   6.x-2.6   Update available      
 WYSIWYG Filter (wysiwyg_filter)    6.x-1.5   6.x-1.5   Up to date            
 XML sitemap (xmlsitemap)           6.x-2.2   6.x-2.2   Up to date            
 Zen (zen)                          6.x-1.3   6.x-1.3   Up to date            

In fact, the problem is not a pm-update one, because it occurs with any Drush 8.1.9+ command. For example: [~/public_html/en/sites/en.mysite.com]# drush -dv cc all While it passes with Drush 8.1.8:

Using the Drush script found at /home/myuser/.composer/vendor/drush/drush/drush.launcher using proc_open
Drush preflight prepare loaded autoloader at                         [preflight]
/home/myuser/.composer/vendor/autoload.php [0.01 sec, 2.51 MB]
Starting Drush preflight. [0.01 sec, 2.51 MB]                        [preflight]
Loading drushrc "/home/myuser/.drush/drushrc.php" into "home.drush"[bootstrap]
scope. [0.02 sec, 2.81 MB]
Cache MISS cid: 8.1.8-commandfiles-0-6f2a323a6de1242729a7e3fe6aad3d20    [debug]
[0.02 sec, 2.85 MB]
Cache SET cid: 8.1.8-commandfiles-0-6f2a323a6de1242729a7e3fe6aad3d20     [debug]
[0.03 sec, 2.88 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.07        [debug]
sec, 5.58 MB]
Scanning into /etc/drush for /self\.alias\.drush(8|)rc\.php$/ [0.07      [debug]
sec, 5.58 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /.*aliases\.drush(8|)rc\.php$/ [0.07 sec, 5.58 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.58 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.58 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.59 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.09 sec, 5.59 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.09 sec, 5.59 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.09 sec, 5.59 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.09 sec, 5.59 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.09 sec, 5.59 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.09 sec, 5.59 MB]
Scanning into /home/myuser/public_html/en/sites/default for            [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.09 sec, 5.59 MB]
Scanning into /home/myuser/public_html/en/sites/default for            [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.09 sec, 5.6 MB]
Bootstrap to phase 0. [0.25 sec, 9.21 MB]                            [bootstrap]
Trying to bootstrap as far as we can. [0.25 sec, 9.22 MB]                [debug]
Drush bootstrap phase : bootstrap_drupal_root() [0.26 sec, 9.59 MB]  [bootstrap]
Initialized Drupal 6.38 root directory at                            [bootstrap]
/home/myuser/public_html/en [0.27 sec, 9.77 MB]
Find command files for phase 1 (max=7) [0.27 sec, 7.08 MB]               [debug]
Cache MISS cid: 8.1.8-commandfiles-1-b9fee8b15dbf25a4d90112dcde868368    [debug]
[0.27 sec, 7.08 MB]
Cache SET cid: 8.1.8-commandfiles-1-b9fee8b15dbf25a4d90112dcde868368     [debug]
[0.27 sec, 7.08 MB]
Cache MISS cid:                                                          [debug]
8.1.8-annotationfiles-1-90bcfd4c83aa04b96148e19f9b6d112b [0.27 sec,
7.08 MB]
Cache SET cid:                                                           [debug]
8.1.8-annotationfiles-1-90bcfd4c83aa04b96148e19f9b6d112b [0.27 sec,
7.08 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.27        [debug]
sec, 7.09 MB]
Scanning into /etc/drush for /self\.alias\.drush(8|)rc\.php$/ [0.27      [debug]
sec, 7.09 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /.*aliases\.drush(8|)rc\.php$/ [0.27 sec, 7.09 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /self\.alias\.drush(8|)rc\.php$/ [0.28 sec, 7.09 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.28 sec, 7.09 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.28 sec, 7.1 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.1 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.1 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.1 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.1 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.1 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.11 MB]
Scanning into                                                            [debug]
/home/myuser/public_html/en/sites/en.mysite.com for
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.11 MB]
Scanning into                                                            [debug]
/home/myuser/public_html/en/sites/en.mysite.com for
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.11 MB]
Drush bootstrap phase : bootstrap_drupal_site() [0.29 sec, 7.11 MB]  [bootstrap]
Initialized Drupal site en.mysite.com at                   [bootstrap]
sites/en.mysite.com [0.29 sec, 7.11 MB]
Find command files for phase 2 (max=7) [0.29 sec, 7.11 MB]               [debug]
Drush bootstrap phase : bootstrap_drupal_configuration() [0.29 sec,  [bootstrap]
7.11 MB]
Find command files for phase 3 (max=7) [0.29 sec, 7.12 MB]               [debug]
sql-query: SELECT 1; [0.3 sec, 7.27 MB]                                 [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_5M15Uu --database=myuser_dru600en-3 --host=localhost --silent  < /tmp/drush_8dftd6
  1
sql-query: SHOW TABLES; [0.31 sec, 7.27 MB]                             [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_Lf25mi --database=myuser_dru600en-3 --host=localhost --silent  < /tmp/drush_Aht5DT
  access
  accesslog
  actions
  actions_aid
  advanced_help_index
  aggregator_category
  aggregator_category_feed
  aggregator_category_item
  aggregator_feed
  aggregator_item
  antispam_counter
  antispam_moderator
  antispam_spam_marks
  authmap
  bad_behavior_log
  batch
  better_formats_defaults
  blocks
  blocks_roles
  book
  boxes
  cache
  cache_block
  cache_content
  cache_emfield_xml
  cache_filter
  cache_form
  cache_media_youtube_status
  cache_menu
  cache_mollom
  cache_mydropwizard
  cache_page
  cache_panels
  cache_update
  cache_views
  cache_views_data
  captcha_points
  captcha_sessions
  client
  client_system
  comment_notify
  comment_notify_user_settings
  comments
  contact
  contemplate
  contemplate_files
  content_field_additional_information
  content_field_description
  content_field_illustration
  content_field_rubric
  content_group
  content_group_fields
  content_node_field
  content_node_field_instance
  content_type_book
  content_type_content_publication
  content_type_event
  content_type_illustration
  content_type_image
  content_type_issue
  content_type_meeting
  content_type_page
  content_type_panel
  content_type_podcast
  content_type_simplenews
  content_type_story
  content_type_video
  content_type_weblink
  ctools_css_cache
  ctools_object_cache
  date_format_locale
  date_format_types
  date_formats
  discussthis
  discussthis_forums
  drupal_install_test
  excerpt
  fb_app
  fb_user
  filefield_paths
  files
  filestore2
  filter_formats
  filters
  flood
  forum
  fscache
  history
  imagecache_action
  imagecache_preset
  imce_files
  inline
  languages
  links
  links_monitor
  links_node
  locales_meta
  locales_source
  locales_target
  media_youtube_metadata
  media_youtube_node_data
  menu_custom
  menu_links
  menu_router
  moderation_filters
  moderation_roles
  moderation_votes
  mollom
  mollom_form
  node
  node_access
  node_comment_statistics
  node_counter
  node_revisions
  node_type
  nodequeue_nodes
  nodequeue_queue
  nodequeue_roles
  nodequeue_subqueue
  nodequeue_types
  nodewords
  old_revisions
  openid_association
  openid_nonce
  page_manager_handlers
  page_manager_pages
  page_manager_weights
  panels_display
  panels_layout
  panels_mini
  panels_node
  panels_pane
  panels_renderer_pipeline
  path_redirect
  permission
  pm_index
  pm_message
  poll
  poll_choices
  poll_votes
  print_mail_node_conf
  print_mail_page_counter
  print_node_conf
  print_page_counter
  profile_fields
  profile_values
  queue
  relatedlinks
  relatedlinks_tracker
  role
  search_dataset
  search_index
  search_keywords_log
  search_node_links
  search_total
  security_review
  semaphore
  sequences
  sessions
  simplenews_mail_spool
  simplenews_newsletters
  simplenews_scheduler
  simplenews_scheduler_editions
  simplenews_snid_tid
  simplenews_subscriptions
  stylizer
  system
  taxonomy_context_term
  taxonomy_context_vocabulary
  taxonomy_manager_merge
  term_autotagging_data
  term_data
  term_hierarchy
  term_node
  term_relation
  term_synonym
  upload
  url_alias
  users
  users_roles
  variable
  view_argument
  view_exposed_filter
  view_filter
  view_sort
  view_tablefield
  view_view
  views_data_export
  views_data_export_object_cache
  views_display
  views_object_cache
  views_view
  vocabulary
  vocabulary_node_types
  watchdog
  webform
  webform_component
  webform_emails
  webform_last_download
  webform_roles
  webform_submissions
  webform_submitted_data
  weblink
  weblinks
  weblinks_node
  wysiwyg
  wysiwyg_user
  xmlsitemap
  xmlsitemap_sitemap
  xmlsitemap_term
Drush bootstrap phase : bootstrap_drupal_database() [0.33 sec, 7.3   [bootstrap]
MB]
Successfully connected to the Drupal database. [0.33 sec, 7.51 MB]   [bootstrap]
Find command files for phase 4 (max=7) [0.33 sec, 7.51 MB]               [debug]
Drush bootstrap phase : bootstrap_drupal_full() [0.33 sec, 7.51 MB]  [bootstrap]
session_start(): Cannot send session cookie - headers already sent by[warning]
(output started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:1182 [0.33 sec, 7.55 MB]
session_start(): Cannot send session cache limiter - headers already [warning]
sent (output started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:1182 [0.33 sec, 7.55 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:736 [0.38 sec, 9.19 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:737 [0.38 sec, 9.19 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:738 [0.38 sec, 9.19 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:739 [0.38 sec, 9.19 MB]
Cache MISS cid:                                                          [debug]
8.1.8-install_profile-e90a16a83d52c8b645801f9d680294e7 [0.65 sec,
27.13 MB]
Cache SET cid: 8.1.8-install_profile-e90a16a83d52c8b645801f9d680294e7    [debug]
[0.65 sec, 27.14 MB]
Find command files for phase 5 (max=7) [0.65 sec, 27.14 MB]              [debug]
Cache HIT cid: 8.1.8-install_profile-e90a16a83d52c8b645801f9d680294e7    [debug]
[0.65 sec, 27.14 MB]
Cache MISS cid: 8.1.8-commandfiles-5-0ccef5a9a7ee060609c2c0e3f9368693    [debug]
[0.65 sec, 27.27 MB]
Cache SET cid: 8.1.8-commandfiles-5-0ccef5a9a7ee060609c2c0e3f9368693     [debug]
[0.72 sec, 27.28 MB]
Cache MISS cid:                                                          [debug]
8.1.8-annotationfiles-5-ea276487aba2923694d6777889f216c7 [0.73 sec,
27.65 MB]
Cache SET cid:                                                           [debug]
8.1.8-annotationfiles-5-ea276487aba2923694d6777889f216c7 [0.73 sec,
27.65 MB]
Drush bootstrap phase : bootstrap_drupal_login() [0.74 sec, 27.61 MB][bootstrap]
Find command files for phase 6 (max=7) [0.74 sec, 27.64 MB]              [debug]
Found command: cache-clear (commandfile=cache) [0.74 sec, 27.64 MB]  [bootstrap]
Calling hook drush_cache_clear_pre_validate [0.9 sec, 30.85 MB]          [debug]
Returned from hook drush_cache_clear_pre_validate [0.9 sec, 30.87 MB]    [debug]
Calling hook drush_cache_command_clear [0.9 sec, 30.89 MB]               [debug]
Calling drush_cache_clear_both() [0.9 sec, 30.9 MB]                      [debug]
WD php: Declaration of                                               [error]
views_content_plugin_display_panel_pane::options_submit() should be
compatible with views_plugin_display::options_submit($form,
&$form_state) in
/home/myuser/public_html/en/sites/all/modules/ctools/views_content/plugins/views/views_content_plugin_display_panel_pane.inc
on line 402. [1.33 sec, 46.8 MB]
WD php: Declaration of views_plugin_query::options_submit() should be[error]
compatible with views_plugin::options_submit($form, &$form_state) in
/home/myuser/public_html/en/sites/all/modules/views/plugins/views_plugin_query.inc
on line 181. [1.47 sec, 49.19 MB]
WD php: Declaration of views_plugin_access_role::options_submit()    [error]
should be compatible with views_plugin_access::options_submit($form,
&$form_state) in
/home/myuser/public_html/en/sites/all/modules/views/plugins/views_plugin_access_role.inc
on line 58. [1.53 sec, 50.46 MB]
'all' cache was cleared. [7.14 sec, 62.54 MB]                        [success]
Returned from hook drush_cache_command_clear [7.14 sec, 62.54 MB]        [debug]
Command dispatch complete [9.02 sec, 62.67 MB]                          [notice]
 Timer  Cum (sec)  Count  Avg (msec) 
 page   8.732      1      8731.69

It doesn't with Drush 8.1.11:

Using the Drush script found at /home/myuser/.composer/vendor/drush/drush/drush.launcher using proc_open
Drush preflight prepare loaded autoloader at                         [preflight]
/home/myuser/.composer/vendor/autoload.php [0.01 sec, 2.51 MB]
Starting Drush preflight. [0.01 sec, 2.51 MB]                        [preflight]
Loading drushrc "/home/myuser/.drush/drushrc.php" into "home.drush"[bootstrap]
scope. [0.01 sec, 2.81 MB]
Cache HIT cid: 8.1.11-commandfiles-0-6f2a323a6de1242729a7e3fe6aad3d20    [debug]
[0.02 sec, 2.86 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.07        [debug]
sec, 5.56 MB]
Scanning into /etc/drush for /self\.alias\.drush(8|)rc\.php$/ [0.07      [debug]
sec, 5.56 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /.*aliases\.drush(8|)rc\.php$/ [0.07 sec, 5.56 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /self\.alias\.drush(8|)rc\.php$/ [0.07 sec, 5.56 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.07 sec, 5.56 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.57 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.58 MB]
Scanning into /home/myuser/public_html/en/sites/default for            [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.08 sec, 5.58 MB]
Scanning into /home/myuser/public_html/en/sites/default for            [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.08 sec, 5.58 MB]
Bootstrap to phase 0. [0.25 sec, 9.48 MB]                            [bootstrap]
Trying to bootstrap as far as we can. [0.25 sec, 9.48 MB]                [debug]
Drush bootstrap phase : bootstrap_drupal_root() [0.26 sec, 9.85 MB]  [bootstrap]
Initialized Drupal 6.38 root directory at                            [bootstrap]
/home/myuser/public_html/en [0.27 sec, 10.03 MB]
Find command files for phase 1 (max=7) [0.27 sec, 7.32 MB]               [debug]
Cache HIT cid: 8.1.11-commandfiles-1-b9fee8b15dbf25a4d90112dcde868368    [debug]
[0.27 sec, 7.33 MB]
Cache HIT cid:                                                           [debug]
8.1.11-annotationfiles-1-90bcfd4c83aa04b96148e19f9b6d112b [0.27 sec,
7.33 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.27        [debug]
sec, 7.33 MB]
Scanning into /etc/drush for /self\.alias\.drush(8|)rc\.php$/ [0.27      [debug]
sec, 7.33 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /.*aliases\.drush(8|)rc\.php$/ [0.27 sec, 7.34 MB]
Scanning into /home/myuser/.composer/vendor/drush/drush/includes/..    [debug]
for /self\.alias\.drush(8|)rc\.php$/ [0.28 sec, 7.34 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.28 sec, 7.34 MB]
Scanning into /home/myuser/.drush for                                  [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.28 sec, 7.34 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.28 sec, 7.34 MB]
Scanning into /home/myuser/public_html/en/../drush for                 [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.28 sec, 7.35 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.28 sec, 7.35 MB]
Scanning into /home/myuser/public_html/en/drush for                    [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.28 sec, 7.35 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.28 sec, 7.35 MB]
Scanning into /home/myuser/public_html/en/sites/all/drush for          [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.28 sec, 7.35 MB]
Scanning into                                                            [debug]
/home/myuser/public_html/en/sites/en.mysite.com for
/.*aliases\.drush(8|)rc\.php$/ [0.29 sec, 7.35 MB]
Scanning into                                                            [debug]
/home/myuser/public_html/en/sites/en.mysite.com for
/self\.alias\.drush(8|)rc\.php$/ [0.29 sec, 7.35 MB]
Drush bootstrap phase : bootstrap_drupal_site() [0.29 sec, 7.35 MB]  [bootstrap]
Initialized Drupal site en.mysite.com at                   [bootstrap]
sites/en.mysite.com [0.29 sec, 7.36 MB]
Find command files for phase 2 (max=7) [0.29 sec, 7.36 MB]               [debug]
Drush bootstrap phase : bootstrap_drupal_configuration() [0.29 sec,  [bootstrap]
7.36 MB]
Find command files for phase 3 (max=7) [0.29 sec, 7.36 MB]               [debug]
sql-query: SELECT 1; [0.3 sec, 7.51 MB]                                 [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_FrvUvI --database=myuser_dru600en-3 --host=localhost --silent  < /tmp/drush_2WhyDk
  1
sql-query: SHOW TABLES; [0.31 sec, 7.52 MB]                             [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_rJDgju --database=myuser_dru600en-3 --host=localhost --silent  < /tmp/drush_gT2zp6
  access
  accesslog
  actions
  actions_aid
  advanced_help_index
  aggregator_category
  aggregator_category_feed
  aggregator_category_item
  aggregator_feed
  aggregator_item
  antispam_counter
  antispam_moderator
  antispam_spam_marks
  authmap
  bad_behavior_log
  batch
  better_formats_defaults
  blocks
  blocks_roles
  book
  boxes
  cache
  cache_block
  cache_content
  cache_emfield_xml
  cache_filter
  cache_form
  cache_media_youtube_status
  cache_menu
  cache_mollom
  cache_mydropwizard
  cache_page
  cache_panels
  cache_update
  cache_views
  cache_views_data
  captcha_points
  captcha_sessions
  client
  client_system
  comment_notify
  comment_notify_user_settings
  comments
  contact
  contemplate
  contemplate_files
  content_field_additional_information
  content_field_description
  content_field_illustration
  content_field_rubric
  content_group
  content_group_fields
  content_node_field
  content_node_field_instance
  content_type_book
  content_type_content_publication
  content_type_event
  content_type_illustration
  content_type_image
  content_type_issue
  content_type_meeting
  content_type_page
  content_type_panel
  content_type_podcast
  content_type_simplenews
  content_type_story
  content_type_video
  content_type_weblink
  ctools_css_cache
  ctools_object_cache
  date_format_locale
  date_format_types
  date_formats
  discussthis
  discussthis_forums
  drupal_install_test
  excerpt
  fb_app
  fb_user
  filefield_paths
  files
  filestore2
  filter_formats
  filters
  flood
  forum
  fscache
  history
  imagecache_action
  imagecache_preset
  imce_files
  inline
  languages
  links
  links_monitor
  links_node
  locales_meta
  locales_source
  locales_target
  media_youtube_metadata
  media_youtube_node_data
  menu_custom
  menu_links
  menu_router
  moderation_filters
  moderation_roles
  moderation_votes
  mollom
  mollom_form
  node
  node_access
  node_comment_statistics
  node_counter
  node_revisions
  node_type
  nodequeue_nodes
  nodequeue_queue
  nodequeue_roles
  nodequeue_subqueue
  nodequeue_types
  nodewords
  old_revisions
  openid_association
  openid_nonce
  page_manager_handlers
  page_manager_pages
  page_manager_weights
  panels_display
  panels_layout
  panels_mini
  panels_node
  panels_pane
  panels_renderer_pipeline
  path_redirect
  permission
  pm_index
  pm_message
  poll
  poll_choices
  poll_votes
  print_mail_node_conf
  print_mail_page_counter
  print_node_conf
  print_page_counter
  profile_fields
  profile_values
  queue
  relatedlinks
  relatedlinks_tracker
  role
  search_dataset
  search_index
  search_keywords_log
  search_node_links
  search_total
  security_review
  semaphore
  sequences
  sessions
  simplenews_mail_spool
  simplenews_newsletters
  simplenews_scheduler
  simplenews_scheduler_editions
  simplenews_snid_tid
  simplenews_subscriptions
  stylizer
  system
  taxonomy_context_term
  taxonomy_context_vocabulary
  taxonomy_manager_merge
  term_autotagging_data
  term_data
  term_hierarchy
  term_node
  term_relation
  term_synonym
  upload
  url_alias
  users
  users_roles
  variable
  view_argument
  view_exposed_filter
  view_filter
  view_sort
  view_tablefield
  view_view
  views_data_export
  views_data_export_object_cache
  views_display
  views_object_cache
  views_view
  vocabulary
  vocabulary_node_types
  watchdog
  webform
  webform_component
  webform_emails
  webform_last_download
  webform_roles
  webform_submissions
  webform_submitted_data
  weblink
  weblinks
  weblinks_node
  wysiwyg
  wysiwyg_user
  xmlsitemap
  xmlsitemap_sitemap
  xmlsitemap_term
Drush bootstrap phase : bootstrap_drupal_database() [0.33 sec, 7.55  [bootstrap]
MB]
Successfully connected to the Drupal database. [0.33 sec, 7.75 MB]   [bootstrap]
Find command files for phase 4 (max=7) [0.33 sec, 7.75 MB]               [debug]
Drush bootstrap phase : bootstrap_drupal_full() [0.33 sec, 7.75 MB]  [bootstrap]
session_start(): Cannot send session cookie - headers already sent by[warning]
(output started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:1182 [0.33 sec, 7.8 MB]
session_start(): Cannot send session cache limiter - headers already [warning]
sent (output started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:1182 [0.33 sec, 7.8 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:770 [0.35 sec, 9.45 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:771 [0.35 sec, 9.45 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:774 [0.35 sec, 9.46 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:775 [0.35 sec, 9.46 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:797 [0.35 sec, 9.46 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at
/home/myuser/.composer/vendor/drush/drush/includes/output.inc:41)
bootstrap.inc:797 [0.35 sec, 9.46 MB]
Drush command terminated abnormally due to an unrecoverable error.   [error]
[0.36 sec, 9.49 MB]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <title>Site off-line | </title>
    <link type="text/css" rel="stylesheet" media="all" href="/files/en/css/css_efc0c05aa0cad4c9108b9319f85db325.css" />
<link type="text/css" rel="stylesheet" media="print" href="/files/en/css/css_27bf2b59a4b65e1feaeb43135d7e990a.css" />
    <script type="text/javascript" src="/files/en/js/js_d2fed660346f255db8897c2b7ca69b33.js"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "fb_connect": { "front_url": "/", "fbu": 0, "uid": 0 }, "nice_menus_options": { "delay": 800, "speed": 1 } });
//--><!]]>
</script>
    <!--[if lt IE 7]>
      <link type="text/css" rel="stylesheet" media="all" href="/themes/garland/fix-ie.css" />    <![endif]-->
  </head>
  <body>

<!-- Layout -->
  <div id="header-region" class="clear-block"></div>

    <div id="wrapper">
    <div id="container" class="clear-block">

      <div id="header">
        <div id="logo-floater">
        <h1><a href="/" title=" mysite!"><span></span> mysite!</a></h1>        </div>

      </div> <!-- /header -->

      <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
          <h2>Site off-line</h2>                              <div class="clear-block">
            down for maintenance          </div>
          <div id="footer"></div>
      </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->

    </div> <!-- /container -->
  </div>
<!-- /layout -->

  </body>
</html>
apratt commented 7 years ago

I ran into the same problem with Drush 8.1.11 . I ran drush status against the site and got the html. When I ran the Drupal 6 site next door (shared hosting) it worked. I wondered if it was something in the settings.php so I ran a diff against the two settings.php. The database access for both was of course different but strangely enough in one $base_url was not set in the one that worked. In the other it was set. After I commented it out in the Drupal 6 site that was returning html I was able to run drush status and other drush commands successfully. Intuitive fluke perhaps or maybe a breadcrumb to where the solution might lie.

Roger-Ro commented 7 years ago

After I commented it out in the Drupal 6 site that was returning html I was able to run drush status and other drush commands successfully.

It hasn't worked for me.

drzraf commented 6 years ago

Oh, thank you for the tip. When it started happening to me (for an unknown reason, Drush 8.1.16), it was obviously very annoying... Setting the $base_url in settings.php made it work for one of them. For the other it didn't so far. See also here why this issue is so annoying : #393

ttk commented 6 years ago

I was just hit with this bug running Drupal 6.34 and drush 8.1.16. In my case the error occurs when page caching is enabled. In the drupal bootstrap, phase DRUPAL_BOOTSTRAP_LATE_PAGE_CACHE, it does this:

      // If there is a cached page, display it.
      if ($cache) {
        drupal_page_cache_header($cache);
        // If the skipping of the bootstrap hooks is not enforced, call hook_exit.
        if ($cache_mode != CACHE_AGGRESSIVE) {
          bootstrap_invoke_all('exit');
        }
        // We are done.
        exit;
      }

When the exit is reached, drush doesn't like it, and the html of the page cache gets displayed.

My workaround is a change to my settings.php file:

if (function_exists('drush_main')) {
  $conf['cache'] = 0;
}

Hopefully this gives enough information to fix the problem in drush....

drzraf commented 6 years ago

wow, that workaround worked for my two instances which demonstrated this problem!

hankszeto commented 5 years ago

@ttk thanks for that. Adding that to settings.php worked a treat!

I had a Drupal 6.44 site, Drush 8.1.17 and had the same error followed by HTML:

Drush bootstrap phase : bootstrap_drupal_full() [0.34 sec, 8.07 MB]                                                                   [bootstrap]
Drush command terminated abnormally due to an unrecoverable error. [0.37 sec, 9.42 MB]                                                [error]

I've been updating quite a few clients' Drupal 6 sites, and this was the first that had this issue with Drush.

weitzman commented 5 years ago

Drupal 6 is unsupported, and a workaround is available.