zfcampus / zf-apigility-skeleton

BSD 3-Clause "New" or "Revised" License
444 stars 123 forks source link

Vagrant machine name conflict #108

Open TomHAnderson opened 9 years ago

TomHAnderson commented 9 years ago

Clone this repository. Issue vagrant up. Issue vagrant suspend. Clone this repository to a different directory. Issue vagrant up and receive:

==> default: Forwarding ports...
    default: 80 => 8080 (adapter 1)
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
A customization command failed:

["modifyvm", :id, "--name", "local.puphpet"]

The following error was experienced:

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

Command: ["modifyvm", "2292766a-d49e-4782-8a21-280ed0030927", "--name", "local.puphpet"]

Stderr: VBoxManage: error: Could not rename the directory '/Users/tom_anderson/VirtualBox VMs/oauth2test_default_1438540669217_82328' to '/Users/tom_anderson/VirtualBox VMs/local.puphpet' to save the settings file (VERR_ALREADY_EXISTS)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "SaveSettings()" at line 2788 of file VBoxManageModifyVM.cpp
>

Please fix this customization and try again.
TomHAnderson commented 9 years ago

The old Vagrant configuration would name a box like sso-social-oauth2-user_default_1434836693364_43249

TomHAnderson commented 9 years ago

An related but separate issue: sqlite is not installed by default

weierophinney commented 4 years ago

This repository has been closed and moved to laminas-api-tools/api-tools-skeleton; a new issue has been opened at https://github.com/laminas-api-tools/api-tools-skeleton/issues/18.