MariaDB task error when attempting to start Lima VM with Trellis CLI

Hi,

I’ve set up a new Trellis project and I’m trying to get up and running using Lima as the VM but my initial provision is failing at TASK [mariadb : Add MariaDB PPA]. The complete error message is:

fatal: [default]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: E:Failed to fetch https://mirror.rackspace.com/mariadb/repo/10.6/ubuntu/dists/noble/InRelease  403  Forbidden [IP: 94.236.26.35 443], E:The repository 'https://mirror.rackspace.com/mariadb/repo/10.6/ubuntu noble InRelease' is not signed."}

I’ve tried updating the mariadb version to 10.11 as suggested here but that results in a similar error.

Here’s the contents of the Lima yaml file that is created:

vmType: "vz"
rosetta:
  enabled: false
images:
- location: https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
  arch: x86_64
- location: https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-arm64.img
  arch: aarch64

mounts:
- location: /path/to/site
  mountPoint: /srv/www/[SITE_NAME]/current
  writable: true

mountType: "virtiofs"
ssh:
  forwardAgent: true
networks:
- vzNAT: true
containerd:
  user: false
provision:
- mode: system
  script: |
    #!/bin/bash
    echo "127.0.0.1 $(hostname)" >> /etc/hosts

Anyone any ideas please?

Trellis-CLI 1.12.0
OSX 13.3

I had this issue yesterday. If you go to the url, you’ll see the versions that are available.

I used 11.0.6 to provision a server yesterday.

Versions 10.5 through 10.11.x weren’t available yesterday but they are back today.

2 Likes

Thanks for the reply Julian - I’ve just tried provisioning again and everything has now gone as expected!

1 Like