Project

General

Profile

Tâche #35197

Scénario #35047: Test de l'Upgrade AmonEcole

Les scripts de migration PostgreSQL ne sont pas compatibles avec les conteneurs

Added by Joël Cuissinat 8 months ago. Updated 7 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
01/20/2023
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Service postgresql@14-main in bdd is not running                                                                                                                    [  KO  ]
Service mysql postgresql@14-main in bdd not started: Job for postgresql@14-main.service failed because the service did not take the steps required by its unit configuration.
See "systemctl status postgresql@14-main.service" and "journalctl -xeu postgresql@14-main.service" for details.

Attention, il faut utiliser le nom du conteneur et pas le nom du groupe de conteneurs ;)

<container name='postgresql' id='11'>

Associated revisions

Revision 13cb7be3 (diff)
Added by Joël Cuissinat 8 months ago

migration postgresql : support du mode conteneur

Ref: #35197

Revision 5d0204b3 (diff)
Added by Joël Cuissinat 8 months ago

migration postgresql : default value for "container_path_postgresql"

Ref #35197

History

#1 Updated by Joël Cuissinat 8 months ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Joël Cuissinat

Je propose par contre de ne pas s'embêter à gérer la migration de postgis qui n'est pas géré par le MEN ;)

#2 Updated by Joël Cuissinat 8 months ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

#3 Updated by Klaas TJEBBES 8 months ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0
root@bdd:~# service postgresql@14-main status
● postgresql@14-main.service - PostgreSQL Cluster 14-main
     Loaded: loaded (/lib/systemd/system/postgresql@.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2023-02-03 10:46:46 CET; 51min ago
    Process: 1986 ExecStart=/usr/bin/pg_ctlcluster --skip-systemctl-redirect 14-main start (code=exited, status=0/SUCCESS)
   Main PID: 1991 (postgres)

Also available in: Atom PDF