Migration buster : migration 0017_postgresql_9p6_to_11 échoué

Mon serveur YunoHost

Matériel: Vieil ordinateur /
Version de YunoHost: 4.03
J’ai accès à mon serveur : En SSH , Par la webadmin |En direct avec un clavier/écran | …
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : oui
Migration réalisée vers yunohost 4
Tout s’est bien passé sauf pour postgres .Mastodon en erreur

Description du problème

La migration 0017_postgresql_9p6_to_11 a échoué avec l’exception Command ‘pg_dropcluster --stop 11 main’ returned non-zero exit status 1 : annulation

https://paste.yunohost.org/raw/uquhubopix

1 Like

Hello même problème au même endroit :grinning:

Zblerg, what happens if you manually run :

pg_dropcluster --stop 11 main

With this command line the return is :

root@anppo:/# pg_dropcluster --stop 11 main
Error: specified cluster does not exist

Lulz okay … sooooo idk let’s maybe check if postgresql is running with :

systemctl status postgresql
systemctl status postgresql@11-main

systemctl status postgresql
● postgresql.service - PostgreSQL RDBMS
Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
Active: active (exited) since Thu 2020-07-30 08:42:12 CEST; 7h ago
Process: 1924 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 1924 (code=exited, status=0/SUCCESS)
systemctl status postgresql@11-main
● postgresql@11-main.service - PostgreSQL Cluster 11-main
Loaded: loaded (/lib/systemd/system/postgresql@.service; disabled; vendor preset: enabled)
Active: inactive (dead)

Hello,
I had the same problem on my development instance.

The migration went fine after executing:

pg_createcluster 11 main
pg_ctlcluster 11 main start
3 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.