Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#2728 closed task (fixed)

Upgrade osgeo6 to buster

Reported by: robe Owned by: sac@…
Priority: normal Milestone: Sysadmin Contract 2022-II
Component: SysAdmin Keywords:
Cc:

Description (last modified by robe)

Right now osgeo6 is at debian stretch level. Which is two stable versions behind. I had meant to do this last year.

My main concern is with the mailing system. When I had upgraded trac to buster the mail stopped working (I mean the mail server was working as far as I could tell, but trac couldn't use it) and I hadn't investigated why, Instead I just put in a stop gap to channel email thru osgeo6.

Given that osgeo6 is our primary mail server, special attention must be given to make sure it doesn't happen and that lists still works after, and other services that channel mail thru it (osgeo.org, repo.osgeo.org, limesurvey.osgeo.org, talks.osgeo.org, trac.osgeo.org, weblate.osgeo.org, wiki.osgeo.org ? (wiki might be using itself) ).

After this is done, we should upgrade to bullseye after, but want to wait a month or so after this upgrade before attempting a bullseye upgrade.

Change History (8)

comment:1 by robe, 2 years ago

Also a side note. for some reason osgeo6 has 2 versions of PostgreSQL running on it with PostgreSQL 12 being the only live one (11 is stopped on port 5433). At a glance only the drone database is on the running instance. drone has been moved to dronie-server dronie.osgeo.org, so this old drone is not needed anymore.

I plan to uninstall PostgreSQL completely on osgeo6 before pushing forward with the upgrade.

comment:2 by robe, 2 years ago

Other thing I plan to remove:

docker -- there are no docker containers running on this server and not sure if there were ever any.

comment:3 by robe, 2 years ago

Description: modified (diff)

comment:4 by robe, 2 years ago

Okay I figured out why tracsvn mail stopped working when I upgraded it to buster. The same thing did not happen on my trial upgrade of osgeo6.

The issue was the /etc/postfix/mail.cf on tracsvn was missing this line:

 smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination

perhaps older postfix had defaulted to something and newer didn't

Once I added that and did a

systemctl restart postfix

I was able to change /var/www/trac/env/osgeo/conf/trac.ini

back to smpt_server = localhost

from mail.osgeo.org

comment:5 by robe, 2 years ago

I have started the upgrade process.

comment:6 by robe, 2 years ago

Upgrade to buster is complete.

I ran into some stumbling blocks like apache2 wouldn't start.

I had to disable old.grasswiki.osgeo.org #as I recall I think I had the same issue when resetting it up on bullseye on osgeo3. I assume this isn't need anymore so will leave shut off.

I also needed to install certbot, cause the certbot-auto that was in use is not supported on debian10. None of the certs are up for renewal, so their may be an issue. I will revisit in july when they come due.

comment:7 by robe, 2 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.