Skip to content

Bug: Craft Instructions on VVV produces directory issues #2703

@ubuntupunk

Description

@ubuntupunk

Are you using the latest stable or develop branch version of VVV?

Yes (develop)

Is it a new VVV, or an existing VVV that used to work?

New fresh install

Did you use a CustomFile?

No (default)

Whats the problem?

The nginx conf created by the craft provisioner produces:

server_name  craft.test;
    root         "/srv/www/craft/public_html/";

But this is needed to work:

server_name  craft.test;
    root         "/srv/www/craft/public_html/web";

Also the provisioner will attempt to reinstall via composer inside the craft directory if vagrant reload --provision is actioned. The result will be an error, and and absent nginx config.

How do we reproduce it?

install craft according to instruction here

What is the output of vagrant status

__ __ __ __
\ V\ V\ V / v3.12 Ruby:2.7.0, Path:"/media/afrodeity/Neptune/vagrant/vvv-local"
 \_/\_/\_/  git::stable(aee9a695)

Platform: linux-gnu shell:/bin/bash systemd  vagrant-hostsupdater vagrant-goodhosts CaseSensitiveFS shared_db_folder_disabled
Vagrant: v2.2.6, virtualbox: v6.1.50

Docs:       https://varyingvagrantvagrants.org/
Contribute: https://github.com/varying-vagrant-vagrants/vvv
Dashboard:  http://vvv.test

Which Operating System are you using?

Linux

Which provider are you using?

VirtualBox 7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions