No ip_tables module after kernel update

I have an Ubuntu 16.04 Droplet that was upgraded from the previous LTS. I went ahead and used the DO Kernel menu to update my kernel which was 3.18something to 4.4.0-28. Did the shutdowns and restarts and I indeed have that kernel now.

However, I do seem to be missing some modules, ip_tables is the one I’m aware of, because UFW doesn’t seem to work because iptables doesn’t seem to work.

Tried googling for the problem, but every solution I find starts and ends with “update your kernel”.

I did make a snapshot before doing the kernel upgrade, so worst case I could fall back to that, but I went through all this because I wasn’t able to remove images from Docker, so I read I needed a new kernel for the overlay2 filesystem which was supposed to solve all my problems.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I managed to solve this by first going to the Kernel menu on DO dashboard and resetting the original kernel (3.13…).

Then I followed the guide at How To Update a DigitalOcean Server’s Kernel. I set the DigitalOcean GrubLoader v0.2 as it suggested, although I’m not sure it was necessary.

I went to /lib/modules and checked what kernel versions where there. The highest was 4.4.0-53. Then following the guide above, I went ahead and updated my Grub boot loader config to boot into 4.4.0-53.

Everything is working now, including networking and Docker.