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

Command 'vagrant up' fails with 'Error: Vagrant failed to initialize at a very early stage' #143

Open
ottok opened this issue Jun 6, 2020 · 4 comments
Labels
bug feature-vagrant Issues related to the Vagrant development environment help wanted

Comments

@ottok
Copy link
Contributor

ottok commented Jun 6, 2020

I've seen at least one Virtualbox 5.2 and Vagrant 2.x user on Mac OS X and one on Windows encounter this error message. I did not learn what the reason was, or how it was fixed.

Filing this in case somebody can reproduce the issue and report here more info.

@ottok
Copy link
Contributor Author

ottok commented Jun 8, 2020

One reported reason was that the wordpress project was checked out in a path that had umlauts (åäö characters) and Vagrant didn't recover from that.

Another reason was that there was some permission issues, that were bypassed by running sudo vagrant up or on Windows in Administrator PowerShell vagrant up. The root cause of permission issues is however still unknown.

@taiminenjani
Copy link

Hello.

I'm having this issue wit OSX 10.15.1. When I run command vagrant up I get the following error
There was an error while executing VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["import", "-n", "/Users/janitaiminen/.vagrant.d/boxes/seravo-VAGRANTSLASH-wordpress/20200130.0.0/virtualbox/box.ovf"]

Stderr: 0%...
Progress state: E_ACCESSDENIED
VBoxManage: error: Appliance read failed
VBoxManage: error: Failed to open OVF file '/Users/janitaiminen/.vagrant.d/boxes/seravo-VAGRANTSLASH-wordpress/20200130.0.0/virtualbox/box.ovf' (VERR_ACCESS_DENIED)
VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), component ApplianceWrap, interface IAppliance
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg *)" at line 307 of file VBoxManageAppliance.cpp`

My Vagrant version is 2.2.9 and VirtualBox version is 5.2.26

It is some sort of permission problem but so far I haven't been able to solve it. Everything works just fine if I run the vagrant commands as sudo

@ottok
Copy link
Contributor Author

ottok commented Jun 8, 2020

One symptom on the Windows machine I studied was that it ended up installing Vagrant files in C:\Windows\Temp and that it did install plugins, but then immediately after complained that the plugins don't work and need to be "repaired" (but repair command didn't work either).

@ottok
Copy link
Contributor Author

ottok commented Jan 27, 2021

Please comment if this is still an issue with latest Seravo/WordPress Vagrant box releases.

@ypcs ypcs added the feature-vagrant Issues related to the Vagrant development environment label Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature-vagrant Issues related to the Vagrant development environment help wanted
Projects
None yet
Development

No branches or pull requests

3 participants