Feature #2038
closedUpdate OpenAtlas software to Debian bookworm
Description
After Debian, the standard installation system for OpenAtlas, released the new version 12 bookworm we will look into, test and adapt OpenAtlas to the new available software packages.
- Python from 3.9 to 3.11.2 (changelog 3.10, 3.11)
- Flask from 1.1.2 to 2.2.2 (changelog 2.0.0)
- PostgreSQL from 13.11 to 15 (changelog: 14.0, 15)
- PostGIS from 3.1 to 3.3
- Jinja2 from 2.11 to 3.1 (changelog)
- Node.js from 12.22.12 to 18.13.0
Notes
Removable packages: python3-rdflib-jsonld (python3-rdflib 6.1.1 should include this package)
New packages: python3-email-validator, and if developing with Mypy: python3-typeshed
Make sure to backup databases and other data information before.
This link might be useful when upgrading: howto upgrade to bookworm, in short:
sudo apt update sudo apt upgrade sudo vim /etc/apt/sources.list (replace bullseye with bookworm, add non-free-firmware, see example below) sudo apt update sudo apt upgrade* When asked if to enable app-armor for msmtp I choose "yes" and it worked out ok
sudo apt full-upgrade sudo apt autoremove sudo reboot
/etc/apt/sources.list example
deb http://deb.debian.org/debian bookworm main contrib deb http://deb.debian.org/debian bookworm-updates main contrib deb http://deb.debian.org/debian-security/ bookworm-security main contrib
Upgrade PostgreSQL and PostGIS
sudo apt install postgresql-postgis sudo systemctl stop postgresql sudo pg_dropcluster 15 main sudo pg_upgradecluster 13 main sudo pg_dropcluster 13 main sudo systemctl start postgresql
Add new packages
sudo apt install python3-email-validator
Clean up
sudo apt purge python3-rdflib-jsonld
Updated by Bernhard Koschiček-Krombholz over 1 year ago
- Description updated (diff)
Updated by Alexander Watzinger about 1 year ago
- Description updated (diff)
- Status changed from Acknowledged to In Progress
Updated by Alexander Watzinger about 1 year ago
Just an update about the Debian Bookworm upgrade: like already anticipated software adaptions will be necessary too.
At least the new version of Jinja2 doesn't seem to be backwards compatible to the old one (e.g.: cannot import name contextfilter) but of course we might encounter breaking changes in other underlying software upgrades too.
Good news is that the PostgreSQL cluster upgrade to version 15 seems to work out fine.
Updated by Alexander Watzinger 12 months ago
- Subject changed from Update OpenAtlas software to Debian-bookworm to Update OpenAtlas software to Debian bookworm
- Description updated (diff)
Updated by Bernhard Koschiček-Krombholz 12 months ago
- Description updated (diff)
Updated by Bernhard Koschiček-Krombholz 12 months ago
- Description updated (diff)
Updated by Bernhard Koschiček-Krombholz 12 months ago
- Description updated (diff)
Updated by Alexander Watzinger 11 months ago
- Target version changed from 312 to 8.0.0
Updated by Alexander Watzinger 11 months ago
- Status changed from In Progress to Closed
Updated by Bernhard Koschiček-Krombholz 11 months ago
- Description updated (diff)