Trying to ugrade from version 16.2 to 17
Thread notes
1 note#bug#not-a-bug
hackorum-bot#bug#not-a-bug
@global #bug #not-a-bug
Hello, can you help me with this error I am receiving when I am trying to do the upgrade from version 16.2 to 17.0
I am using this command 🙂
"E:\Program Files\PostgreSQL\17\bin\pg_upgrade.exe" --old-datadir "E:\Program Files\PostgreSQL\16\data" --new-datadir "E:\Program Files\PostgreSQL\17\data" --old-bindir "E:\Program Files\PostgreSQL\16\bin" --new-bindir "E:\Program Files\PostgreSQL\17\bin"
Exécution de tests de cohérence
-------------------------------
Checking cluster versions ok
Checking database user is the install user ok
Checking database connection settings ok
Checking for prepared transactions ok
Checking for contrib/isn with bigint-passing mismatch ok
Checking data type usage ok
Creating dump of global objects ok
Creating dump of database schemas
ok
la connexion au serveur sur « localhost » (::1), port 50432 a échoué : FATAL: authentification par mot de passe échouée pour l'utilisateur « postgres »
n'a pas pu se connecter au postmaster cible lancé avec la commande :
"E:/Program Files/PostgreSQL/17/bin/pg_ctl" -w -l "E:/Program Files/PostgreSQL/17/data/pg_upgrade_output.d/20250128T143140.774/log/pg_upgrade_server.log" -D "E:/Program Files/PostgreSQL/17/data" -o "-p 50432 -b -c synchronous_commit=off -c fsync=off -c full_page_writes=off -c max_slot_wal_keep_size=-1 " start
Échec, sortie
Thanks,
Stanley
On Wed, 2025-01-29 at 14:20 +0000, Stanley Pagenel wrote:
Hello, can you help me with this error I am receiving when I am trying to do the upgrade from version 16.2 to 17.0
"E:\Program Files\PostgreSQL\17\bin\pg_upgrade.exe" --old-datadir "E:\Program Files\PostgreSQL\16\data" --new-datadir "E:\Program Files\PostgreSQL\17\data" --old-bindir "E:\Program Files\PostgreSQL\16\bin" --new-bindir "E:\Program Files\PostgreSQL\17\bin"
la connexion au serveur sur « localhost » (::1), port 50432 a échoué : FATAL: authentification par mot de passe échouée pour l'utilisateur « postgres »
Your v17 server does not allow password-less local connections.
Either adjust its "pg_hba.conf" to allow such connections or create a password
file for the connection:
https://www.postgresql.org/docs/current/libpq-pgpass.html
Yours,
Laurenz Albe
Thanks for the answer
Stanley
Pagenel
•
Administrateur ‑ Base de données
Portefeuille de projets et technologies
1001, boulevard Robert‑Bourassa, 26e étage, Montréal (Québec) H3B 4L4
Tél.:
(514) 287‑2464, poste 4173
Cell.:
(438) 490‑7826
Suivez, aimez, partagez
[https://storage-ca.letsignit.com/604bac5947dfd8df10c09ceb/generated/effects_2d953baeb2f3dd4016f66aa868c5ff348c67186be4b39f3114f989d4.png]<https://cloud.letsignit.com/collect/bc/63ff741d2f5e9d5d331f4f9d?p=_oo17obnr6QcjspYvNMSNBxfIUzZYwsZ0iepGgk0sXb_-8vHLglkP4jSiJBmc2JSoPWYX2XOYrq7FWkU9oSH0WO4Wb5FeSm4adJOCGhdy5s0UNQYpp1lqmdLdDPqz4B8FI6dGBrULwipaLy35LQP1A==>
[https://storage-ca.letsignit.com/604bac5947dfd8df10c09ceb/generated/effects_6522b4beb0ab7662164a43e43f8ac89ada0dfcef9b25edfef242a799.png]<https://cloud.letsignit.com/collect/bc/63ff741d2f5e9d5d331f4f9d?p=_oo17obnr6QcjspYvNMSNBxfIUzZYwsZ0iepGgk0sXb_-8vHLglkP4jSiJBmc2JSoPWYX2XOYrq7FWkU9oSH0cRjeInVc5vr9h1t4EeE7dvptvvu8AGNNjkPoxIX3AdhFBNOY9SMkZqJWdDoUo-I_A==>
[https://storage-ca.letsignit.com/604bac5947dfd8df10c09ceb/generated/effects_62f4e15dc06e4f1a3c86c1e3283bde5c5944b0544f632e9cce861a82.png]<https://cloud.letsignit.com/collect/bc/63ff741d2f5e9d5d331f4f9d?p=_oo17obnr6QcjspYvNMSNBxfIUzZYwsZ0iepGgk0sXb_-8vHLglkP4jSiJBmc2JSoPWYX2XOYrq7FWkU9oSH0WO4Wb5FeSm4adJOCGhdy5uNi1Edyizkfqnfh8ONNfwI73zHDwTRyCZcMORqb1nMwg==>
[https://storage-ca.letsignit.com/604bac5947dfd8df10c09ceb/generated/effects_4e46f257d1703dd38e9119ebcf5597be7886a01d45132e6eabbea45d.png]<https://cloud.letsignit.com/collect/bc/63ff741d2f5e9d5d331f4f9d?p=_oo17obnr6QcjspYvNMSNBxfIUzZYwsZ0iepGgk0sXb_-8vHLglkP4jSiJBmc2JSoPWYX2XOYrq7FWkU9oSH0WO4Wb5FeSm4adJOCGhdy5tZsvnDr9y0vHADrGoiR9TrNgomahKC2-Glk12SaL6NqQFPQBlZbvxunx5bewrUBTI1S6JPgXisMlor6D6USh58>
CONFIDENTIALITÉ - Ce courriel est confidentiel et ne s'adresse qu'à son destinataire.
S'il vous a été transmis par mégarde, veuillez le détruire et m'en aviser aussitôt. Merci!
________________________________
De : Laurenz Albe <laurenz.albe@cybertec.at>
Envoyé : mercredi 29 janvier 2025 11:29
À : Stanley Pagenel <spagenel@exo.quebec>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Objet : Re: Trying to ugrade from version 16.2 to 17
[Vous ne recevez pas souvent de courriers de laurenz.albe@cybertec.at. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
ATTENTION : Ce courriel provient d'un expéditeur externe. Merci d'être vigilant, particulièrement avec les liens et pièces jointes.
On Wed, 2025-01-29 at 14:20 +0000, Stanley Pagenel wrote:
Hello, can you help me with this error I am receiving when I am trying to do the upgrade from version 16.2 to 17.0
"E:\Program Files\PostgreSQL\17\bin\pg_upgrade.exe" --old-datadir "E:\Program Files\PostgreSQL\16\data" --new-datadir "E:\Program Files\PostgreSQL\17\data" --old-bindir "E:\Program Files\PostgreSQL\16\bin" --new-bindir "E:\Program Files\PostgreSQL\17\bin"
la connexion au serveur sur « localhost » (::1), port 50432 a échoué : FATAL: authentification par mot de passe échouée pour l'utilisateur « postgres »
Your v17 server does not allow password-less local connections.
Either adjust its "pg_hba.conf" to allow such connections or create a password
file for the connection:
https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.postgresql.org%2Fdocs%2Fcurrent%2Flibpq-pgpass.html&data=05%7C02%7Cspagenel%40exo.quebec%7C324e6e6a801546dfcc6408dd4082292c%7Ca382d496c5bd4725a0fd46f2b72047e6%7C0%7C0%7C638737649990615137%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=rSNzQI9X%2BmeaplMoOByAYkXU3KlG2Xk406JvGsw4NEM%3D&reserved=0<https://www.postgresql.org/docs/current/libpq-pgpass.html>
Yours,
Laurenz Albe