#90 closed Task (Done)

Update Naomi to 20.04

Reported by: D Delmar Davis Owned by: D Delmar Davis
Priority: Important Milestone: Make Shit Happen / Own Your Shit.
Component: Development Keywords: focal mail dns
Cc: Joe Dumoulin

Description

Some time this week.

  • Down
  • Copy
  • do-release-upgrade

Hopefully that will work.
Otherwise stand up a new server and rebuild/document the services.

Change History (4)

comment:1 Changed 15 months ago by D Delmar Davis

Status: assignedaccepted

Need to document making container snapshots before major upgrades.
Not downing the server. Letting it run its course. Worse case I lose the irc lac of conversation or miss an email or two.

Took a snapshot

Running screen do-release-upgrade.

comment:2 Changed 15 months ago by D Delmar Davis

tls issues with imap.

Nov 12 22:24:06 naomi dovecot: imap-login: Error: Failed to initialize SSL server context: Can't load DH parameters: error:1408518A:SSL routines:ssl3_ctx_ctrl:dh key too small: user=<>, rip=75.164.57.121, lip=198.202.31.141, session=<rY5tn6XQ/MJLpDl5>

Dns seems fine. (there were some named.conf.options incompatibilities to work around)
Thats the important one.

comment:3 Changed 15 months ago by D Delmar Davis

https://www.artificialworlds.net/blog/2020/11/25/dovecot-not-working-after-upgrade-to-ubuntu-20-04-1-dh-key-too-small/

root@naomi:/etc/dovecot/conf.d# nano /etc/dovecot/conf.d/10-ssl.conf
...
# DH parameters length to use.
ssl_dh = </usr/share/dovecot/dh.pem
#ssl_dh_parameters_length = 1024
...
root@naomi:/etc/dovecot/conf.d# service dovecot restart
root@naomi:/etc/dovecot/conf.d# service dovecot status
● dovecot.service - Dovecot IMAP/POP3 email server
     Loaded: loaded (/lib/systemd/system/dovecot.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2021-11-12 22:36:00 PST; 5s ago
       Docs: man:dovecot(1)
             http://wiki2.dovecot.org/
   Main PID: 1476 (dovecot)
      Tasks: 4 (limit: 77180)
     Memory: 3.9M
     CGroup: /system.slice/dovecot.service
             ├─1476 /usr/sbin/dovecot -F
             ├─1477 dovecot/anvil
             ├─1478 dovecot/log
             └─1479 dovecot/config

Nov 12 22:36:00 naomi systemd[1]: Started Dovecot IMAP/POP3 email server.
Nov 12 22:36:00 naomi dovecot[1476]: master: Dovecot v2.3.7.2 (3c910f64b) starting up for imap, pop3 (core dumps disabled)

Life is good.

comment:4 Changed 15 months ago by D Delmar Davis

Resolution: Done
Status: acceptedclosed
Note: See TracTickets for help on using tickets.