Actions
Feature #2038
closedUpdate OpenAtlas software to Debian bookworm
Start date:
2023-07-23
Estimated time:
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
Actions