Error installing b2b suite using Vagrant

Hello everybody,

We are trying to install b2b suite on a Windows machine using Vagrant and Virtual box.

After running vagrant up we get this error at some point:

“Failed to mount folders in Linux guest. This is usually because
the “vboxsf” file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:”

This was fixed by ‘vagrant plugin install vagrant-vbguest’

When running ‘vagrant up --provision’ we get now:

playbook does not exist on the guest: /vagrant/dev-ops/ubuntu/ansible/playbook.yml’

Does anyone have an ideea how we can solve this?

Running ‘vagrant up’ we get: 

‘vagrant up
Bringing machine ‘default’ up with ‘virtualbox’ provider…
==> default: Checking if box ‘ubuntu/xenial64’ version ‘20191105.0.0’ is up to date…
==> default: Machine already provisioned. Run vagrant provision or use the --provision
==> default: flag to force provisioning. Provisioners marked to run always will still run.’

This means everything is ok?

 

Best regards,

Sorin

Hello there,

I am pretty certain that we as developers cannot fix this. The ansible directory including the playbook is simply not part of the B2B repository as of now.

The following approach might help you:
Use the standard shopware 6 vagrant box and clone the B2B repository into where the regular shopware installation would be. Then you can bootstrap the B2B suite using the command: ./psh.phar platform:init

I would recommend using this for trial purposes only, since there might be a B2B plugin (as it was for SW5), which should be easier to install.