Project

General

Profile

Tâche #31355

Scénario #30986: Implémenter l'Upgrade Auto 2.7.2 → 2.8.0

Revoir l'upgrade de postgresql

Added by Emmanuel GARETTE 10 months ago. Updated 9 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
12/02/2020
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

17:26:18             run-parts: executing /tmp/Upgrade-Auto/post_upgrade/10-postgresql
17:26:18             Error: specified cluster does not exist
17:26:18             Error: specified cluster does not exist
17:26:18             dpkg-query: aucun paquet ne correspond à postgresql*-9.5

https://dev-eole.ac-dijon.fr/jenkins/job/2.8.0/job/test-upgradeauto-zephir-272-2.8.0-amd64/6/console

Associated revisions

Revision 5c06c152 (diff)
Added by Emmanuel GARETTE 9 months ago

migration de postgresql de la version 10 à la version 12 (ref #31355)

History

#1 Updated by Emmanuel GARETTE 9 months ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Emmanuel GARETTE
  • % Done changed from 0 to 50

#2 Updated by Emmanuel GARETTE 9 months ago

  • Status changed from En cours to Résolu

#3 Updated by Emmanuel GARETTE 9 months ago

  • % Done changed from 50 to 100

#4 Updated by Joël Cuissinat 9 months ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Vu :

14:46:20             run-parts: executing /tmp/Upgrade-Auto/post_upgrade/10-postgresql
14:46:20             Stopping old cluster...
14:46:20             Restarting old cluster with restricted connections...
14:46:20             Creating new PostgreSQL cluster 12/main ...
14:46:35             /usr/lib/postgresql/12/bin/initdb -D /var/lib/postgresql/12/main --auth-local peer --auth-host md5 --encoding UTF8 --lc-collate fr_FR.UTF-8 --lc-ctype fr_FR.UTF-8
14:46:35             The files belonging to this database system will be owned by user "postgres".
14:46:35             This user must also own the server process.
14:46:35             The database cluster will be initialized with locale "fr_FR.UTF-8".
14:46:35             The default text search configuration will be set to "french".
14:46:35             Data page checksums are disabled.
14:46:35             fixing permissions on existing directory /var/lib/postgresql/12/main ... ok
14:46:35             creating subdirectories ... ok
14:46:35             selecting dynamic shared memory implementation ... posix
14:46:35             selecting default max_connections ... 100
14:46:35             selecting default shared_buffers ... 128MB
14:46:35             selecting default time zone ... Europe/Paris
14:46:35             creating configuration files ... ok
14:46:35             running bootstrap script ... ok
14:46:35             performing post-bootstrap initialization ... ok
14:46:35             syncing data to disk ... ok
14:46:35             Success. You can now start the database server using:
14:46:35                 pg_ctlcluster 12 main start
14:46:35             Ver Cluster Port Status Owner    Data directory              Log file
14:46:35             12  main    5433 down   postgres /var/lib/postgresql/12/main /var/log/postgresql/postgresql-12-main.log
14:46:35             Starting new cluster...
14:46:35             Roles, databases, schemas, ACLs...
14:46:35              set_config
14:46:35             ------------
14:46:35             (1 row)
14:46:35              set_config
14:46:35             ------------
14:46:35             (1 row)
14:46:35              set_config
14:46:35             ------------
14:46:35             (1 row)
14:46:35              set_config
14:46:35             ------------
14:46:35             (1 row)
14:46:35             Fixing hardcoded library paths for stored procedures...
14:46:35             Upgrading database postgres...
14:46:35             Analyzing database postgres...
14:46:35             Fixing hardcoded library paths for stored procedures...
14:46:35             Upgrading database template1...
14:46:35             Analyzing database template1...
14:46:35             Fixing hardcoded library paths for stored procedures...
14:46:35             Upgrading database zephir...
14:46:35             Analyzing database zephir...
14:46:35             Copying old configuration files...
14:46:35             Copying old start.conf...
14:46:35             Copying old pg_ctl.conf...
14:46:35             Stopping target cluster...
14:46:35             Stopping old cluster...
14:46:35             Disabling automatic startup of old cluster...
14:46:35             Configuring old cluster to use a different port (5433)...
14:46:35             Starting target cluster on port 5432...
14:46:35             Success. Please check that the upgraded cluster works. If it does,
14:46:35             you can remove the old cluster with
14:46:35                 pg_dropcluster 10 main
14:46:35             Ver Cluster Port Status Owner    Data directory              Log file
14:46:35             10  main    5433 down   postgres /var/lib/postgresql/10/main syslog
14:46:35             Ver Cluster Port Status Owner    Data directory              Log file
14:46:35             12  main    5432 online postgres /var/lib/postgresql/12/main syslog
14:46:35             Action remove pour root
14:46:35             Lecture des listes de paquets...
14:46:35             Construction de l'arbre des dépendances...
14:46:35             Lecture des informations d'état...
14:46:35             Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
14:46:35               eole-genconfig1 python-apt python-cherrypy3 python-creole python-creole3
14:46:35               python-dateutil python-dnspython python-dpkt python-dumbnet
14:46:35               python-eolegenconfig1 python-eventlet python-formencode python-greenlet
14:46:35               python-http-parser python-lxml python-nevow python-passlib python-pyeole
14:46:35               python-pyinotify python-pyudev python-restkit python-socketpool
14:46:35               python-systemd python-tiramisu python-tiramisu1
14:46:35             Veuillez utiliser « apt autoremove » pour les supprimer.
14:46:35             Les paquets suivants seront ENLEVÉS :
14:46:35               postgresql-10* postgresql-client-10*
14:46:35             AUTOMATE : detect 'mise à jour,' => 1
14:46:35             AUTOMATE : detect 'nouvellement installés,' => 1
14:46:35             0 mis à jour, 0 nouvellement installés, 2 à enlever et 0 non mis à jour.
14:46:35             Après cette opération, 18,4 Mo d'espace disque seront libérés.
14:46:35             (Lecture de la base de données...
14:46:35             (Lecture de la base de données... 119620 fichiers et répertoires déjà installés.)
14:46:35             Suppression de postgresql-10 (10.15-0ubuntu0.18.04.1) ...
14:46:35             Suppression de postgresql-client-10 (10.15-0ubuntu0.18.04.1) ...
14:46:35             Traitement des actions différées (« triggers ») pour postgresql-common (214ubuntu0.1) ...
14:46:35             Building PostgreSQL dictionaries from installed myspell/hunspell packages...
14:46:35             Removing obsolete dictionary files:
14:46:35             (Lecture de la base de données...
14:46:35             (Lecture de la base de données... 119026 fichiers et répertoires déjà installés.)
14:46:35             Purge des fichiers de configuration de postgresql-10 (10.15-0ubuntu0.18.04.1) ...

Also available in: Atom PDF