-
Notifications
You must be signed in to change notification settings - Fork 395
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
Command site-install needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command. #132
Comments
Running the same command manually may give you a different result because running a target via blt.sh may actually execute the command in a different directory than your current working directory. What command did you run? What was the initial error? If it's a drush command, you likely need to execute it from the docroot. Otherwise drush can't find Drupal. |
Its it the drush install site command. Im running it again to get the error output from that for you. |
project > setup:drupal:install:
Loaded alias @blted8.local from file /Users/XXXXX/Documents/Clients/XXXXXX/dev/blted8/drush/site-aliases/drupal-vm.aliases.drushrc.php [notice] BUILD FAILED Total time: 42.5293 seconds |
Are you running this from the host or from inside the VM? I have a feeling this is an issue with the drush alias files, as they are not fully ironed out for the VM workflow. |
I am running this from my mac not drupal vm. |
Dumb question, but is the VM running? If you run |
An error 1 occurred while running the command `ssh -o PasswordAuthentication=no -i /Users/XXXXX/.vagrant.d/insecure_private_key -t vagrant@blted8.localhost 'cd /var/www/blted8/docroot && bash [error] |
I found the generate config file is wrong, in the section Provide the path to the project root to Vagrant.vagrant_synced_folders: Set the local_path for the first synced folder to
|
after updating that line, i can ssh with the drush command like you wanted |
Nice, that . to a ../ fixed my issue and it completed the setup task. Thanks @grasmash for thinking of logging in with drush. Really made the difference. |
Dont forget to update that line |
Hm. I've just run the vagrant up command with it set to |
Yes, I started my entire build from scratch and used all the new changes to the Readme's, which included |
My best guess is that you may have an older version of Vagrant. I've found the default config to work on Vagrant 1.8.1, |
This was resolved by one of your commits, when i ran the command again, On Thu, Jun 9, 2016 at 9:02 AM, Matthew Grasmick notifications@github.com
|
The part that confuses me is that you shouldn't need to change the nfs share value. |
With the latest everything, it should work with Note that the way Drupal VM is installed/added on has changed recently too, and the old way required |
I'm pretty sure he generated his project with the most recent version of BLT, which pins Drupal VM to ~3.1 and Drupal ~8.1. So, the only think that I can think of that would be different is Vagrant or Virtual Box. |
To clarify, when i submit my issues, i do my best to start from scratch. Fresh clone of blt and drupalvm. So if I do get an issue on a build, I do a get pull on blt and see if there are changes. if there is I start completely from scratch to abstract myself for old, outdated code. |
I also just ran into this very same error. Are we to run |
@kevinquillen Try removing the |
If not, open a new issue and share your log output and configuration. |
Running.... that worked. What was the issue there? On Thu, Jul 21, 2016 at 11:37 AM, Matthew Grasmick <notifications@github.com
|
The -r argument tells drush where the docroot is, but that script is using the host machine's filesystem to set the argument value. Within the VM that causes issues. We should remove it from BLT until we find a more dynamic solution. |
For anyone else, drush worked for me by using site aliases: |
When using the most recent version of blt and drupal vm, i get to the point where i am running ./blt.sh local:setup. during this process it errors but doenst give a good error msg so i ran the command manually to see what was happening, the result was "Command site-install needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command." I think this command is being ran form the roject root when it should be ran from the docroot of th drupal site.
The text was updated successfully, but these errors were encountered: