[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-12-04 Thread Bernard Moreton
Thank you, Andreas. I've had a checkered history with pg_upgradecluster; the last upgrade (to 22.04LTS, PG14) worked fine, if I remember correctly, but all other post-LTS upgrades failed for me. Is it possible that setting a non-default password for user postgres might cause a problem? - the on

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-12-02 Thread Andreas Hasenack
So I'm coming to this bug with fresh eyes. Inspecting your attachments, it looks like you had postgresql-12 installed, from 20.04 (focal)? Example: Start-Date: 2024-09-21 12:36:44 Commandline: /usr/sbin/synaptic Requested-By: mbm (1000) Purge: postgresql-12:amd64 (12.11-0ubuntu0.20.04.1), postg

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-11-29 Thread Bernard Moreton
1) The LTS upgrade creates an empty cluster for the new postgresql version: pg_lsclusters This empty cluster first needs to be removed: pg_dropcluster 16 main --stop Then: pg_upgradecluster 14 main On my main pc, that last command collapsed with error - see bug #2078494 On the standby pc (an older

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-11-27 Thread Sergio Durigan Junior
Hello Bernard, Let me take a step back and try to understand where we are right now. 1) Could you please post a step-by-step with the *exact* commands you issued? 2) I believe we've asked this before, but just in case: can you reproduce this bug in a clean environment? If yes, can you please pr

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-11-26 Thread Bernard Moreton
Yes, on my stand-by pc I can still re-run the upgrade process - I didn't get round to installing the databases manually! Currently, pg_lsclusters shows 14 main 5432 down ... 16 main 5433 online and psql -p 5433 shows no role for me ... as noted above. So yes, I'll be happy to provide any i

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-11-26 Thread Miriam España Acebal
** Changed in: postgresql-16 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2081996 Title: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade T

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-11-26 Thread Miriam España Acebal
Hello Bernard, I'm so sorry for the delay, but the bug probably didn't show up again in our triage because it remained "incomplete" after your last comments. Did you finally recreate the databases manually? Or there is still a chance that you could provide any other info to continue with the debu

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-11-26 Thread Miriam España Acebal
** Changed in: postgresql-16 (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2081996 Title: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade T

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-10-04 Thread Bernard Moreton
Sorry - after a lot more searching, I retract comment #8. Most advice on upgrading PG versions refers to 'sudo pg_ctl {stop|start}' Some advices refer to 'sudo service postgresql {stop|start}' Very few refer to the *systemd* command 'sudo systemctl {status|start|stop} postgresql', and equally v

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-10-04 Thread Bernard Moreton
It might be relevant that pg_ctl is not in any PATH (not mine, nor sudo, nor postgres), on either of my PCs. The command is found only in /usr/lib/postgresql/*/bin/pg_ctl Attempts to run [sudo] pg_ctl status result in Command 'pg_ctl' not found, did you mean: command 'dg_ctl' from deb drogon (1

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-10-04 Thread Bernard Moreton
1 Yes, the databases I expected to be transferred are in the MAIN cluster, so *should* have been set up in the new 'postgresql-16' main cluster; and pg_upgradecluster *should* have changed the ports set for the '14' and '16' instances. Neither happened. 2 pg_upgradecluster gave me problems af

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-10-03 Thread Bryce Harrington
Thanks for the additional logs. Looking at your attached pg_upgradecluster.OUT I see what you mean that it looks like it succeeded in porting the 'postgres' and 'template1' databases, but presumably you expected another database(s) to upgrade? Are those databases included in the 'main' cluster? I

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-10-03 Thread Bryce Harrington
** Changed in: postgresql-16 (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2081996 Title: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade T

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-10-02 Thread Bernard Moreton
(1) Those two fatal errors result from an attempt to verify the (apparently not unsuccessful) pg_upgradecluster by psql access to the database 'simas'. They originate after pg_upgradecluster had terminated. (2) There are no known customised config files for postgresql on the system. (3) I can'

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-10-01 Thread Sergio Durigan Junior
Hello, Thanks for providing the requested information. Looking at the postgresql-16-main.log file, I see the following excerpt which caught my attention: 2024-09-21 15:51:05.322 BST [5823] mbm@simas FATAL: role "mbm" does not exist 2024-09-21 15:53:46.720 BST [5784] LOG: checkpoint starting: t

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-09-27 Thread Bernard Moreton
** Attachment added: "upgradeclusterINFO.gz contains (a) the screen output pasted into pg_upgradecluster.OUT, (b) apt/term.log, (c) apt/history.log, (d) postgresql/postgresql-14-main.log.1, and (e) postgresql-16-main.log" https://bugs.launchpad.net/ubuntu/+source/postgresql-16/+bug/208199

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-09-26 Thread Bryce Harrington
pg_upgradecluster.OUT doesn't appear to be included in the APPORT.info file you attached; that doesn't appear to include log data at all. I'm not sure what data would help Athos the most, so hopefully he can follow up, but I would suggest maybe attaching these: /var/log/apt/term.log* /var/log/apt

[Bug 2081996] Re: After upgrade to 24.04.1 LTS pg_upgradecluster fails to upgrade

2024-09-25 Thread Bernard Moreton
** Attachment added: "Generated on standby pc using apport-cli --save APPORT.info" https://bugs.launchpad.net/ubuntu/+source/postgresql-16/+bug/2081996/+attachment/5821830/+files/APPORT.info -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to