Actions
Feature #2343
openUpdate OpenAtlas software to Debian 13 (Trixie)
Status:
In Progress
Priority:
Normal
Assignee:
Category:
Backend
Target version:
Start date:
2024-09-03
Estimated time:
Description
Debian, the standard installation system for OpenAtlas, released the new version 13 trixie.
This issue provides information about the update and the new software versions being used with OpenAtlas, see comments for more details.
Branch: feature/trixie
This issue provides information about the update and the new software versions being used with OpenAtlas, see comments for more details.
Branch: feature/trixie
- Python from 3.11.2 to 3.13.5 (changelog 3.12, 3.13)
- Flask from 2.2.2 to 3.1.1 (changelogs)
- PostgreSQL from 15 to 17 (changelogs)
- Jinja2 from 3.1.2 to 3.1.6 (changelogs)
- Backup everything, and specific for OpenAtlas:
- Your databases, e.g. with pg_dumpall for all PostgreSQL databases
- The folders at files/uploads for every instance
- Update current system
sudo apt update && sudo apt full-upgrade -y - Change all occurrences of
bookwormtotrixiein /etc/apt/sourcessudo apt edit-sources - Upgrade - when prompted to upgrade PostgreSQL, choose No – the database will be upgraded manually later.
sudo apt update && sudo apt upgrade --without-new-pkgs sudo apt update && sudo apt upgrade --with-new-pkgs sudo apt update && sudo apt dist-upgrade - Clean up
sudo apt --purge autoremove -y sudo apt autoclean - Reboot the system
- PostgreSQL cluster upgrade
As postgres user:sudo apt install postgresql-postgis sudo systemctl stop postgresql sudo pg_dropcluster 17 main sudo pg_upgradecluster 15 main sudo pg_dropcluster 15 main sudo systemctl start postgresqlreindexdb --all
Actions