Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Unable to find '../../scripts' in expected paths #1014

Closed
kiwimind opened this issue Nov 25, 2016 · 7 comments
Closed

Unable to find '../../scripts' in expected paths #1014

kiwimind opened this issue Nov 25, 2016 · 7 comments
Labels

Comments

@kiwimind
Copy link

Issue Type

  • Documentation Report

Your Environment

Vagrant 1.8.6
VirtualBox 5.1.6r110634
ansible 2.2.0.0
  config file =
  configured module search path = Default w/o overrides

Your OS

  • macOS El Capitan 10.11.6

Full console output

TASK [Run configured post-provision ansible task files.] ***********************
 [WARNING]: Unable to find '../../scripts' in expected paths.

Summary

The documentation at https://github.com/geerlingguy/drupal-vm/blob/2997dc9a3db2108f14ac1e3bb0b6d1540a5beef3/docs/extras/scripts.md shows the path for post provision tasks as ../../scripts/post-provision.yml, but this fails with the above error.

When I update the path to be ../scripts/post-provision.yml it appears to read the correct file (although this is currently failing on me since updating drupalvm, but that's another issue.

@geerlingguy
Copy link
Owner

@kiwimind - Are you using Drupal VM standalone, or as part of some other tool (e.g. BLT)? If used standalone, I believe the pathing would be correct, if the vagrant commands are run inside Drupal VM's folder. But if with a tool, the path might be different.

I haven't confirmed this to be the case, but I do vaguely remember having to change that path when used with BLT at least.

@kiwimind
Copy link
Author

@geerlingguy Thanks for your prompt response.

No, not using any other tools with this.

Have updated to the latest Drupal VM alongside my custom config file, trying to add in both a post provisioning task and script.

It's working with the amended path to the post-provision.yml file.

Can investigate further if it helps when back in the office on Monday.

Thanks again.

@geerlingguy
Copy link
Owner

@kiwimind - Sounds good, I'll try to test sometime too, when I get a chance!

@geerlingguy
Copy link
Owner

Confirmed—this was incorrect, so I updated the docs. Thanks, @kiwimind, for the error report!

@geerlingguy geerlingguy added bug and removed question labels Nov 30, 2016
@oxyc
Copy link
Collaborator

oxyc commented Nov 30, 2016

@geerlingguy
Copy link
Owner

@oxyc ++ — I knew it was working when we merged it originally :P

@kiwimind
Copy link
Author

kiwimind commented Dec 1, 2016

@geerlingguy no worries, thanks for the swift response.

kekkis pushed a commit to kekkis/drupal-vm that referenced this issue Feb 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants