Bug 51997 - UCS-5: PostgreSQL-11
UCS-5: PostgreSQL-11
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: PostgreSQL
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Philipp Hahn
Arvid Requate
:
: 52491 (view as bug list)
Depends on:
Blocks: 52790 52791 53034
  Show dependency treegraph
 
Reported: 2020-09-11 12:50 CEST by Philipp Hahn
Modified: 2021-05-25 15:59 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2020-09-11 12:50:54 CEST
Debian-10-Buster has PostgreSQL-11. Templaes in univention-postgresql must be updated.
Comment 1 Philipp Hahn univentionstaff 2020-09-21 11:46:13 CEST
univention-pkgdb (13.0.0-1)
bec536ae4706 | Bug #51997 pkgdb: Postgresql 11 templates

univention-postgresql (12.0.0-2)
6eda8ade15b4 | Bug #51997: PostgreSQL-11

univention-pkgdb (13.0.0-2)
e6f7380fa443 | Bug #51997: Add postgres 11 template

univention-appcenter (9.0.0-3)
643372b2edec | Bug #51997 appcenter: Postgresql 11 templates
Comment 2 Arvid Requate univentionstaff 2021-03-16 11:24:24 CET
Verified:
* git commits
* /etc/postgresql/11/main/postgresql.conf updated
* Installation and test of univention-pkgdb

Question:
* Please comment on removal of services/univention-postgresql/conffiles/etc/cron.d/postgresql

TODO:

We should provide instructions for migration from 9.6 to 11, like we did for Bug 44160:

https://help.univention.com/t/updating-from-postgresql-9-4-to-postgresql-9-6/8075

See also

commit 2c28e5a960
Author: Philipp Hahn <hahn@univention.de>
Date:   Tue Jun 2 02:34:17 2020 +0200

    Bug #51997: PostgreSQL-11
    
    TODO:
    <https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#postgresql-reindex>>
Comment 3 Arvid Requate univentionstaff 2021-03-16 11:29:44 CET
TODO:
* UCS-5 changelog
* Check PostgreSQL release notes for important points:
  * https://www.postgresql.org/docs/release/10.0/  (...)
  * https://www.postgresql.org/docs/release/11.0/  (...11.10)
Comment 4 Arvid Requate univentionstaff 2021-03-16 13:59:01 CET
Ok https://www.postgresql.org/docs/9.1/routine-vacuuming.html#AUTOVACUUM states that "autovacuum = on" is the default, even though it's not explicitly set in /etc/postgresql/11/main/postgresql.conf.
Comment 5 Arvid Requate univentionstaff 2021-03-16 16:46:53 CET
https://wiki.postgresql.org/wiki/VACUUM_FULL
Comment 7 Florian Best univentionstaff 2021-03-18 18:58:17 CET
libllvm7 and sysstat are missing on the DVD:

# LANG=C apt install univention-pkgdb univention-postgresql univention-postgresql-11 postgresql-11 libllvm7 sysstat
E: Package 'libllvm7' has no installation candidate
E: Package 'sysstat' has no installation candidate
Comment 8 Florian Best univentionstaff 2021-03-18 18:58:40 CET
*** Bug 52491 has been marked as a duplicate of this bug. ***
Comment 9 Arvid Requate univentionstaff 2021-03-18 20:53:19 CET
I've written a draft for the migration guide:

https://help.univention.com/t/updating-from-postgresql-9-6-or-9-4-to-postgresql-11/17531
Comment 10 Philipp Hahn univentionstaff 2021-03-24 07:01:26 CET
(In reply to Arvid Requate from comment #9)
> I've written a draft for the migration guide:
> 
> https://help.univention.com/t/updating-from-postgresql-9-6-or-9-4-to-
> postgresql-11/17531

I've done QA for that: OKAY with small changes.

(In reply to Florian Best from comment #7)
> libllvm7 and sysstat are missing on the DVD:

OK: libllvm7 is on DVD UCS 5.0-0-rc0
OK: sysstat is only a recommends
FYI: Components are no longer installed from USS.
OK: apt install univention-pkgdb from ISO only
OK: apt install univention-pkgdb from repository/online
Comment 11 Arvid Requate univentionstaff 2021-03-24 13:15:19 CET
> I've done QA for that: OKAY with small changes.

Thanks, looks better.
Comment 12 Florian Best univentionstaff 2021-05-25 15:59:54 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".