Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to 10.0.8 on PostgreSQL 10.x #31320

Closed
mbalmer opened this issue May 1, 2018 · 4 comments
Closed

Upgrade to 10.0.8 on PostgreSQL 10.x #31320

mbalmer opened this issue May 1, 2018 · 4 comments

Comments

@mbalmer
Copy link

mbalmer commented May 1, 2018

The update to Version 10.0.8 on PostgreSQL 10.x fails with the following error message:

Doctrine\DBAL\Exception\InvalidFieldNameException: An exception occurred while executing 'SELECT min_value, increment_by FROM "oc_account_terms_id_seq"': SQLSTATE[42703]: Undefined column: 7 FEHLER: Spalte »min_value« existiert nicht LINE 1: SELECT min_value, increment_by FROM "oc_account_terms_id_seq... ^

Steps to reproduce

  1. Go to you ownCloud installation with the browser
  2. Click on "Update" Button
  3. Wait for a few seconds

Expected behaviour

ownCloud should update the database to the 10.0.8 scheme

Actual behaviour

It shows above error message

Server configuration

Operating system:

Ubuntu 16.04 x86_64

Web server:

nginx

Database:

PostgreSQL 10.3

Notes:

As of PostgreSQL 10, it is no longer possible to query the minimum value and increment directly from a sequence, as was the case in PostgreSQL 10. To get these values the query "select min_value, increment_by from pg_catalog.pg_sequences where sequencename = 'oc_account_terms_id_seq';" can be used.

select

@phil-davis
Copy link
Contributor

"As of PostgreSQL 10,..., as was the case in PostgreSQL 10" ???

I guess that you mean to mention different versions in the 2 places in this sentence?

@mbalmer
Copy link
Author

mbalmer commented May 1, 2018 via email

@DeepDiver1975
Copy link
Member

We do not yet support postgres 10 .... should be in the docs ...

@DeepDiver1975
Copy link
Member

duplicate of #29997

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants