Since the upgrade to Ventura (Intel iMac), I cannot trellis up
any existing projects on this box. Here’s where I am at present:
- Error output upon
trellis up
:
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["hostonlyif", "create"]
Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp
exit status 1
- Complete output upon
trellis up
:
Starting galaxy role install process
- composer (1.9.0) is already installed, skipping.
- ntp (2.3.1) is already installed, skipping.
- logrotate (v0.0.5) is already installed, skipping.
- swapfile (v2.0.36) is already installed, skipping.
- mailpit (v1.0.0) is already installed, skipping.
Running command => vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'bento/ubuntu-22.04' version '202303.13.0' is up to date...
==> default: A newer version of the box 'bento/ubuntu-22.04' for provider 'virtualbox' is
==> default: available! You currently have version '202303.13.0'. The latest is version
==> default: '202404.23.0'. Run `vagrant box update` to update.
==> default: Clearing any previously set network interfaces...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["hostonlyif", "create"]
Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp
exit status 1
- macOS:
13.6.6 (22G630)
- Trellis CLI:
1.11.1
- Vagrant:
2.2.18
- VirtualBox:
6.1.30r148432
Some of the things I’ve tried:
- Several versions of Vagrant (including
2.2.18
,2.2.19
, and2.3.0
) - Several versions of VirtualBox (including
6.1.28
,6.1.30
,6.1.50
, and one of the 7’s)
With later versions, I did see different errors, including errors relating to Vagrant plugins not being available/etc (repair and reinstall attempts failed), and some of the digging I did in those cases seemed to suggest that the available ruby is not sufficient (somewhat similar to the case I outlined in Cannot run any Trellis/Parallels VM's on Sonoma).
For now, I’m really stuck. Any and all pointers are appreciated.