laminas-api-tools / api-tools-skeleton

Skeleton Application for Laminas API Tools
https://api-tools.getlaminas.org/documentation
BSD 3-Clause "New" or "Revised" License
50 stars 64 forks source link

Vagrant machine name conflict #18

Open weierophinney opened 4 years ago

weierophinney commented 4 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.

Originally posted by @TomHAnderson at https://github.com/zfcampus/zf-apigility-skeleton/issues/108

weierophinney commented 4 years ago

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


Originally posted by @TomHAnderson at https://github.com/zfcampus/zf-apigility-skeleton/issues/108#issuecomment-127053137

weierophinney commented 4 years ago

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


Originally posted by @TomHAnderson at https://github.com/zfcampus/zf-apigility-skeleton/issues/108#issuecomment-127752206