Upgrade maintenance


(Michael Friedrich) #1

Hi,

I am planning on some more upgrades to ensure a stable platform.

  • Upgrade to more RAM, this involves a host restart of some minutes
  • Upgrade the OS to 16.04LTS, will be a separate step and only a short-time reboot
  • Kernel-Security update from the Intel-thing, if needed.

Please keep that in mind when joining here in the next days :slight_smile:

Cheers,
Michael


(Michael Friedrich) #2

RAM Upgrade

Thanks to NETWAYS hosting support, we now have 8 GB RAM :heart_eyes:

I’ll assign more resources to Unicorn and PostgreSQL.

Application Update

This also includes an upgrade to 1.9.0 stable (likewise, the next 2.0.0beta1 release :smiley: )

2.0.20171231: Pulling from discourse/base

15

System Upgrade

Not needed immediately, I’ll keep you posted.


(Michael Friedrich) #3

Meltdown

I’ll apply a Kernel upgrade/reboot between 14:00 and 14:15 CEST.


(Michael Friedrich) #4

Everything’s back to normal now.

Before you ask about CPU usage - no significant changes, the one and only CPU hungry process is still Apache and the archived Woltlab forum. Discourse runs fine with little resources.


(Michael Friedrich) #5

I’m going to apply the new 2.0.0beta2 release this weekend. This improves the category dropdown when creating a new topic, and also ensures that styles are common all over the place. Some other things are minor, more administrative.


(Michael Friedrich) #6

Auswahl_176


(Michael Friedrich) #7

I’m going to deploy an upgrade to 2.0.0beta3 which includes more good stuff.

Furthermore I’m installing a new plugin which allows me to run specific SQL queries. I’d like to test-drive certain things for new badges and rewards for well-known community members.


(Michael Friedrich) #8

Done. This update also fixes 3 security issues.

07


(Michael Friedrich) #9

I’m going to perform an upgrade to 2.0.0beta4 as this version fixes security issues and imrproves the category selection on new topics.


(Michael Friedrich) #10

Done. (via web based upgrader)

Auswahl_184


(Michael Friedrich) #11

Updated to 2.0.0beta6


(Michael Friedrich) #12

There’s an additional maintenance downtime planned for today from 15:45-16:45 CEST.


(Michael Friedrich) #13

System upgrades are in progress today (Ubuntu 16, Docker, Nginx). Expect reboots and downtimes.


(Michael Friedrich) #14

Note: 18.04 LTS is planned once the infrastructure is ready and package dependencies are fulfilled. Mainly affects Puppet, Beats, Icinga related to management stuff.

Discourse and Woltlab run in Docker containers and are not touched by the change.

Ubuntu 16.04 LTS

do-release-upgrade

<reboot>

<fix puppet agent with syck dependency>

<re-enable repos: netways mirrors, docker, elastic, icinga>

Nginx

Proxy in front, local to the system. Ubuntu 16.04 LTS provides 1.10, I’d want the most current release.

cat >/etc/apt/sources.list.d/nginx.list <<EOF
deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx
deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx
EOF

wget -O - http://nginx.org/keys/nginx_signing.key | apt-key add -
apt-get update
apt-get install nginx

Overview

root@monitoring-portal:~# cat /etc/os-release | grep VERSION=
VERSION="16.04.4 LTS (Xenial Xerus)"
root@monitoring-portal:~# docker -v
Docker version 18.03.1-ce, build 9ee9f40
root@monitoring-portal:~# nginx -v
nginx version: nginx/1.13.12

(Michael Friedrich) #15

Modified the Nginx configuration in a way that this site is now rated A+ :slight_smile:


(Michael Friedrich) #16

I was busy for quite a while, this now reflects the latest update with security fixes included.