trellis up results in the following error on all projects running on an M1 (Sonoma) that has run all these same projects successfully until several days ago:
The provider 'parallels' could not be found, but was requested to
back the machine 'default'. Please use a provider that exists.
Vagrant knows about the following providers: docker, hyperv, virtualbox
exit status 1
The full output following trellis up is:
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
The provider 'parallels' could not be found, but was requested to
back the machine 'default'. Please use a provider that exists.
Vagrant knows about the following providers: docker, hyperv, virtualbox
exit status 1
History:
- Recently upgraded to
14.4.1(I don’t remember the previous version, but it wasn’t more than an update or two ago, or so) - While all VMs were running correctly, the Vagrant version was
2.2.18 - I started running into issues, so I tried various later versions of Vagrant
- The first of these issues occurred when I was trying to create a new Trellis environment and
trellis provision developmentfailed whencomposer.jsoncould not be found - Most of the other issues turned out to be (or appeared to be) ruby-related (requiring
2.7instead of the bundled2.6for one or more Vagrant plugins) - I have since tried Vagrant
2.2.10,2.2.19, and several newer ones (they don’t all yield the same error, but none worked)
Additional Information:
- My current Vagrant is
2.2.30with the above error (no complaints about ruby versions yet) - Parallels version is
19.3.0 (54924) - System ruby is still the original
2.6.something, but I also have achrubydriven version (3.3.1) which is the new default
Any and all hints for a fix would be greatly appreciated, of course, but I’d also love to understand how this started… Could it be that a Vagrant dependency/plugin previously worked on system Ruby but that the minimum required version increased even without making any changes on my side?
Also, is it possible that the ruby mess I’m describing messed up Parallels somehow?