Giter VIP home page Giter VIP logo

Comments (7)

jmichaelward avatar jmichaelward commented on July 28, 2024 1

Update: I searched that error and found this on StackOverflow (https://stackoverflow.com/questions/21069908/vboxmanage-error-failed-to-create-the-host-only-adapter), which resolved the VirtualBox issue. Going through the rest of the installation instructions, the box provisioned and I was able to successfully access the expected URLs.

from joindin-vm.

ericpoe avatar ericpoe commented on July 28, 2024

@jmichaelward I am unable to recreate the problem locally with a fresh fork.

  • OSX 10.14.3
  • VirtualBox 6.0.4 r128413
  • Vagrant 2.2.3
  • Composer 1.8.4

Which Vagrant plugins are you using? vagrant plugin list on my end shows:

  • vagrant-hostsupdater (1.1.1.16, global)
  • vagrant-vbguest (0.17.2, global)

If you are missing any of those plugins, please install via vagrant plugin install vagrant-name-of-plugin and then run vagrant up --provision to reprovision your vagrant box with the new new plugins. Please let me know how that works for you.

from joindin-vm.

jmichaelward avatar jmichaelward commented on July 28, 2024

@ericpoe Thanks for looking into this so quickly. I ran vagrant plugin list, which showed only the hostsupdater plugin installed. After installing the vbguest plugin and re-provisioning the box, but the dev and api sites appear to be working correctly (Legacy is still showing a default Apache success page, but I'm less concerned with that in order to contribute to the project going forward).

As I see it, there are two opportunities for updating the documentation:

  1. Consider updating Step 7 to recommend installing the Hostsupdater plugin. It's not required in order to correctly resolve DNS locally (since the step of manually updating one's hosts file is an option), but adding a statement to optionally run vagrant plugin install vagrant-hostsupdater and then vagrant up --provision during step 7 might alleviate some headaches for future newcomers to the project.
  2. Adding in that audit step about which Vagrant plugins are required. I'm an unusual case, perhaps, because I recently did a clean install of macOS and had deleted my Vagrant/VirtualBox instances before checking in on the progress for this project, and it appears that vbguest plugin is required. We should indicate it as such.

If we can confirm that at least the vbguest plugin is required, adding in number 2 from the list above should help resolve future issues.

from joindin-vm.

ericpoe avatar ericpoe commented on July 28, 2024

@jmichaelward can you pull from upstream master again and let me know how these instructions work for you?

from joindin-vm.

jmichaelward avatar jmichaelward commented on July 28, 2024

@ericpoe 10-4. I'll schedule myself some time to give it a look tomorrow morning and we'll get back to you with feedback. Thanks.

from joindin-vm.

jmichaelward avatar jmichaelward commented on July 28, 2024

Hey @ericpoe, I apologize for the late response on this. I went through the instructions again this morning, first pulling the master updates into my vm, api, and web2 repositories, then going through the step-by-step instructions from scratch.

Upon trying to perform the php ./vendor/bin/homestead make command after running php scripts/cloneRepository.php, I'm greeted with a message that homestead doesn't exist, because the joindin-vm repository never gets composer install run on it. After running composer install, I'm able to run the Homestead command, but when trying to run vagrant up, it fails out with the following message:

There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "create"]

Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp

I wouldn't be certain that this is related to the install process itself, as I've been having intermittent issues with my machine of late, but I can confirm that I'm running the latest of both VirtualBox (6.0.4 r128413) and Vagrant (2.2.4).

In reviewing the remaining steps, I know I will no longer be affected by the hostsupdater installation since it exists from my previous install, but I do think that step should come before the step to run vagrant up. Otherwise, from what I can tell, the rest of the instructions seem clear.

from joindin-vm.

ericpoe avatar ericpoe commented on July 28, 2024

Thank you for testing this out @jmichaelward !

from joindin-vm.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.