Bug 1462411
Summary: | Upgrade leaves postgreSQL unusable, with no warning and no sane recovery path | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | tlhackque |
Component: | postgresql | Assignee: | Pavel Raiskup <praiskup> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 25 | CC: | devrim, hhorak, jmlich83, jstanek, pkajaba, pkubat, praiskup, tgl, wwoods, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-06-19 13:02:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
tlhackque
2017-06-17 11:43:55 UTC
Hi, I feel your pain ;) I have been there and done the psql dumps and restores. Technically, it might be possible for the postgresql upgrade scriptlets to run something during package update, but it'd be very hard to get it to work properly for all cases, in particular for very big databases. Anyway, this is something for postgresql folks to handle, dnf-system-upgrade-plugin is just a dumb messenger here. (In reply to tlhackque from comment #0) > Description of problem: > > On upgrading from Fedora 23 to 25, the PostgreSQL service doesn't start. > > The problem is that the database format has changed, in this case from 9.1 > to 9.4. This doesn't seem to be truth, F23 has 9.4.10, F25 has 9.5.7. So perhaps you were running non-default version of postgresql server, and now you plan to run non-default postgresql version again; this is not supported by Fedora and I would suggest you to contact your PostgreSQL provider. If you plan to migrate to the default 9.5 version, I would suggest you to dump & restore the database, you can have a look at pgrpms [1] which could help you with that. The postgresql-setup script works from Fedora version N to N+2 at most. [1] https://yum.postgresql.org/ |