After running 'drush up' I get the following error messages:
The command could not be executed successfully (returned: sh: /home/[username]/bin/drush/drush.php: Permission denied, code: <em>126</em>) [error]
An error occurred at function : drush_pm_post_pm_update [error]All modules seem to be updated properly.
This is with a Dreamhost shared server account.
Drush is 6.x-3.0-rc3
'drush st' returns php configuration: /etc/php5/cgi/php.ini
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| drush error.JPG | 20.26 KB | arlinsandbulte |
Comments
Comment #1
moshe weitzman commentedyou can either run updatecode and then updatedb (thats what up does) or you can pass the --php option with a value pointing to your php executable. drush can't find your php (adding 'php' to your path might help as well)
Comment #2
arlinsandbulte commentedOK, please forgive me, moshe, but I have no idea what you are saying above. So what would I type into the command line? Right now, I just type 'drush up' and get the error messages above.
I added the following to my .bashrc and my .bash_profile because I saw this in another drush issue post:
Comment #3
arlinsandbulte commenteddrush upc & druch updb seem to work ok.
I found this issue too: #662926: --php path argument required on Dreamhost
which is a duplicate of this, I think, but could not get drush up to work properly following there either.
Comment #4
moshe weitzman commentedComment #5
shahbaaz commentedYou need to change the file permission of this file ( /home/[username]/bin/drush/drush.php ) to 755. It worked for me.