Drupal Drush Problem Under VestaCP
-
- Posts: 5
- Joined: Thu Feb 18, 2016 3:46 pm
Drupal Drush Problem Under VestaCP
Hi, anyone have successfully install Drush (Drupal Shell) here ? Cause I cannot get it work under Vesta CP.
I think its maybe path or mysql config issue, but cannot found anything to make it run.
I already run Drush in website root folder - /home/user/web/domain/public_html
# drush cc all
No Drupal site found, only 'drush' cache was cleared. [warning]
# drush up drupal
Command pm-update needs a higher bootstrap level to run - you will need to invoke drush from a[error]
more functional Drupal environment to run this command.
The drush command 'up drupal' could not be executed. [error]
Drush was not able to start (bootstrap) the Drupal database. [error]
Any advise would be appreciated. Thanks.
I think its maybe path or mysql config issue, but cannot found anything to make it run.
I already run Drush in website root folder - /home/user/web/domain/public_html
# drush cc all
No Drupal site found, only 'drush' cache was cleared. [warning]
# drush up drupal
Command pm-update needs a higher bootstrap level to run - you will need to invoke drush from a[error]
more functional Drupal environment to run this command.
The drush command 'up drupal' could not be executed. [error]
Drush was not able to start (bootstrap) the Drupal database. [error]
Any advise would be appreciated. Thanks.
Re: Drupal Drush Problem Under VestaCP
Hi,
I am a fellow Drupal user but I never had any problems with drush. I used (and using) drush successfully in CentOS 6 + Vesta, CentOS 7 + Vesta, Ubuntu 14.04 + Vesta, Debian 7 + Vesta, Debian 8 + Vesta. All the above with Drupal 7 though.
Can you provide more info about your installation, drush and drupal versions?
Can you provide the output of drush sql-connect and can you check if you have installed for sure the mysql-client-core-x.x package?
A quick fix from the past (may or may not help you atm) that manage to solve various weird errors for me:
Now verify if “~/.drush/php.ini” has “disable_functions = ” (it should by default)
For more check the following link as well:
http://drupal.stackexchange.com/questio ... -bootstrap
I am a fellow Drupal user but I never had any problems with drush. I used (and using) drush successfully in CentOS 6 + Vesta, CentOS 7 + Vesta, Ubuntu 14.04 + Vesta, Debian 7 + Vesta, Debian 8 + Vesta. All the above with Drupal 7 though.
Can you provide more info about your installation, drush and drupal versions?
Can you provide the output of drush sql-connect and can you check if you have installed for sure the mysql-client-core-x.x package?
A quick fix from the past (may or may not help you atm) that manage to solve various weird errors for me:
Code: Select all
pear install Console_Table
mkdir -p ~/.drush
cp -i /usr/local/vesta/php/lib/php.ini ~/.drush/
Code: Select all
nano ~/.drush/php.ini
http://drupal.stackexchange.com/questio ... -bootstrap
-
- Posts: 1
- Joined: Fri Oct 28, 2016 6:48 pm
Re: Drupal Drush Problem Under VestaCP
Just incase anyone else has this problem, the fix for me was that drush was overriding the site password by looking at ~/.my.cnf renaming / deleting that file solved the problem for me.
Re: Drupal Drush Problem Under VestaCP
Hi, I have exactly the same problem. But I don't understand how you found the solution. I renamed the file etc / mysql .my.cnf and I still get the error.
Drush version : 8.3.3-dev
what to do ? Thanks for your help
Drupal version : 7.67# drush cc all
No Drupal site found, only 'drush' cache was cleared. [warning]
# drush up drupal
Command pm-update needs a higher bootstrap level to run - you will need to invoke drush from a[error]
more functional Drupal environment to run this command.
The drush command 'up drupal' could not be executed. [error]
Drush was not able to start (bootstrap) the Drupal database. [error]
Drush version : 8.3.3-dev
what to do ? Thanks for your help