Project

General

Profile

Actions

Feature #2343

open

Update OpenAtlas software to Debian 13 (Trixie)

Added by Alexander Watzinger over 1 year ago. Updated 1 day ago.

Status:
In Progress
Priority:
Normal
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 Compact instructions for upgrading Debian 12 to 13 (trixie), use at your own risk, see notes below for more details.
  • 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 bookworm to trixie in /etc/apt/sources
    sudo 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
    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 postgresql
    
    As postgres user:
    reindexdb --all

Related issues 2 (2 open0 closed)

Related to OpenAtlas - Feature #2464: OpenAtlas major version 9.0.0In ProgressAlexander Watzinger2025-01-24Actions
Precedes OpenAtlas - Feature #2093: API: New and faster object serializationAcknowledged2024-09-04Actions
Actions

Also available in: Atom PDF