Ubuntu 16.04 LTS kernel compatibility?

Not feeling the joy yet.

So Ubuntu 16.04 LTS and Discourse don’t play well, or I’m doing it wrong, or I’m not worthy.

I followed the steps documented here/above among countless wiki, but I’ve narrowed the search to a couple basic sites that seem to have it sorted. My attempt, utter failure:

To summarize:

# wget -qO- https://get.docker.com/ | sh

yields:

modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/3.10.23-xxxx-std-ipv6-64/modules.dep.bin'
modprobe: FATAL: Module aufs not found in directory /lib/modules/3.10.23-xxxx-std-ipv6-64
Warning: current kernel is not supported by the linux-image-extra-virtual
 package.  We have no AUFS support.  Consider installing the packages
 linux-image-virtual kernel and linux-image-extra-virtual for AUFS support.
+ sleep 10

Oh, by the way, which linux-image* packages are installed?

# apt list --installed | grep linux-image

linux-image-4.4.0-45-generic/xenial-updates,xenial-security,now 4.4.0-45.66 amd64 [installed,automatic]
linux-image-extra-4.4.0-45-generic/xenial-updates,xenial-security,now 4.4.0-45.66 amd64 [installed,automatic]
linux-image-extra-virtual/xenial-updates,xenial-security,now 4.4.0.45.48 amd64 [installed]
linux-image-generic/xenial-updates,xenial-security,now 4.4.0.45.48 amd64 [installed,automatic]
linux-image-virtual/xenial-updates,xenial-security,now 4.4.0.45.48 amd64 [installed]

Trying to be pin-point accurate as I’ve seen in other wiki articles:

# apt-get install  linux-image-virtual kernel-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package kernel-3.10.23-xxxx-std-ipv6-64
E: Couldn't find any package by glob 'kernel-3.10.23-xxxx-std-ipv6-64'
E: Couldn't find any package by regex 'kernel-3.10.23-xxxx-std-ipv6-64'

This Ubuntu 16.04 LTS is
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 3.10.23-xxxx-std-ipv6-64 x86_64)

What’s in /lib/modules ?
drwxr-xr-x 5 root root 4096 Oct 20 14:31 4.4.0-45-generic

Well I could probably explore why the difference between uname -r and the modules under version 4.4.0..

Anyway,… I killed that right there. Something afoot at Circle K.

I can install Docker another way – which seems to pass successfully (Applied Step 1 only to the URL below)
See also: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04

After that maneuver, I can get this:

# systemctl status docker

 docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2016-10-20 15:44:33 EDT; 6min ago
     Docs: https://docs.docker.com
 Main PID: 20563 (dockerd)
   Memory: 15.8M
      CPU: 239ms
   CGroup: /system.slice/docker.service
           ├─20563 /usr/bin/dockerd -H fd://
           └─20569 docker-containerd -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --shim docker-contai

Oct 20 15:44:33 foo dockerd[20563]: time="2016-10-20T15:44:33.366962457-04:00" level=warning msg="Running modprobe xt_c
Oct 20 15:44:33 foo dockerd[20563]: time="2016-10-20T15:44:33.368208089-04:00" level=info msg="Firewalld running: false
Oct 20 15:44:33 foo dockerd[20563]: time="2016-10-20T15:44:33.380988917-04:00" level=warning msg="Could not load necess
Oct 20 15:44:33 foo dockerd[20563]: time="2016-10-20T15:44:33.529863512-04:00" level=info msg="Default bridge (docker0)
Oct 20 15:44:33 foo dockerd[20563]: time="2016-10-20T15:44:33.806550221-04:00" level=info msg="Loading containers: done
Oct 20 15:44:33 foo dockerd[20563]: time="2016-10-20T15:44:33.806589040-04:00" level=info msg="Daemon has completed ini
Oct 20 15:44:33 foo dockerd[20563]: time="2016-10-20T15:44:33.806601541-04:00" level=info msg="Docker daemon" commit=bb
Oct 20 15:44:33 foo dockerd[20563]: time="2016-10-20T15:44:33.811172703-04:00" level=info msg="API listen on /var/run/d
Oct 20 15:44:33 foo systemd[1]: Started Docker Application Container Engine.
Oct 20 15:46:54 foo dockerd[20563]: time="2016-10-20T15:46:54.882222692-04:00" level=error msg="Handler for PO

About the system:

# uname -a

Linux foo 3.10.23-xxxx-std-ipv6-64 #1 SMP Tue Mar 18 14:48:24 CET 2014 x86_64 x86_64 x86_64 GNU/Linux

So at any rate, let’s try to make a container:

(Manually created the app.yml due to the fact the default setup doesn’t have a workaround if there’s already Apache listening on port 80. For what it’s worth I got Apache primed and ready for the container once it’s setup. So copied the standalone.yml and replaced “example.com” with the domain in question, and other port number shenanigans)

Off topic - the Apache config for the server in question (domain names changed to protect the guilty)

<VirtualHost *:80>
   ServerName foo.net
   DocumentRoot /whatever/foo
   ErrorLog /var/log/apache2/foo-errors.log
        <Directory /whatever/foo>
                Options FollowSymLinks
                AllowOverride None
                Require all granted
        </Directory>
    ProxyPreserveHost On
    ProxyRequests off
    ProxyPass / http://127.0.0.1:7654/
    ProxyPassReverse / http:/127.0.0.1:7654/
</VirtualHost>

Now that the app.yml is hand-edited for simply referring to the domain and port numbers (7654) as per countless wiki articles:

The response:
# ./launcher bootstrap app

/usr/bin/docker: Error response from daemon: failed to create endpoint compassionate_stonebraker on network bridge: failed to add the host (vethe5fcb14) <=> sandbox (vethe7f312f) pair interfaces: operation not supported.
Your Docker installation is not working correctly

See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam

So, I’m a bit perplexed:

Does Ubuntu 16.04 LTS work with Discourse? If so, what changes do I need to make in the installation process to overcome this. I’m either doing it wrong, or I’m just not worthy. Let me know.. :wink:

Thanks

-sibo

ps: edits to make output cleaner. no [verbatim] type markup…