Repository navigation
NC 16+ uses SQL that is only supported in Postgresql >= 9.5 #15613
Description
Activity
- added0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap
on May 18, 2019 Thank you for reporting this issue 🎉
Duplicate of #15441 (but your issue title is much better and easier to find through the search)
Reacted by tobybryans, Mathijs de Bruin, John Molakvoæ, andynazay153 and Ladislav Nesnera- added1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofand removed0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap
on Jun 5, 2019 @rullzer we should maybe add a warning :)
- changed the title
[-]NC 16+ uses SQL that is only supported in Postgresql > 9.5[/-][+]NC 16+ uses SQL that is only supported in Postgresql >= 9.5[/+]on Jun 6, 2019 Since this is now a milestone, I edited the title so it's correct :)
Reacted by John MolakvoæIf I may add a tiny bit, it would be nice if during a new install the installed would check if Postgresql version is 9.4 or below and if so, refuse to go ahead.
In my experience the install process goes through fine, but the installed Nextcloud is not usable.
If I may add a tiny bit, it would be nice if during a new install the installed would check if Postgresql version is 9.4 or below and if so, refuse to go ahead.
In my experience the install process goes through fine, but the installed Nextcloud is not usable.
Just finished opening a new issue for the installation for the same issue (#15906),
I've just finished installing NC 16.0.1 on PostgreSQL 9.2 and now it spits out a good old 500 internal server error of the death (worse than BSOD of Win)...Behaviour reported here:
PostgreSQL 9.2.24 is the default on CentOS 7 and now I'm trying to upgrade to >=9.5, hopefully without having to recreate databases and nextcloud installation...With nextcloud/documentation#1516 this is the requirement for Nc 16.
- added a commit that references this issue
on Jul 26, 2019
Steps to reproduce
Expected behaviour
The upgrade script should check the version of postgres and prevent upgrades when the version is 9.4 or lower with a full explanation.
Actual behaviour
Upgrade proceeds, looks successful but instance then fails in unclear ways.
The SQL that causes the problem is INSERT [...] ON CONFLICT [...].
Server configuration
Operating system:
CentOS 6.10
Web server:
Apache 2.4
Database:
Postgres 9.3
PHP version:
7.1
Nextcloud version: (see Nextcloud admin page)
16+
Updated from an older Nextcloud/ownCloud or fresh install:
15.0.5
Where did you install Nextcloud from:
Source
List of activated apps:
App list
Nextcloud log (data/nextcloud.log)
Nextcloud log