Skip to content

Instantly share code, notes, and snippets.

@jasperf
Last active April 7, 2026 03:04
Show Gist options
  • Select an option

  • Save jasperf/d4903471fd5f4e2539cf2179e9de6ed5 to your computer and use it in GitHub Desktop.

Select an option

Save jasperf/d4903471fd5f4e2539cf2179e9de6ed5 to your computer and use it in GitHub Desktop.
Roots Trellis VM / LimaCTL fail to load - Stuck at SSH. Had to delete and start from scratch in the end
which lima
limactl --version
/opt/homebrew/bin/lima
limactl version 2.0.3
jasper@mbp  ~/code/imagewize.com   feature/single-post-wide-centered-templates  brew services list | grep lima
✘ jasper@mbp  ~/code/imagewize.com   feature/single-post-wide-centered-templates  limactl stop --force imagewize.com
INFO[0000] Sending SIGKILL to the vz driver process 2949
INFO[0000] Sending SIGKILL to the host agent process 2949
INFO[0000] Removing *.pid *.sock *.tmp under "/Users/jasperfrumau/.lima/imagewize.com"
INFO[0000] Removing "/Users/user/.lima/imagewize.com/default_ep.sock"
INFO[0000] Removing "/Users/user/.lima/imagewize.com/default_fd.sock"
INFO[0000] Removing "/Users/user/.lima/imagewize.com/ha.pid"
INFO[0000] Removing "/Users/user/.lima/imagewize.com/ha.sock"
INFO[0000] Removing "/Users/user/.lima/imagewize.com/vz.pid"
jasper@mbp  ~/code/imagewize.com   feature/single-post-wide-centered-templates  limactl list
NAME STATUS SSH VMTYPE ARCH CPUS MEMORY DISK DIR
example.com Stopped 127.0.0.1:0 vz aarch64 4 4GiB 100GiB ~/.lima/example.com
imagewize.com Stopped 127.0.0.1:0 vz aarch64 4 4GiB 100GiB ~/.lima/imagewize.com
ubuntu-desktop Stopped 127.0.0.1:0 vz aarch64 4 4GiB 100GiB ~/.lima/ubuntu-desktop
jasper@mbp  ~/code/imagewize.com   feature/single-post-wide-centered-templates  limactl start imagewize.com
INFO[0000] Using the existing instance "imagewize.com"
INFO[0000] Starting the instance "imagewize.com" with internal VM driver "vz"
INFO[0000] [hostagent] hostagent socket created at /Users/user/.lima/imagewize.com/ha.sock
INFO[0000] [hostagent] Starting VZ (hint: to watch the boot progress, see "/Users/user/.lima/imagewize.com/serial*.log")
INFO[0001] [hostagent] [VZ] - vm state change: running
limactl stop --force imagewize.com
INFO[0000] Sending SIGKILL to the vz driver process 6186
INFO[0000] Sending SIGKILL to the host agent process 6186
INFO[0000] Removing *.pid *.sock *.tmp under "/Users/user/.lima/imagewize.com"
INFO[0000] Removing "/Users/user/.lima/imagewize.com/default_ep.sock"
INFO[0000] Removing "/Users/user/.lima/imagewize.com/default_fd.sock"
INFO[0000] Removing "/Users/user/.lima/imagewize.com/ha.pid"
INFO[0000] Removing "/Users/user/.lima/imagewize.com/ha.sock"
INFO[0000] Removing "/Users/user/.lima/imagewize.com/vz.pid"
jasper@mbp  ~/code/imagewize.com   feature/single-post-wide-centered-templates  limactl delete imagewize.com
INFO[0000] The vz driver process seems already stopped
INFO[0000] The host agent process seems already stopped
INFO[0000] Removing *.pid *.sock *.tmp under "/Users/user/.lima/imagewize.com"
INFO[0004] Deleted "imagewize.com" ("/Users/user/.lima/imagewize.com")
jasper@mbp  ~/code/imagewize.com   feature/single-post-wide-centered-templates  trellis vm start
Running command => limactl create --tty=false --name=imagewize.com -
INFO[0000] Terminal is not available, proceeding without opening an editor
INFO[0000] Attempting to download the image arch=aarch64 digest= location="https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-arm64.img"
INFO[0001] Re-downloading digest-less image: last-modified mismatch (cached: "Tue, 05 Aug 2025 13:44:33 GMT", remote: "Mon, 23 Mar 2026 13:39:25 GMT")
Downloading the image (noble-server-cloudimg-arm64.img)
597.05 MiB / 597.05 MiB [-----------------------------------] 100.00% 2.45 MiB/s
INFO[0244] Downloaded the image from "https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-arm64.img"
INFO[0249] Run `limactl start imagewize.com` to start the instance.
Running command => limactl start imagewize.com
INFO[0000] Using the existing instance "imagewize.com"
INFO[0000] Starting the instance "imagewize.com" with internal VM driver "vz"
INFO[0000] [hostagent] hostagent socket created at /Users/jasperfrumau/.lima/imagewize.com/ha.sock
INFO[0000] [hostagent] Starting VZ (hint: to watch the boot progress, see "/Users/jasperfrumau/.lima/imagewize.com/serial*.log")
INFO[0000] [hostagent] [VZ] - vm state change: running
INFO[0010] [hostagent] SSH server does not seem to be running on vsock port, using usernet forwarder
INFO[0011] SSH Local Port: 49705
INFO[0010] [hostagent] Waiting for the essential requirement 1 of 3: "ssh"
INFO[0022] [hostagent] Waiting for the essential requirement 1 of 3: "ssh"
INFO[0022] [hostagent] The essential requirement 1 of 3 is satisfied
INFO[0022] [hostagent] Waiting for the essential requirement 2 of 3: "user session is ready for ssh"
INFO[0022] [hostagent] The essential requirement 2 of 3 is satisfied
INFO[0022] [hostagent] Waiting for the essential requirement 3 of 3: "Explicitly start ssh ControlMaster"
INFO[0022] [hostagent] The essential requirement 3 of 3 is satisfied
INFO[0022] [hostagent] Waiting for the guest agent to be running
INFO[0022] [hostagent] Guest agent is running
INFO[0022] [hostagent] Waiting for the final requirement 1 of 1: "boot scripts must have finished"
INFO[0022] [hostagent] Not forwarding TCP 127.0.0.54:53
INFO[0022] [hostagent] Not forwarding TCP 0.0.0.0:22
INFO[0022] [hostagent] Not forwarding TCP 127.0.0.53:53
INFO[0022] [hostagent] Not forwarding TCP [::]:22
INFO[0022] [hostagent] Forwarding UDP from 0.0.0.0:5353 to 127.0.0.1:5353
INFO[0022] [hostagent] Not forwarding UDP 127.0.0.54:53
INFO[0022] [hostagent] Not forwarding UDP 127.0.0.53:53
INFO[0022] [hostagent] Not forwarding UDP 127.0.0.1:5353
INFO[0022] [hostagent] Not forwarding UDP 192.168.64.56:68
INFO[0022] [hostagent] Not forwarding UDP 192.168.5.15:68
INFO[0022] [hostagent] Forwarding UDP from [::]:5353 to 127.0.0.1:5353
INFO[0022] [hostagent] The final requirement 1 of 1 is satisfied
INFO[0022] READY. Run `limactl shell imagewize.com` to open the shell.
Updating /etc/hosts file (sudo may be required, see `trellis vm sudoers` for more details)
Password:
Provisioning VM...
Starting galaxy role install process
- composer (1.9.2) is already installed, skipping.
- ntp (4.0.0) is already installed, skipping.
- logrotate (v0.0.5) is already installed, skipping.
- swapfile (v2.0.42) is already installed, skipping.
- mailpit (v1.0.0) is already installed, skipping.
Running command => ansible-playbook dev.yml --inventory=/Users/jasperfrumau/code/imagewize.com/trellis/.trellis/lima/inventory -e env=development
PLAY [WordPress Server: Install LEMP Stack with PHP and MariaDB MySQL] *********
TASK [Gathering Facts] *********************************************************
[WARNING]: Platform linux on host default is using the discovered Python
interpreter at /usr/bin/python3.12, but future installation of another Python
interpreter could change the meaning of that path. See
https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
ok: [default]
TASK [common : Validate wordpress_sites] ***************************************
skipping: [default]
TASK [common : Validate format of site_hosts] **********************************
skipping: [default] => (item=imagewize.com)
skipping: [default] => (item=demo.imagewize.com)
skipping: [default] => (item=aseonomics.com)
skipping: [default]
TASK [common : Import PHP version specific vars] *******************************
ok: [default]
TASK [common : Verify dict format for package component variables] *************
skipping: [default]
TASK [common : Verify dict format for package combined variables] **************
skipping: [default]
TASK [common : Clean stale APT sources from /etc/apt/sources.list.d] ***********
skipping: [default]
TASK [common : Remove stale APT source files] **********************************
skipping: [default]
TASK [common : Update apt packages] ********************************************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment