hi

i've upgrade my lamp server to 12.04 and after good start, drush doesn't want to startup ,
drush status --debug : Could not startup.

how kind of issue could cause that ? classic install for me : drush files in /opt/drush and sym link to /usr/bin... uniuqe change is in /opt/drush/lib

 ls -l /opt/drush/lib/
total 20
drwxr-xr-x 3 webmaster www-data 4096 mai    4 10:18 Console_Table-1.1.3
-rwxr-xr-x 1 webmaster www-data 8282 mai    4 10:18 package.xml
-rw-r--r-- 1 webmaster www-data  253 mai    4 10:04 README.txt

thanks

Comments

aiphes’s picture

Version: 7.x-5.1 »

juste see that the info drush file tell : 6.0-dev...so i go to revert to old 5.0dev no ?

after revert : no changes

greg.1.anderson’s picture

Status: Active » Postponed (maintainer needs more info)

Drush is working fine for me on Ubuntu 12.04.

aiphes’s picture

Status: Postponed (maintainer needs more info) » Active

ok but what is the signification of this message ?? actually i try to install an ubuntu server 12.04 on virtual box to make test...

greg.1.anderson’s picture

Status: Active » Postponed (maintainer needs more info)

You need to follow the issue reporting guidelines when submitting a support request.

aiphes’s picture

ok on ubuntu server 12.04 (php5.3.10) on virtualbox it works ...
i just get this:

WD php: fwrite() expects parameter 1 to be resource, string given in                     [error]
/opt/drush/includes/output.inc on line 29.
aiphes’s picture

Status: Postponed (maintainer needs more info) » Active
greg.1.anderson’s picture

Status: Active » Postponed (maintainer needs more info)

Not enough info here to debug.

aiphes’s picture

Status: Postponed (maintainer needs more info) » Active
$ drush status
 Drupal version         :  6.26
 Site URI               :  http://default
 Database driver        :  mysqli
 Database hostname      :  localhost
 Database username      :  root
 Database name          :  drupal6_def
 Database               :  Connected
 Drupal bootstrap       :  Successful
 Drupal user            :  Anonymous
 Default theme          :  garland
 Administration theme   :  garland
 PHP configuration      :  /etc/php5/cli/php.ini
 Drush version          :  5.0-dev
 Drush configuration    :
 Drush alias files      :
 Drupal root            :  /var/www/drupal6
 Site path              :  sites/default
 File directory path    :  sites/default/files

for the default mutisite...and for one of multisites:

 drush --uri=http://provence-formation.vmdev  status
 Drupal version         :  6.26
 Site URI               :  http://provence-formation.vmdev
 Database driver        :  mysqli
 Database hostname      :  localhost
 Database username      :  root
 Database name          :  drupal6_pf
 Database               :  Connected
 Drupal bootstrap       :  Successful
 Drupal user            :  Anonyme
 Default theme          :  cyrano_pf
 Administration theme   :  rubik
 PHP configuration      :  /etc/php5/cli/php.ini
 Drush version          :  5.0-dev
 Drush configuration    :
 Drush alias files      :
 Drupal root            :  /var/www/drupal6
 Site path              :  sites/provence-formation.vmdev
 File directory path    :  sites/all/media
greg.1.anderson’s picture

Drush version is 5.0-dev? Maybe you should try on a more recent version of Drush.

aiphes’s picture

which is the most recent version ?? actually my server run php 5.3.10

greg.1.anderson’s picture

The most recent stable version of Drush is 7.x-5.3. You can get it by following the instructions on the Drush project page. The most recent dev version is 7.x-6.x-dev. The best way to get the dev version is to use git, following the instructions on the version control tab on the Drush project page.

aiphes’s picture

ok but actually if i do a selfupdate :

$ drush selfupdate
A newer version of drush, All-versions-5.x-dev (2012-May-27), is available.  Would you like to back up your current drush, version 5.0-dev, to /home/webmaster/drush-backups/drush/20120530144051 and replace it with the newer release? (y/n):

if i do the update , result is :

webmaster@vm-server1:/var/www/drupal6$ drush status
 Drupal version         :  6.26
 Site URI               :  http://default
 Database driver        :  mysqli
 Database hostname      :  localhost
 Database username      :  root
 Database name          :  drupal6_def
 Database               :  Connected
 Drupal bootstrap       :  Successful
 Drupal user            :  Anonymous
 Default theme          :  garland
 Administration theme   :  garland
 PHP configuration      :  /etc/php5/cli/php.ini
 Drush version          :  6.0-dev
 Drush configuration    :
 Drupal root            :  /var/www/drupal6
 Site path              :  sites/default
 File directory path    :  sites/default/files

so last version seem to be good...

moshe weitzman’s picture

Status: Active » Postponed (maintainer needs more info)

Seems like a php issue. I don't think we can debug it from here.

greg.1.anderson’s picture

Version: » 8.x-6.x-dev
Status: Postponed (maintainer needs more info) » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If you still need help, please ask your question again on Drupal Answers and then post a link here to the new question. Please also change the status of this issue to closed (duplicate).

Use our Github project for contributing code, or reporting bugs, or requesting features.