trellis icon indicating copy to clipboard operation
trellis copied to clipboard

Feature Request: Add support for ubuntu 22.04 LTS

Open hemangajmera opened this issue 2 years ago • 3 comments

Terms

Summary

Upgrading to ubuntu 22.04.

Motivation

Why are we doing this?

Moving to higher version

What use cases does it support?

Better long term support

What is the expected outcome?

default version can be ubuntu 22.04

Potential conflicts / foreseeable issues

Not sure

Additional Context

No response

hemangajmera avatar Jun 18 '22 13:06 hemangajmera

Do you want to try it out as a start and see if anything doesn't work? That's always the first step in this process.

It might be as simple as updating the vagrant box: https://github.com/roots/trellis/blob/6338bd21425906a62f90480b1b0bd8b80655bc56/vagrant.default.yml#L5

swalkinshaw avatar Jun 18 '22 18:06 swalkinshaw

@swalkinshaw most likely, the Python 3.10 that comes with Ubuntu 22.04 will break anything ansible-related.

sangemaru avatar Jun 22 '22 08:06 sangemaru

I attempted to try this out on Apple Silicon with Parallels using a few different boxes: https://app.vagrantup.com/boxes/search?utf8=%E2%9C%93&sort=downloads&provider=parallels&q=ubuntu+22+arm

I ran into the SSH issues described starting here: https://github.com/chef/bento/issues/1405#issuecomment-1148977615

Even with the latest Vagrant 2.3.0 I couldn't get passed it so this remains the main hurdle to getting 22.04 support.

swalkinshaw avatar Aug 10 '22 19:08 swalkinshaw

Any updates on it? Have pushing from DevOps to jump into 22.04. I know there are work arounds, but I would prefer native support.

lukasz-gorski avatar Nov 23 '22 21:11 lukasz-gorski

No, no updates. As I said earlier, it would be helpful for people to try upgrading their vagrant box version and see what works and what doesn't.

swalkinshaw avatar Nov 23 '22 21:11 swalkinshaw

I am trying this now with a fresh DigitalOcean droplet. Note that I am using a remote DB, and not installing MariaDB on the machine.

https://github.com/roots/trellis/pull/1453 has been merged, and fixes an issue. I also had to change to upgrade to MariaDB 10.6, which was done by simply changing the version number in the URL.

clintonb avatar Dec 17 '22 21:12 clintonb

MariaDB version is bumped to 10.6 as of https://github.com/roots/trellis/pull/1460

swalkinshaw avatar Dec 17 '22 21:12 swalkinshaw

Closing since 22.04 should be fully supported now. https://github.com/roots/trellis/pull/1461 will be merged at some point to switch over the default dev boxes.

swalkinshaw avatar Jan 07 '23 04:01 swalkinshaw