Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section 3rd Party Software
  • Search

Drupal Drush Problem Under VestaCP

Section with additional software for Vesta
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
executionist
Posts: 5
Joined: Thu Feb 18, 2016 3:46 pm

Drupal Drush Problem Under VestaCP
  • Quote

Post by executionist » Sun Mar 06, 2016 3:31 am

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.
Top

vlahonick
Posts: 50
Joined: Sat Mar 21, 2015 10:08 am

Re: Drupal Drush Problem Under VestaCP
  • Quote

Post by vlahonick » Mon Mar 07, 2016 7:04 am

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:

Code: Select all

pear install Console_Table
mkdir -p ~/.drush
cp -i /usr/local/vesta/php/lib/php.ini ~/.drush/
Now verify if “~/.drush/php.ini” has “disable_functions = ” (it should by default)

Code: Select all

nano ~/.drush/php.ini
For more check the following link as well:
http://drupal.stackexchange.com/questio ... -bootstrap
Top

lwhitelock
Posts: 1
Joined: Fri Oct 28, 2016 6:48 pm

Re: Drupal Drush Problem Under VestaCP
  • Quote

Post by lwhitelock » Fri Oct 28, 2016 6:51 pm

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.
Top

djey
Posts: 1
Joined: Sun Dec 15, 2019 5:00 pm

Os: Debian 7x
Web: apache + nginx
Re: Drupal Drush Problem Under VestaCP
  • Quote

Post by djey » Sun Dec 15, 2019 5:14 pm

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 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]
Drupal version : 7.67
Drush version : 8.3.3-dev

what to do ? Thanks for your help
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “3rd Party Software”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password