Feature #2038
Updated by Alexander Watzinger about 1 year ago
After "Debian":https://www.debian.org/, the standard installation system for OpenAtlas, released the new version 12 "bookworm":https://www.debian.org/News/2023/20230610.en.html 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":https://docs.python.org/3/whatsnew/3.10.html, "3.11":https://docs.python.org/3/whatsnew/3.11.html) * *Flask* from 1.1.2 to *2.2.2* (changelog "2.0.0":https://flask.palletsprojects.com/en/2.2.x/changes/#version-2-0-0) * *PostgreSQL* from 13.11 to *15* (changelog: "14.0":https://www.postgresql.org/docs/release/14.0/, "15":https://www.postgresql.org/docs/release/15.0/) * *PostGIS* from 3.1 *to 3.3* * *Jinja2* from 2.11 to *3.1* ("changelog":https://jinja.palletsprojects.com/en/3.1.x/changes/) * *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":https://www.linuxlookup.com/howto/upgrade_debian_11_bullseye_debian_12_bookworm, in short: <pre> 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 </pre> * When asked if to enable app-armor for msmtp I choose "yes" and it worked out ok <pre> sudo # apt full-upgrade sudo # apt autoremove sudo # reboot </pre> */etc/apt/sources.list* example <pre> 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 </pre> Upgrade PostgreSQL and PostGIS <pre> 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 </pre> Add new packages <pre> sudo apt install python3-email-validato </pre>