Opened 7 years ago

Closed 19 months ago

#1938 closed task (fixed)

Upgrade distribution from Squeeze to Jessie to Stretch to Buster

Reported by: strk Owned by: robe
Priority: normal Milestone: Sysadmin Contract 2022-II
Component: SysAdmin Keywords: distupgrade
Cc:

Description

This month Debian stopped publishing security updates for Squeeze (which was anyway only supported up to February 2016).

We should upgrade all machines to current LTS (version 8 aka Jessie): https://www.debian.org/News/2017/20170506

For sure wiki,tracsvn,web and secure are to be upgraded, there might be others.

Servers information *should* behere: https://wiki.osgeo.org/wiki/SAC_Service_Status

Change History (27)

comment:1 by wildintellect, 7 years ago

Are Martin's notes on how to get around the grub issue on the wiki? That's the information we need to know to perform and upgrade on those VM. I would test on Webextra 1st before attempting the other VMs.

comment:2 by robe, 5 years ago

Milestone: Sysadmin Contract 2019-I
Owner: changed from sac@… to robe

yah grub issue would be good to know.

I ran into some sort of grub issue trying to upgrade adhoc and projects. These are now containerized so not directly exposed to the outside.

secure which was Squeeze I rebult as a Debian 9 container called new-secure.

adhoc is largely migrated but need to talk with osuosl about switching the domain and how to shutdown the old servers.

comment:3 by robe, 5 years ago

Milestone: Sysadmin Contract 2019-ISysadmin Contract 2019-II

comment:4 by robe, 5 years ago

I did a test upgrade of trac from wheezy to jessie, so now I'm going to do it on the real thing.

Last edited 5 years ago by robe (previous) (diff)

comment:5 by robe, 5 years ago

Completed upgrade of tracsvn osgeo7 container from wheezy to jessie

comment:6 by robe, 4 years ago

We still have on squeeze - old-projects

This should be upgraded to at least wheezy.

I'll address after I have completed the migration of osgeo3 VMs.

comment:7 by robe, 4 years ago

Milestone: Sysadmin Contract 2019-IISysadmin Contract 2020-I

comment:8 by robe, 3 years ago

Milestone: Sysadmin Contract 2020-ISysadmin Contract 2020-II

move open times to new contract

comment:9 by robe, 3 years ago

Milestone: Sysadmin Contract 2020-IISysadmin Contract 2020-III

oops moved to wrong milestone last run

comment:10 by robe, 3 years ago

Milestone: Sysadmin Contract 2020-IIISysadmin Contract 2020-II

comment:11 by strk, 3 years ago

Milestone: Sysadmin Contract 2020-IISysadmin Contract 2020-III

Ticket retargeted after milestone closed

comment:12 by robe, 3 years ago

Milestone: Sysadmin Contract 2020-IIISysadmin Contract 2021-I

Milestone renamed

comment:13 by robe, 3 years ago

Milestone: Sysadmin Contract 2021-IUnplanned

comment:14 by robe, 3 years ago

Milestone: UnplannedSysadmin Contract 2021-II
Summary: Upgrade distribution from Squeeze to JessieUpgrade distribution from Squeeze to Jessie to Stretch

comment:15 by robe, 3 years ago

I plan to upgrade tracsvn to stretch after I'm done with osgeo6. I started the ball rolling by switching to the osuosl.org jessie distro (the one tracsvn had was out of commission). That resulted in a number of upgrades of core files.

The following NEW packages will be installed:
  linux-image-3.16.0-11-amd64{a}
The following packages will be REMOVED:
  libuuid-perl{u}
The following packages will be upgraded:
  apache2-utils apt apt-transport-https apt-utils bash bind9-host busybox bzip2 ca-certificates cpio cpp-4.9 cron curl dbus dnsmasq dnsmasq-base
  dnsutils doxygen doxygen-latex e2fslibs e2fsprogs file g++-4.9 gcc-4.9 gcc-4.9-base git git-core git-daemon-run git-man git-svn
  imagemagick-common krb5-locales ldap-utils libapache2-svn libapt-inst1.5 libapt-pkg4.12 libarchive-zip-perl libasan1 libatomic1 libbind9-90
  libbsd0 libbz2-1.0 libcilkrts5 libcomerr2 libcurl3 libcurl3-gnutls libdbus-1-3 libdns100 libelf1 libexpat1 libexpat1-dev libfreetype6
  libfreetype6-dev libfuse2 libgcc-4.9-dev libgcc1 libgcrypt20 libgfortran3 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libglib2.0-0
  libglib2.0-data libgnutls-deb0-28 libgnutls-openssl27 libgomp1 libgsf-1-114 libgsf-1-common libgssapi-krb5-2 libharfbuzz0b libice6 libicu52
  libidn11 libisc95 libisccc90 libisccfg90 libitm1 libjson-c2 libk5crypto3 libkrb5-3 libkrb5support0 liblcms2-2 libldap-2.4-2 liblsan0
  liblwres90 libmagic1 libobjc-4.9-dev libobjc4 libpcap0.8 libpixman-1-0 libpolkit-gobject-1-0 libpython2.7 libpython2.7-dev
  libpython2.7-minimal libpython2.7-stdlib libpython3.4-minimal libpython3.4-stdlib libquadmath0 libsasl2-2 libsasl2-modules libsasl2-modules-db
  libsqlite3-0 libss2 libssh2-1 libssl-dev libssl-doc libssl1.0.0 libstdc++-4.9-dev libstdc++6 libsystemd0 libtasn1-6 libtsan0 libubsan0
  libudev1 libx11-6 libx11-data libx11-xcb1 libxcursor1 libxdmcp6 libxml2 libxslt1.1 linux-base linux-image-amd64 linux-libc-dev mutt ntp
  openssh-client openssh-server openssh-sftp-server openssl patch python-apt python-apt-common python-lxml python-reportbug python-subversion
  python-urllib3 python-urllib3-whl python2.7 python2.7-dev python2.7-minimal python3-apt python3-magic python3.4 python3.4-minimal reportbug
  rsync rsyslog ssh sudo tar tzdata udev unzip vim vim-common vim-runtime vim-tiny w3m wget zlib1g zlib1g-dev
The following partially installed packages will be configured:
  linux-image-3.16.0-6-amd64
The following packages are RECOMMENDED but will NOT be installed:
  dns-root-data libtxc-dxtn-s2tc0 python-ndg-httpsclient python-openssl python-pyasn1 xdg-user-dirs
162 packages upgraded, 1 newly installed, 1 to remove and 93 not upgraded.
Need to get 164 MB of archives. After unpacking 175 MB will be used.

comment:16 by robe, 3 years ago

Going to start the update of tracsvn now to stretch - things will be a little bumpy for next couple of hours.

comment:17 by robe, 3 years ago

Done upgrading tracsvn from jessie to stretch

comment:18 by robe, 2 years ago

I'm testing upgrading tracsnv-dev to buster (Debian 10). If that goes smoothly I will do the same to production.

comment:19 by robe, 2 years ago

Summary: Upgrade distribution from Squeeze to Jessie to StretchUpgrade distribution from Squeeze to Jessie to Stretch to Buster

comment:20 by robe, 2 years ago

okay going to start the process on production now to upgrade tracsvn to debian-buster.

comment:21 by robe, 2 years ago

Done with tracsvn upgrade to debian-buster.

Last edited 2 years ago by robe (previous) (diff)

comment:22 by robe, 2 years ago

Done with tracsvn upgrade. Problem mail not working.

comment:23 by robe, 2 years ago

The upgrade somehow broke the mail on trac. Trac was using local smtp which I think is postfix. I can't figure out what is up since doing a test mail worked.

For now I changed the /var/www/trac/env/osgeo/trac.ini :/var/www/trac/env/postgis/conf/trac.ini to use mail.osgeo.org. Which is fine.

But I would like to troubleshoot why it's not working since I may run into the same issue upgrading osgeo6 (mail.osgeo.org)

comment:24 by strk, 2 years ago

Milestone: Sysadmin Contract 2021-IISysadmin Contract 2022-I

Ticket retargeted after milestone closed

comment:25 by strk, 2 years ago

Milestone: Sysadmin Contract 2022-ISysadmin Contract 2022-II

Ticket retargeted after milestone closed

comment:26 by robe, 2 years ago

osgeo6 has been upgraded to buster as well.

comment:27 by robe, 19 months ago

Resolution: fixed
Status: newclosed

I'm closing this out and create separate tickets for ones I plan to upgrade. Most of this is done already or instance retired.

Note: See TracTickets for help on using tickets.