Skip to content

Running init_project.sh fails to sync vagrant folders #188

Open
@localhosted

Description

@localhosted

I'm using virtualbox 5.2.2 and vagrant 2.0.1and the setup fails with:


$ bash init_project.sh
[2018-05-30 23:13:52] Checking requirements [/f/E/Projects/magento2/vagrant-magento/scripts/host/check_requirements.sh]
[2018-05-30 23:13:57] Installing missing vagrant plugins [init_project.sh]
[2018-05-30 23:14:01] Generating random IP address, and host name to prevent collisions (if no custom values specified) [init_project.sh]
[2018-05-30 23:14:04] Installing Magento dependencies via Composer [init_project.sh]
[2018-05-30 23:14:08] Executing composer command [/f/E/Projects/magento2/vagrant-magento/scripts/host/composer.sh]
[2018-05-30 23:14:11] >  Checking requirements [/f/E/Projects/magento2/vagrant-magento/scripts/host/check_requirements.sh]
[2018-05-30 23:14:18] >  Installing composer [/f/E/Projects/magento2/vagrant-magento/scripts/host/composer.sh]
[2018-05-30 23:14:28] >  composer --ignore-platform-reqs --no-interaction install [/f/E/Projects/magento2/vagrant-magento/scripts/host/composer.sh]
[2018-05-30 23:14:32] Initializing vagrant box [init_project.sh]
[2018-05-30 23:15:35] Directory '/f/E/Projects/magento2/vagrant-magento/etc' was not mounted as expected by Vagrant.
        Please make sure that 'paliarush/magento2.ubuntu' Vagrant box was downloaded successfully (if not, this may help http://stackoverflow.com/questions/35519389/vagrant-cannot-find-box)
        And that Vagrant is able to mount VirtualBox shared folders on your environment (see https://www.vagrantup.com/docs/synced-folders/basic_usage.html ).
        Also remove any stale declarations from /etc/exports on the host. [/f/E/Projects/magento2/vagrant-magento/scripts/host/check_mounted_directories.sh]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions