hello

error message says there is already some files on that path:

VBoxManage: error: Appliance write failed
VBoxManage: error: RTVfsFsStrmAdd failed for 'box.ovf' (VERR_ALREADY_EXISTS)

Can you try to delete "/Users/anshulmittal/.vagrant.d/tmp/*" and try again?
?

Alvaro

On Mon, Mar 25, 2019 at 2:42 AM Anshul Mittal <[email protected]> wrote:

> I am trying to export a Windows7 virtualbox image to a .box format, but
> getting errors while exporting it. please advise. The logs are mentioned
> below:
>
> cat metadata.json
> {"provider":"virtualbox"}
>
> l$ vagrant package --base="abc" --output="abc1.box" --include metadata.json
> ==> vagrant: A new version of Vagrant is available: 2.2.4!
> ==> vagrant: To upgrade visit: https://www.vagrantup.com/downloads.html
>
> ==> abc: Exporting VM...
> There was an error while executing `VBoxManage`, a CLI used by Vagrant
> for controlling VirtualBox. The command and stderr is shown below.
>
> Command: ["export", "abc", "--output",
> "/Users/anshulmittal/.vagrant.d/tmp/vagrant-package-20190323-41800-161eeyz/box.ovf"]
>
> Stderr: 0%...
> Progress state: VBOX_E_IPRT_ERROR
> VBoxManage: error: Appliance write failed
> VBoxManage: error: RTVfsFsStrmAdd failed for 'box.ovf'
> (VERR_ALREADY_EXISTS)
> VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component
> ApplianceWrap, interface IAppliance
> VBoxManage: error: Context: "RTEXITCODE handleExportAppliance(HandlerArg
> *)" at line 1263 of file VBoxManageAppliance.cpp
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/0a61bab3-3653-40c1-878d-b71ab7a6bbc6%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/0a61bab3-3653-40c1-878d-b71ab7a6bbc6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Alvaro

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0exKYimJpHA%3DnRRXVnWN69ZTB6jcNtKx2Pg%2B9U83O2m9mw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to