Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin doesn't find vagrant boxes of the projects #45

Closed
alexz707 opened this issue Jul 20, 2015 · 8 comments
Closed

Plugin doesn't find vagrant boxes of the projects #45

alexz707 opened this issue Jul 20, 2015 · 8 comments
Assignees

Comments

@alexz707
Copy link

I updated virtualbox to 5.0 as well as vagrant to 1.7.4
Your plugin is at version: 0.6.4
OSX

In every project in netbeans the vagrantfile exists but the plugin doesn't show the boxes in the status field. When I right click on a project node and select vagrant up the following error appears:

/usr/bin/vagrant up
The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:

Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed.
Vagrant uses the VBoxManage binary that ships with VirtualBox, and requires
this to be available on the PATH. If VirtualBox is installed, please find the
VBoxManage binary and add it to the PATH environmental variable.
Done.

When I enter the command via cmd line it works without a problem so it seems to be a plugin problem !?

Regards
Alex

@junichi11 junichi11 self-assigned this Jul 21, 2015
@junichi11
Copy link
Owner

I'll try to check that.

Thanks!

@junichi11
Copy link
Owner

@alexz707
I updated virtualbox and vagrant to 5.0 and 1.7.4.
But I can't reproduce that in my environment.
nb-vagrant-issue45

my environments:

Product Version: NetBeans IDE 8.0.2 (Build 201408251540)
Java: 1.7.0_80; Java HotSpot(TM) Client VM 24.80-b11
Runtime: Java(TM) SE Runtime Environment 1.7.0_80-b15
System: Linux version 3.2.0-87-generic-pae running on i386; UTF-8;

NetBeans vagrant plugin version

0.6.4

@alexz707
Copy link
Author

Thanks for looking into it.
I still can reproduce my problem :/
Right after the update (without a restart of the system) everything worked. After the restart all vagrant machines disappeared in the left window (where your aaaa machine is). Right clicking and selecting vagrant up just gives me the attached error.
On the cmd line in the project folder vagrant up starts the machine as before the update...

My environment:
Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 2
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14
System: Mac OS X version 10.10.4 running on x86_64; UTF-8; de_DE (nb)
Netbeans vagrant plugin: 0.6.4
Vagrant share plugin 1.1.4

bildschirmfoto 2015-07-21 um 11 03 51

@junichi11
Copy link
Owner

If VirtualBox is installed, please find the VBoxManage binary and add it to the PATH environmental variable.

Did you try to do it?

@alexz707
Copy link
Author

Thanks for your reply...

After some research I found out that the symlink /usr/bin/VBoxManage is not installed by vbox anymore.
On OSX just add it again and everythink works again ;)

Maybe you want to add that to a FAQ / WIKI for others:

ln -s /Applications/VirtualBox.app/Contents/MacOS/VBoxManage /usr/bin/VBoxManage

Sorry for opening a bug, it's vboxes fault ;)
Regards
Alex

@junichi11
Copy link
Owner

I'll add this issue number to https://github.com/junichi11/netbeans-vagrant-plugin#troubleshooting :)

Thanks for telling me your workaround!

@junichi11
Copy link
Owner

@jwhulette
Copy link

I'm having the same issue. My VBoxManage binary is located in /usr/local/bin and my vagrant binary is located there also but vagrant cannot find it. Running /usr/local/bin/vagrant up from the command line in Netbeans works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants