A longstanding Trellis project of mine has started failing to resolve in the browser when running Vagrant. While troubleshooting, it seems to be consistently sticking on the WP Install task.
I first noticed it after running the usual trellis up
, which completed without errors. But then my local dev site wouldn’t resolve, resulting in a timeout. I tried in different browsers, thinking maybe it was a simple caching issue, but it persisted. After reviewing the latest releases, I updated Trellis (it was only one version behind) from 1.20.0 to 1.20.1. Then I ran trellis up
again, followed by trellis provision development
. This ran up until
TASK [wordpress-install : Create web root of sites] ****************************
,
at which point it stalled and I eventually killed the process.
Rewinding further, I did a vagrant destroy
followed by trellis up
. Here the process succeeds up until the Install WP task
TASK [wordpress-install : Install Dependencies with Composer] ******************
ok: [default] => (item=modernadventure.com)
TASK [wordpress-install : Install WP] ******************************************
at which point it just hangs indefinitely (I’ve left it for over ten minutes with no movement).
If I ssh into the half-completed vm I see the message System information disabled due to load higher than 1.0
- probably due to the provisioning fail?
I recently updated my host machine to Ventura 13.2.1 but I’m not 100% sure they’re related. My issue is similar to the one reported here: What version of VirtualBox is everyone running
Wondering if anyone has any hints?
Trellis 1.20.1
trellis-cli 1.10.1
Vagrant box Ubuntu 18.04.6
trellis check
Checking Trellis requirements...
Required:
[✓] Python [>= 3.8.0]: 3.9.7
Optional:
[✓] Vagrant [>= 2.1.0]: 2.3.4
[✓] VirtualBox [>= 4.3.10]: 7.0.6r155176