I am adding new information here as come across it / fix things for future users who may run into this. I found the fix that was causing most of the headache.
I just completely reformatted the new m2 macbook to start from scratch, starting with nothing but getting Trellis up and running.
I’ve been running into this error since I bought this machine earlier this week and while running ansible commands, this is what pooped out all the time:
_Development/_Trellis/testing ➜ ansible ERROR: Ansible could not initialize the preferred locale: unsupported locale setting
It was not easy to discover how to get past this but ultimately, the fix was to reset the locale
by running the following command. I have no idea what this does but it updated all the utf enoding and allows ansible commands to be performed.
LC_ALL=en_US.utf-8
Development/_Trellis/testing
➜ locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.utf-8"
LC_CTYPE="en_US.utf-8"
LC_MESSAGES="en_US.utf-8"
LC_MONETARY="en_US.utf-8"
LC_NUMERIC="en_US.utf-8"
LC_TIME="en_US.utf-8"
LC_ALL="en_US.utf-8"
and was finally able to run an ansible command to fetch the version details:
_Development/_Trellis/testing
➜ ansible --version
ansible [core 2.15.0]
config file = None
configured module search path = ['/Users/joshb/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /opt/homebrew/Cellar/ansible/8.0.0/libexec/lib/python3.11/site-packages/ansible
ansible collection location = /Users/joshb/.ansible/collections:/usr/share/ansible/collections
executable location = /opt/homebrew/bin/ansible
python version = 3.11.4 (main, Jun 7 2023, 00:34:59) [Clang 14.0.3 (clang-1403.0.22.14.1)] (/opt/homebrew/Cellar/ansible/8.0.0/libexec/bin/python3.11)
jinja version = 3.1.2
libyaml = True
Then I attempted to trellis up
a new example test and almost punched myself before remembering I need to install the vagrant plugin: vagrant plugin install vagrant-parallels
Finally, I ran trellis up
again and running into a new issue:
==> default: Installing the proper version of Parallels Tools. This may take a few minutes...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
ptiagent-cmd --install
Stdout from the command:
ptiagent-cmd progress 3
ptiagent-cmd progress 15
Started installation of Parallels Guest Tools version '18.3.1.53614'
Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [119 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease [108 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [110 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 Packages [631 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main Translation-en [185 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports jammy-updates/restricted arm64 Packages [188 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports jammy-updates/restricted Translation-en [52.8 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe arm64 Packages [828 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe Translation-en [197 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse arm64 Packages [19.5 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse Translation-en [8452 B]
Get:13 http://ports.ubuntu.com/ubuntu-ports jammy-backports/main arm64 Packages [40.6 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports jammy-backports/universe arm64 Packages [21.8 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports jammy-security/main arm64 Packages [415 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports jammy-security/main Translation-en [124 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted arm64 Packages [187 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted Translation-en [52.6 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe arm64 Packages [642 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe Translation-en [130 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse arm64 Packages [15.9 kB]
Get:22 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse Translation-en [5828 B]
Fetched 4080 kB in 5s (756 kB/s)
Reading package lists...
Return code from apt-get update is 0
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Selecting previously unselected package libxau6:arm64.
(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 ... 45533 files and directories currently installed.)
Preparing to unpack .../00-libxau6_1%3a1.0.9-1build5_arm64.deb ...
Unpacking libxau6:arm64 (1:1.0.9-1build5) ...
Selecting previously unselected package libxdmcp6:arm64.
Preparing to unpack .../01-libxdmcp6_1%3a1.1.3-0ubuntu5_arm64.deb ...
Unpacking libxdmcp6:arm64 (1:1.1.3-0ubuntu5) ...
Selecting previously unselected package libxcb1:arm64.
Preparing to unpack .../02-libxcb1_1.14-3ubuntu3_arm64.deb ...
Unpacking libxcb1:arm64 (1.14-3ubuntu3) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../03-libx11-data_2%3a1.7.5-1ubuntu0.2_all.deb ...
Unpacking libx11-data (2:1.7.5-1ubuntu0.2) ...
Selecting previously unselected package libx11-6:arm64.
Preparing to unpack .../04-libx11-6_2%3a1.7.5-1ubuntu0.2_arm64.deb ...
Unpacking libx11-6:arm64 (2:1.7.5-1ubuntu0.2) ...
Selecting previously unselected package gcc-11-base:arm64.
Preparing to unpack .../05-gcc-11-base_11.3.0-1ubuntu1~22.04.1_arm64.deb ...
Unpacking gcc-11-base:arm64 (11.3.0-1ubuntu1~22.04.1) ...
Selecting previously unselected package libisl23:arm64.
Preparing to unpack .../06-libisl23_0.24-2build1_arm64.deb ...
Unpacking libisl23:arm64 (0.24-2build1) ...
Selecting previously unselected package libmpc3:arm64.
Preparing to unpack .../07-libmpc3_1.2.1-2build1_arm64.deb ...
Unpacking libmpc3:arm64 (1.2.1-2build1) ...
Selecting previously unselected package cpp-11.
Preparing to unpack .../08-cpp-11_11.3.0-1ubuntu1~22.04.1_arm64.deb ...
Unpacking cpp-11 (11.3.0-1ubuntu1~22.04.1) ...
Selecting previously unselected package cpp.
Preparing to unpack .../09-cpp_4%3a11.2.0-1ubuntu1_arm64.deb ...
Unpacking cpp (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../10-fonts-dejavu-core_2.37-2build1_all.deb ...
Unpacking fonts-dejavu-core (2.37-2build1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../11-fontconfig-config_2.13.1-4.2ubuntu5_all.deb ...
Unpacking fontconfig-config (2.13.1-4.2ubuntu5) ...
Selecting previously unselected package libcc1-0:arm64.
Preparing to unpack .../12-libcc1-0_12.1.0-2ubuntu1~22.04_arm64.deb ...
Unpacking libcc1-0:arm64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libgomp1:arm64.
Preparing to unpack .../13-libgomp1_12.1.0-2ubuntu1~22.04_arm64.deb ...
Unpacking libgomp1:arm64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libitm1:arm64.
Preparing to unpack .../14-libitm1_12.1.0-2ubuntu1~22.04_arm64.deb ...
Unpacking libitm1:arm64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libatomic1:arm64.
Preparing to unpack .../15-libatomic1_12.1.0-2ubuntu1~22.04_arm64.deb ...
Unpacking libatomic1:arm64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libasan6:arm64.
Preparing to unpack .../16-libasan6_11.3.0-1ubuntu1~22.04.1_arm64.deb ...
Unpacking libasan6:arm64 (11.3.0-1ubuntu1~22.04.1) ...
Selecting previously unselected package liblsan0:arm64.
Preparing to unpack .../17-liblsan0_12.1.0-2ubuntu1~22.04_arm64.deb ...
Unpacking liblsan0:arm64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libtsan0:arm64.
Preparing to unpack .../18-libtsan0_11.3.0-1ubuntu1~22.04.1_arm64.deb ...
Unpacking libtsan0:arm64 (11.3.0-1ubuntu1~22.04.1) ...
Selecting previously unselected package libubsan1:arm64.
Preparing to unpack .../19-libubsan1_12.1.0-2ubuntu1~22.04_arm64.deb ...
Unpacking libubsan1:arm64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libhwasan0:arm64.
Preparing to unpack .../20-libhwasan0_12.1.0-2ubuntu1~22.04_arm64.deb ...
Unpacking libhwasan0:arm64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libgcc-11-dev:arm64.
Preparing to unpack .../21-libgcc-11-dev_11.3.0-1ubuntu1~22.04.1_arm64.deb ...
Unpacking libgcc-11-dev:arm64 (11.3.0-1ubuntu1~22.04.1) ...
Selecting previously unselected package gcc-11.
Preparing to unpack .../22-gcc-11_11.3.0-1ubuntu1~22.04.1_arm64.deb ...
Unpacking gcc-11 (11.3.0-1ubuntu1~22.04.1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../23-gcc_4%3a11.2.0-1ubuntu1_arm64.deb ...
Unpacking gcc (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../24-libc-dev-bin_2.35-0ubuntu3.1_arm64.deb ...
Unpacking libc-dev-bin (2.35-0ubuntu3.1) ...
Selecting previously unselected package libfontconfig1:arm64.
Preparing to unpack .../25-libfontconfig1_2.13.1-4.2ubuntu5_arm64.deb ...
Unpacking libfontconfig1:arm64 (2.13.1-4.2ubuntu5) ...
Selecting previously unselected package libjpeg-turbo8:arm64.
Preparing to unpack .../26-libjpeg-turbo8_2.1.2-0ubuntu1_arm64.deb ...
Unpacking libjpeg-turbo8:arm64 (2.1.2-0ubuntu1) ...
Selecting previously unselected package libjpeg8:arm64.
Preparing to unpack .../27-libjpeg8_8c-2ubuntu10_arm64.deb ...
Unpacking libjpeg8:arm64 (8c-2ubuntu10) ...
Selecting previously unselected package libdeflate0:arm64.
Preparing to unpack .../28-libdeflate0_1.10-2_arm64.deb ...
Unpacking libdeflate0:arm64 (1.10-2) ...
Selecting previously unselected package libjbig0:arm64.
Preparing to unpack .../29-libjbig0_2.1-3.1ubuntu0.22.04.1_arm64.deb ...
Unpacking libjbig0:arm64 (2.1-3.1ubuntu0.22.04.1) ...
Selecting previously unselected package libwebp7:arm64.
Preparing to unpack .../30-libwebp7_1.2.2-2ubuntu0.22.04.1_arm64.deb ...
Unpacking libwebp7:arm64 (1.2.2-2ubuntu0.22.04.1) ...
Selecting previously unselected package libtiff5:arm64.
Preparing to unpack .../31-libtiff5_4.3.0-6ubuntu0.4_arm64.deb ...
Unpacking libtiff5:arm64 (4.3.0-6ubuntu0.4) ...
Selecting previously unselected package libxpm4:arm64.
Preparing to unpack .../32-libxpm4_1%3a3.5.12-1ubuntu0.22.04.1_arm64.deb ...
Unpacking libxpm4:arm64 (1:3.5.12-1ubuntu0.22.04.1) ...
Selecting previously unselected package libgd3:arm64.
Preparing to unpack .../33-libgd3_2.3.0-2ubuntu2_arm64.deb ...
Unpacking libgd3:arm64 (2.3.0-2ubuntu2) ...
Selecting previously unselected package libc-devtools.
Preparing to unpack .../34-libc-devtools_2.35-0ubuntu3.1_arm64.deb ...
Unpacking libc-devtools (2.35-0ubuntu3.1) ...
Selecting previously unselected package linux-libc-dev:arm64.
Preparing to unpack .../35-linux-libc-dev_5.15.0-73.80_arm64.deb ...
Unpacking linux-libc-dev:arm64 (5.15.0-73.80) ...
Selecting previously unselected package libcrypt-dev:arm64.
Preparing to unpack .../36-libcrypt-dev_1%3a4.4.27-1_arm64.deb ...
Unpacking libcrypt-dev:arm64 (1:4.4.27-1) ...
Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../37-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ...
Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ...
Selecting previously unselected package libtirpc-dev:arm64.
Preparing to unpack .../38-libtirpc-dev_1.3.2-2ubuntu0.1_arm64.deb ...
Unpacking libtirpc-dev:arm64 (1.3.2-2ubuntu0.1) ...
Selecting previously unselected package libnsl-dev:arm64.
Preparing to unpack .../39-libnsl-dev_1.3.0-2build2_arm64.deb ...
Unpacking libnsl-dev:arm64 (1.3.0-2build2) ...
Selecting previously unselected package libc6-dev:arm64.
Preparing to unpack .../40-libc6-dev_2.35-0ubuntu3.1_arm64.deb ...
Unpacking libc6-dev:arm64 (2.35-0ubuntu3.1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../41-manpages-dev_5.10-1ubuntu1_all.deb ...
Unpacking manpages-dev (5.10-1ubuntu1) ...
Setting up gcc-11-base:arm64 (11.3.0-1ubuntu1~22.04.1) ...
Setting up manpages-dev (5.10-1ubuntu1) ...
Setting up libxau6:arm64 (1:1.0.9-1build5) ...
Setting up libxdmcp6:arm64 (1:1.1.3-0ubuntu5) ...
Setting up libxcb1:arm64 (1.14-3ubuntu3) ...
Setting up libdeflate0:arm64 (1.10-2) ...
Setting up linux-libc-dev:arm64 (5.15.0-73.80) ...
Setting up libgomp1:arm64 (12.1.0-2ubuntu1~22.04) ...
Setting up libjbig0:arm64 (2.1-3.1ubuntu0.22.04.1) ...
Setting up libasan6:arm64 (11.3.0-1ubuntu1~22.04.1) ...
Setting up libtirpc-dev:arm64 (1.3.2-2ubuntu0.1) ...
Setting up rpcsvc-proto (1.4.2-0ubuntu6) ...
Setting up libx11-data (2:1.7.5-1ubuntu0.2) ...
Setting up libmpc3:arm64 (1.2.1-2build1) ...
Setting up libatomic1:arm64 (12.1.0-2ubuntu1~22.04) ...
Setting up fonts-dejavu-core (2.37-2build1) ...
Setting up libjpeg-turbo8:arm64 (2.1.2-0ubuntu1) ...
Setting up libwebp7:arm64 (1.2.2-2ubuntu0.22.04.1) ...
Setting up libubsan1:arm64 (12.1.0-2ubuntu1~22.04) ...
Setting up libnsl-dev:arm64 (1.3.0-2build2) ...
Setting up libhwasan0:arm64 (12.1.0-2ubuntu1~22.04) ...
Setting up libcrypt-dev:arm64 (1:4.4.27-1) ...
Setting up libx11-6:arm64 (2:1.7.5-1ubuntu0.2) ...
Setting up libisl23:arm64 (0.24-2build1) ...
Setting up libc-dev-bin (2.35-0ubuntu3.1) ...
Setting up libcc1-0:arm64 (12.1.0-2ubuntu1~22.04) ...
Setting up liblsan0:arm64 (12.1.0-2ubuntu1~22.04) ...
Setting up libitm1:arm64 (12.1.0-2ubuntu1~22.04) ...
Setting up libtsan0:arm64 (11.3.0-1ubuntu1~22.04.1) ...
Setting up libjpeg8:arm64 (8c-2ubuntu10) ...
Setting up cpp-11 (11.3.0-1ubuntu1~22.04.1) ...
Setting up libxpm4:arm64 (1:3.5.12-1ubuntu0.22.04.1) ...
Setting up fontconfig-config (2.13.1-4.2ubuntu5) ...
Setting up libgcc-11-dev:arm64 (11.3.0-1ubuntu1~22.04.1) ...
Setting up gcc-11 (11.3.0-1ubuntu1~22.04.1) ...
Setting up cpp (4:11.2.0-1ubuntu1) ...
Setting up libc6-dev:arm64 (2.35-0ubuntu3.1) ...
Setting up libtiff5:arm64 (4.3.0-6ubuntu0.4) ...
Setting up libfontconfig1:arm64 (2.13.1-4.2ubuntu5) ...
Setting up gcc (4:11.2.0-1ubuntu1) ...
Setting up libgd3:arm64 (2.3.0-2ubuntu2) ...
Setting up libc-devtools (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
E: Package 'linux-headers-5.15.0-71-generic' has no installation candidate
m linux-headers-5.15.0-71-generic
o dkms
o libelf-dev
Error: failed to install mandatory packages.
Error: failed to install or upgrade Parallels Guest Tools!
Stderr from the command:
exit status 1
I decided to destroy the box and start over again by downgrading Ubuntu to 20.04 from 22.04 but was unable to destroy. It gives me this attempting to do so:
➜ vagrant destroy 5ec9cfd
/Users/joshb/.vagrant.d/gems/3.1.4/gems/vagrant-parallels-2.4.0/lib/vagrant-parallels/util/common.rb:9:in `is_macvm': undefined method `directory' for nil:NilClass (NoMethodError)
return !!Dir.glob(machine.box.directory.join('*.macvm')).first
^^^^^^^^^^
from /Users/joshb/.vagrant.d/gems/3.1.4/gems/vagrant-parallels-2.4.0/lib/vagrant-parallels/synced_folder.rb:10:in `usable?'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/action/builtin/mixin_synced_folders.rb:41:in `block in default_synced_folder_type'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/action/builtin/mixin_synced_folders.rb:40:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/action/builtin/mixin_synced_folders.rb:40:in `default_synced_folder_type'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/action/builtin/mixin_synced_folders.rb:170:in `synced_folders'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/machine.rb:633:in `synced_folders'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/plugins/kernel_v2/config/vm.rb:745:in `validate'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/config/v2/root.rb:72:in `block in validate'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/config/v2/root.rb:67:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/config/v2/root.rb:67:in `validate'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/action/builtin/config_validate.rb:15:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/action/warden.rb:48:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/action/builder.rb:180:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/action/runner.rb:101:in `block in run'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/action/runner.rb:101:in `run'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/machine.rb:248:in `action_raw'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/machine.rb:217:in `block in action'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/environment.rb:631:in `lock'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/machine.rb:203:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/machine.rb:203:in `action'
from /opt/vagrant/embedded/gems/gems/vagrant-2.3.6/lib/vagrant/batch_action.rb:86:in `block (2 levels) in run'
Instead, I stopped the machine thru Parallels and removed it, then pruned the vagrant list and it was gone.
Next, I cloned down a new trellis project to try again but was met with this straight away, back to the locale bs:
_Development/_Trellis/testing
➜ trellis new testing2.com
Creating new Trellis project in /Users/joshb/_Development/_Trellis/testing/testing2.com
Site domain [testing2.com]:
✔ testing2.com
Initializing project...
[✓] Created virtualenv (/Users/joshb/_Development/_Trellis/testing/testing2.com/trellis/.trellis/virtualenv)
[✓] Ensure pip is up to date
[✓] Dependencies installed
Error while installing Ansible Galaxy roles:
ERROR: Ansible could not initialize the preferred locale: unsupported locale setting
This may be a temporary network issue. Please try again.
_Development/_Trellis/testing took 24.0s
➜
Checking locale, its back to this:
➜ locale
LANG="en_US.UTF-8"
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL="C"
I removed the testing2.com project, reset the locale again and cloned a new trellis project down known as testing3.com and I starting to get somewhere:
_Development/_Trellis/testing
➜ trellis new testing3.com
Creating new Trellis project in /Users/joshb/_Development/_Trellis/testing/testing3.com
Site domain [testing3.com]:
✔ testing3.com
Initializing project...
[✓] Created virtualenv (/Users/joshb/_Development/_Trellis/testing/testing3.com/trellis/.trellis/virtualenv)
[✓] Ensure pip is up to date
[✓] Dependencies installed
Starting galaxy role install process
- downloading role 'composer', owned by geerlingguy
- downloading role from https://github.com/geerlingguy/ansible-role-composer/archive/1.9.0.tar.gz
- extracting composer to /Users/joshb/_Development/_Trellis/testing/testing3.com/trellis/vendor/roles/composer
- composer (1.9.0) was installed successfully
- downloading role 'ntp', owned by geerlingguy
- downloading role from https://github.com/geerlingguy/ansible-role-ntp/archive/2.3.1.tar.gz
- extracting ntp to /Users/joshb/_Development/_Trellis/testing/testing3.com/trellis/vendor/roles/ntp
- ntp (2.3.1) was installed successfully
- downloading role 'logrotate', owned by nickhammond
- downloading role from https://github.com/nickhammond/ansible-logrotate/archive/v0.0.5.tar.gz
- extracting logrotate to /Users/joshb/_Development/_Trellis/testing/testing3.com/trellis/vendor/roles/logrotate
- logrotate (v0.0.5) was installed successfully
- downloading role 'swapfile', owned by oefenweb
- downloading role from https://github.com/Oefenweb/ansible-swapfile/archive/v2.0.36.tar.gz
- extracting swapfile to /Users/joshb/_Development/_Trellis/testing/testing3.com/trellis/vendor/roles/swapfile
- swapfile (v2.0.36) was installed successfully
- downloading role 'mailpit', owned by roots
- downloading role from https://github.com/roots/ansible-role-mailpit/archive/v1.0.0.tar.gz
- extracting mailpit to /Users/joshb/_Development/_Trellis/testing/testing3.com/trellis/vendor/roles/mailpit
- mailpit (v1.0.0) was installed successfully
testing3.com project created with versions:
Trellis v1.21.0
Bedrock v1.22.2
_Development/_Trellis/testing took 29.0s
➜
Alright, now onto trellis up
.
Whoops! Forgot to change the Ubuntu version on testing3.com before starting it up and was met with the error from above. Destroyed the box successfully this time from command prompt and ran again…
Now I am finally up and running with Parallels.
So I checked locale
again and it has been reset:
_Trellis/testing/testing3.com
➜ locale
LANG="en_US.UTF-8"
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL="C"
_Trellis/testing/testing3.com
➜
Now I ran another install of Trellis, worked fine and checked locale
again and its back to where it should be:
_Trellis/testing/testing4.com
➜ locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.utf-8"
LC_CTYPE="en_US.utf-8"
LC_MESSAGES="en_US.utf-8"
LC_MONETARY="en_US.utf-8"
LC_NUMERIC="en_US.utf-8"
LC_TIME="en_US.utf-8"
LC_ALL="en_US.utf-8"
_Trellis/testing/testing4.com
➜
Not sure what the deal is with the locale stuff but that seems to have been the entire problem. That AND reverting back to Ubunutu. 20.04 vs 22.04