Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Support Ubuntu 16.04 LTS Xenial #573

Closed
geerlingguy opened this issue Apr 22, 2016 · 14 comments
Closed

Support Ubuntu 16.04 LTS Xenial #573

geerlingguy opened this issue Apr 22, 2016 · 14 comments

Comments

@geerlingguy
Copy link
Owner

I've built a minimal base box: https://atlas.hashicorp.com/geerlingguy/boxes/ubuntu1604/

And most roles should Just Work, especially since all of them are also compatible with CentOS 7, which uses systemd (the largest change between Ubuntu < 15.10 and now). But I may need to fix a few roles so they're compatible with Xenial. And add xenial to the list of supported Ubuntu versions as needed.

@geerlingguy
Copy link
Owner Author

First failure, from geerlingguy.mysql:

TASK [geerlingguy.mysql : Ensure MySQL is started and enabled on boot.] ********
fatal: [drupalvm]: FAILED! => {"changed": false, "failed": true, "msg": "Job for mysql.service failed because the control process exited with error code. See \"systemctl status mysql.service\" and \"journalctl -xe\" for details.\n"}

@oxyc
Copy link
Collaborator

oxyc commented Apr 22, 2016

Will you drop support for 12.04 or are you waiting for end of life next year?

@geerlingguy
Copy link
Owner Author

Currently waiting for EOL. Unfortunately, there are some hosting companies (cough—Acquia—cough) who are still just finished transitioning from 10.04 to 12.04. So even 14.04 would be considered bleeding edge :)

@geerlingguy
Copy link
Owner Author

MySQL bug should be squashed after geerlingguy/ansible-role-mysql#108 passes tests.

Next up, Varnish:

The repository 'http://repo.varnish-cache.org/ubuntu xenial Release' does not have a Release file.

Might just have to mark Varnish as being unsupported until the upstream repo adds a release channel for Xenial. Will skip it and see what else fails.

@geerlingguy
Copy link
Owner Author

For Varnish: varnishcache/pkg-varnish-cache#23

@geerlingguy
Copy link
Owner Author

Upstream MySQL issue was fixed and changes are in 2.1.0 version of that role.

@geerlingguy
Copy link
Owner Author

geerlingguy commented Apr 22, 2016

Without vagrant, everything completes successfully with the default example.config.yml settings. Of course, PHP is 7.x no matter what—I don't think I want to try supporting older versions on 16.04.

Trying all the other extras now, then will try Nginx as well.

@geerlingguy
Copy link
Owner Author

Also, memcached won't currently work (at least the PHP extension) since php5-memcached doesn't work with 7, and php7-memcached doesn't yet exist.

@geerlingguy
Copy link
Owner Author

Node.js was failing on the forever installation, so I think I'm just going to ditch that default in the Node.js role entirely. See: geerlingguy/ansible-role-nodejs#26

@geerlingguy
Copy link
Owner Author

If installing Redis, you need to also override the PHP Redis package name, setting it to: php_redis_package: php-redis.

@geerlingguy
Copy link
Owner Author

Selenium install fails with:

selenium.service is not a native service, redirecting to systemd-sysv-install
Executing /lib/systemd/systemd-sysv-install enable selenium
insserv: warning: script 'selenium' missing LSB tags and overrides
update-rc.d: error: selenium Default-Start contains no runlevels, aborting.

@geerlingguy
Copy link
Owner Author

It looks like everything else works! Working on docs now.

@geerlingguy
Copy link
Owner Author

@oxyc see, in particular: #376

@geerlingguy
Copy link
Owner Author

XHProf is also not working, at least with the way that role is currently configured, due to PHP 7 being the default.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants