-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
Comments
At minimum please try with latest stable release of drush and report back. |
It still fails with Drush 8.1.11:
|
I ran a few commands against a Drush 6 site, and they all worked just fine. Note that
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 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. |
I still manage to use
In fact, the problem is not a
It doesn't with Drush 8.1.11:
|
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. |
It hasn't worked for me. |
Oh, thank you for the tip. |
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:
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:
Hopefully this gives enough information to fix the problem in drush.... |
wow, that workaround worked for my two instances which demonstrated this problem! |
@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:
I've been updating quite a few clients' Drupal 6 sites, and this was the first that had this issue with Drush. |
Drupal 6 is unsupported, and a workaround is available. |
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:
It failed with Drush 8.1.10:
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?
The text was updated successfully, but these errors were encountered: