Skip to content
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

Problem to try $drush cr or any drush command #28

Open
brandonCor96 opened this issue Oct 27, 2017 · 3 comments
Open

Problem to try $drush cr or any drush command #28

brandonCor96 opened this issue Oct 27, 2017 · 3 comments

Comments

@brandonCor96
Copy link

Problem to try $drush cr or any drush command

I have the same problem to try another command like $drush cpex config --changelist

Command cache-rebuild needs a higher bootstrap level to run - you [error]
will need to invoke drush from a more functional Drupal environment
to run this command.
Command cache-rebuild requires Drupal core version 8+ to run. [error]
The drush command 'cr' could not be executed. [error]

$drush status
PHP configuration : /etc/php/7.0/cli/php.ini
PHP OS : Linux
Drush script : /usr/local/bin/drush
Drush version : 8.1.13
Drush temp directory : /tmp
Drush configuration :
Drush alias files :

Drush Version : 8.1.13

I need help fix that...

@mattwire
Copy link
Collaborator

You need to run drush from a drupal directory. And, looks like you are trying to do something with Drupal 8 - but do you have drupal 8 installed?

@brandonCor96
Copy link
Author

Yes I'm in my local repository from my directory folder that in my case is public. So I have configured a settings local

@mattwire
Copy link
Collaborator

You would need to execute from /srv/www/[drupal-install-dir] within the vagrant environment (hint: vagrant ssh)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants