Is there a way to reprovision a Trellis/Lima project?

Okay so I made a couple of attempts to run trellis vm start on fresh projects to see what error messages I got. Both times I did get errors, and both times upon restarting the machine the command worked properly. Apologies in advance for the giant wall of error text, I’m not savvy enough on this end of things to know what’s important here.

First attempt:

TASK [php : Install PHP and extensions] ****************************************
changed: [default] => (item=php8.1-bcmath)
changed: [default] => (item=php8.1-cli)
changed: [default] => (item=php8.1-curl)
changed: [default] => (item=php8.1-dev)
changed: [default] => (item=php8.1-fpm)
changed: [default] => (item=php8.1-imagick)
changed: [default] => (item=php8.1-intl)
changed: [default] => (item=php8.1-mbstring)
changed: [default] => (item=php8.1-mysql)
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/matthew.linux']
failed: [default] (item=php8.1-xml) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "php8.1-xml", "value": "present"}, "module_stderr": "Traceback (most recent call last):\n  File \"<stdin>\", line 107, in <module>\n  File \"<stdin>\", line 92, in _ansiballz_main\n  File \"/usr/lib/python3.10/tempfile.py\", line 496, in mkdtemp\n    prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)\n  File \"/usr/lib/python3.10/tempfile.py\", line 265, in _sanitize_params\n    dir = gettempdir()\n  File \"/usr/lib/python3.10/tempfile.py\", line 438, in gettempdir\n    return _os.fsdecode(_gettempdir())\n  File \"/usr/lib/python3.10/tempfile.py\", line 431, in _gettempdir\n    tempdir = _get_default_tempdir()\n  File \"/usr/lib/python3.10/tempfile.py\", line 362, in _get_default_tempdir\n    raise FileNotFoundError(_errno.ENOENT,\nFileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/matthew.linux']\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/matthew.linux']
failed: [default] (item=php8.1-xmlrpc) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "php8.1-xmlrpc", "value": "present"}, "module_stderr": "Traceback (most recent call last):\n  File \"<stdin>\", line 107, in <module>\n  File \"<stdin>\", line 92, in _ansiballz_main\n  File \"/usr/lib/python3.10/tempfile.py\", line 496, in mkdtemp\n    prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)\n  File \"/usr/lib/python3.10/tempfile.py\", line 265, in _sanitize_params\n    dir = gettempdir()\n  File \"/usr/lib/python3.10/tempfile.py\", line 438, in gettempdir\n    return _os.fsdecode(_gettempdir())\n  File \"/usr/lib/python3.10/tempfile.py\", line 431, in _gettempdir\n    tempdir = _get_default_tempdir()\n  File \"/usr/lib/python3.10/tempfile.py\", line 362, in _get_default_tempdir\n    raise FileNotFoundError(_errno.ENOENT,\nFileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/matthew.linux']\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/matthew.linux']
failed: [default] (item=php8.1-zip) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "php8.1-zip", "value": "present"}, "module_stderr": "Traceback (most recent call last):\n  File \"<stdin>\", line 107, in <module>\n  File \"<stdin>\", line 92, in _ansiballz_main\n  File \"/usr/lib/python3.10/tempfile.py\", line 496, in mkdtemp\n    prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)\n  File \"/usr/lib/python3.10/tempfile.py\", line 265, in _sanitize_params\n    dir = gettempdir()\n  File \"/usr/lib/python3.10/tempfile.py\", line 438, in gettempdir\n    return _os.fsdecode(_gettempdir())\n  File \"/usr/lib/python3.10/tempfile.py\", line 431, in _gettempdir\n    tempdir = _get_default_tempdir()\n  File \"/usr/lib/python3.10/tempfile.py\", line 362, in _get_default_tempdir\n    raise FileNotFoundError(_errno.ENOENT,\nFileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/matthew.linux']\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

RUNNING HANDLER [common : restart journald] ************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/matthew.linux']
fatal: [default]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"<stdin>\", line 107, in <module>\n  File \"<stdin>\", line 92, in _ansiballz_main\n  File \"/usr/lib/python3.10/tempfile.py\", line 496, in mkdtemp\n    prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)\n  File \"/usr/lib/python3.10/tempfile.py\", line 265, in _sanitize_params\n    dir = gettempdir()\n  File \"/usr/lib/python3.10/tempfile.py\", line 438, in gettempdir\n    return _os.fsdecode(_gettempdir())\n  File \"/usr/lib/python3.10/tempfile.py\", line 431, in _gettempdir\n    tempdir = _get_default_tempdir()\n  File \"/usr/lib/python3.10/tempfile.py\", line 362, in _get_default_tempdir\n    raise FileNotFoundError(_errno.ENOENT,\nFileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/matthew.linux']\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

Second attempt:

TASK [ntp : Ensure NTP package is installed.] **********************************
fatal: [default]: FAILED! => {"cache_update_time": 1680740955, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"       install 'ntp=1:4.2.8p15+dfsg-1ubuntu2'' failed: touch: cannot touch '/var/lib/update-notifier/dpkg-run-stamp': Read-only file system\nE: Sub-process /usr/bin/dpkg returned an error code (2)\nW: Problem unlinking the file /var/cache/apt/pkgcache.bin - pkgDPkgPM::Go (30: Read-only file system)\n", "rc": 100, "stderr": "touch: cannot touch '/var/lib/update-notifier/dpkg-run-stamp': Read-only file system\nE: Sub-process /usr/bin/dpkg returned an error code (2)\nW: Problem unlinking the file /var/cache/apt/pkgcache.bin - pkgDPkgPM::Go (30: Read-only file system)\n", "stderr_lines": ["touch: cannot touch '/var/lib/update-notifier/dpkg-run-stamp': Read-only file system", "E: Sub-process /usr/bin/dpkg returned an error code (2)", "W: Problem unlinking the file /var/cache/apt/pkgcache.bin - pkgDPkgPM::Go (30: Read-only file system)"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n  libevent-pthreads-2.1-7 libopts25 sntp\nSuggested packages:\n  ntp-doc\nThe following packages will be REMOVED:\n  systemd-timesyncd\nThe following NEW packages will be installed:\n  libevent-pthreads-2.1-7 libopts25 ntp sntp\n0 upgraded, 4 newly installed, 1 to remove and 9 not upgraded.\nNeed to get 852 kB of archives.\nAfter this operation, 2281 kB of additional disk space will be used.\nGet:1 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libevent-pthreads-2.1-7 arm64 2.1.12-stable-1build3 [7588 B]\nGet:2 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 libopts25 arm64 1:5.18.16-4 [55.8 kB]\nGet:3 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 ntp arm64 1:4.2.8p15+dfsg-1ubuntu2 [721 kB]\nGet:4 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 sntp arm64 1:4.2.8p15+dfsg-1ubuntu2 [67.4 kB]\nFetched 852 kB in 1s (837 kB/s)\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 75037 files and directories currently installed.)\r\nRemoving systemd-timesyncd (249.11-0ubuntu3.7) ...\r\ndpkg: unrecoverable fatal error, aborting:\r\n unable to truncate for updated status of 'systemd-timesyncd': Read-only file system\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", "  libevent-pthreads-2.1-7 libopts25 sntp", "Suggested packages:", "  ntp-doc", "The following packages will be REMOVED:", "  systemd-timesyncd", "The following NEW packages will be installed:", "  libevent-pthreads-2.1-7 libopts25 ntp sntp", "0 upgraded, 4 newly installed, 1 to remove and 9 not upgraded.", "Need to get 852 kB of archives.", "After this operation, 2281 kB of additional disk space will be used.", "Get:1 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libevent-pthreads-2.1-7 arm64 2.1.12-stable-1build3 [7588 B]", "Get:2 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 libopts25 arm64 1:5.18.16-4 [55.8 kB]", "Get:3 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 ntp arm64 1:4.2.8p15+dfsg-1ubuntu2 [721 kB]", "Get:4 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 sntp arm64 1:4.2.8p15+dfsg-1ubuntu2 [67.4 kB]", "Fetched 852 kB in 1s (837 kB/s)", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 75037 files and directories currently installed.)", "Removing systemd-timesyncd (249.11-0ubuntu3.7) ...", "dpkg: unrecoverable fatal error, aborting:", " unable to truncate for updated status of 'systemd-timesyncd': Read-only file system"]}

RUNNING HANDLER [common : restart journald] ************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/matthew.linux']
fatal: [default]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"<stdin>\", line 107, in <module>\n  File \"<stdin>\", line 92, in _ansiballz_main\n  File \"/usr/lib/python3.10/tempfile.py\", line 496, in mkdtemp\n    prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)\n  File \"/usr/lib/python3.10/tempfile.py\", line 265, in _sanitize_params\n    dir = gettempdir()\n  File \"/usr/lib/python3.10/tempfile.py\", line 438, in gettempdir\n    return _os.fsdecode(_gettempdir())\n  File \"/usr/lib/python3.10/tempfile.py\", line 431, in _gettempdir\n    tempdir = _get_default_tempdir()\n  File \"/usr/lib/python3.10/tempfile.py\", line 362, in _get_default_tempdir\n    raise FileNotFoundError(_errno.ENOENT,\nFileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/matthew.linux']\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

Hopefully something in there is helpful!