You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2023. It is now read-only.
Existing codebase is a subfolder in a repo which I'd like to NFS share as /var/www/d7project web root
For some reason drush --debug always shows /docroot tacked on to the end of DRUPAL ROOT
I am not sure where the trailing docroot expectation is coming from as in DRUPAL ROOT: /var/www/d7project/docroot/docroot/docroot in the gist above when I sync webroot with host files over nfs like:
vagrant_synced_folders:
# The first synced folder will be used for the default Drupal installation, if
# any of the build_* settings are 'true'. By default the folder is set to
# the drupal-vm folder.
- local_path: ~/projects/d7project/docroot
destination: /var/www/d7project/docroot
type: nfs
create: true
in config.yml.
Note: I don't want docroot/docroot or even docroot. I have a docroot in my host repo whose contents I would like to be document / drupal root as /var/www/d7project in the vagrant. Originally, I had tried just:
which still gives DRUPAL ROOT: /var/www/d7project/docroot (two less docroots) in drush --debug when run from within vagrant. I presume that drush @d7project will work from host mac machine once I have this resolved.
The text was updated successfully, but these errors were encountered:
Hmm.. After a few iterations of vagrant destroy and vagrant up (with some changes to config.yml in between, eventually followed by this drupal vm drush workaround, my docroot issue is no more! :w00t: Next how to get host drush to work with vagrant vm... another time.
Issue Type
Your Environment
Your OS
Full console output
https://gist.github.com/broniusfatv/acbfc3e605d28f1a1f2de0b78785e983
Summary
What config is required to:
/var/www/d7project
web rootdrush --debug
always shows/docroot
tacked on to the end ofDRUPAL ROOT
I am not sure where the trailing
docroot
expectation is coming from as inDRUPAL ROOT: /var/www/d7project/docroot/docroot/docroot
in the gist above when I sync webroot with host files over nfs like:in
config.yml
.Note: I don't want
docroot/docroot
or evendocroot
. I have adocroot
in my host repo whose contents I would like to be document / drupal root as/var/www/d7project
in the vagrant. Originally, I had tried just:which still gives
DRUPAL ROOT: /var/www/d7project/docroot
(two lessdocroot
s) indrush --debug
when run from within vagrant. I presume thatdrush @d7project
will work from host mac machine once I have this resolved.The text was updated successfully, but these errors were encountered: