-
-
Notifications
You must be signed in to change notification settings - Fork 641
Add box and support for Debian 9 'Stretch' #1451
Comments
Added a Debian 9 (Stretch) Ansible Docker image; the only changes required are documented in this commit: geerlingguy/docker-debian9-ansible@1a73a34 (needed to install |
I also had to install |
First and only issue found so far is with my Varnish role:
Full error below:
Looks like it might be related to varnishcache/pkg-varnish-cache#54, and also because I might not be using the new/official apt repo that has all the latest updates... |
See related upstream issue: geerlingguy/ansible-role-varnish#58 |
Postponing this for now. I opened a PR (#1453)—but I'll leave it at that until the Varnish role is happy and working on Stretch. |
Vagrant box Packer config: https://github.com/geerlingguy/packer-debian-9 |
Box is up, and I'm testing it with the defaults except for Varnish. |
I'm trying to use NFS shared folders, but it seems the It gets stuck here:
I went through the debug process using the command
Googling that now. Edit: Also got:
|
See more debugging here: hashicorp/vagrant#7138 — as it turns out it was because I was adding a loopback alias on the same IP address I was using for Drupal VM. I think it might be beneficial to update the Docker docs at some point and choose a different default IP, just to prevent this same thing from happening to others who just want to play with Docker and Drupal VM and all the defaults... |
So, just ran a complete build with all the defaults except for removing So the minimal changes I had to make will go into the next release, and then I'll just hold off from merging the automated testing until the Varnish repos work on Debian 9. |
Well, now Varnish install works (see build https://travis-ci.org/geerlingguy/drupal-vm/jobs/247773638 and upstream issue varnishcache/pkg-varnish-cache#78), but Drupal install fails. Might be unrelated. |
Seems unrelated. It works in a VM so I wonder if it's some init system thing again? The drush site-install task doesn't seem too see the database and therefore tries to create it. |
Testing a rebase and will see what happens. I found that there are some weird database issues now on Mac, over in #1497 If it turns out that is the problem, then I'll have to figure out how to tell Docker to use a volume for |
So, after almost the entire build completes, I get:
The last things that were done with MySQL were:
I might have to build it locally to see what exactly happens in here. Maybe Debian 9's MySQL defaults are a little different than expected? |
Annoyingly, if I log in via
Then I get:
|
Ah, but Especially when the error message even says: |
Running the exact command manually results in the same failure. Interesting:
Maybe it's a Drush bug with Debian 9? If I run the other command (using global drush at |
Hmm. The one change I made was using |
Posted notes upstream in Drush issue that seems to be most closely related: drush-ops/drush#2183 — tl;dr:
|
Sooooo close: https://travis-ci.org/geerlingguy/drupal-vm/jobs/262075833
|
Strange, apparently Varnish is listening on port
|
Ah... but the systemd config is different:
|
Fixed the Varnish issue via geerlingguy/ansible-role-varnish#66 — now waiting on a test build to come back green! 🤞🏼 |
Fixes #1451: Add Debian 9 automated test.
…cker image base to Debian 9 'Stretch'.
…orrectly with Debian 9+.
Issue Type
Summary
Debian Stretch was released a short while ago, and it should hopefully be easy enough to adapt the current Debian 8 box to Debian 9.
I'm already working on testing a Debian 9 Docker image, and will hopefully get that released within a few hours. The box will take a tiny bit longer to build, but should be pretty quick if there aren't many substantive changes (e.g. like initv to systemd...).
The text was updated successfully, but these errors were encountered: