Varying-Vagrant-Vagrants / VVV

An open source Vagrant configuration for developing with WordPress
https://varyingvagrantvagrants.org
MIT License
4.55k stars 849 forks source link

Upgrade to Ubuntu 22 LTS Jammy #2657

Open tomjn opened 1 year ago

tomjn commented 1 year ago

A quick PR to add apt sources and switch boxes, untested

Checks

update-docs[bot] commented 1 year ago

Thanks for opening this pull request! Make sure CHANGELOG.md gets updated with this change, additionally any docs that need updated can be found at https://github.com/Varying-Vagrant-Vagrants/varyingvagrantvagrants.org

GitHub
GitHub - Varying-Vagrant-Vagrants/varyingvagrantvagrants.org: The VVV docs and website
The VVV docs and website. Contribute to Varying-Vagrant-Vagrants/varyingvagrantvagrants.org development by creating an account on GitHub.
tomjn commented 1 year ago

@msaggiorato do you have a moment to look into the docker script? Something about the ubuntu 22 container image is preventing it copying files from /srv/provision very early in the process and I'm not sure what's causing it

tomjn commented 1 year ago

We need to swap the MariaDB apt mirror for a new one for Jammy:

This is the new rackspace mirror copied from mariaDB, I've bumped the version to 10.11 too

sudo apt-get install apt-transport-https curl
sudo curl -o /etc/apt/trusted.gpg.d/mariadb_release_signing_key.asc 'https://mariadb.org/mariadb_release_signing_key.asc'
sudo sh -c "echo 'deb https://mirror.rackspace.com/mariadb/repo/10.11/ubuntu jammy main' >>/etc/apt/sources.list"
tomjn commented 4 months ago

This is failing due to:

cp: cannot stat '/srv/provision/core/env/homedir/.bash_profile': Permission denied