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

Update Failure #7434

Closed
bensocket opened this issue Dec 9, 2017 · 5 comments
Closed

Update Failure #7434

bensocket opened this issue Dec 9, 2017 · 5 comments

Comments

@bensocket
Copy link

Update to 12.0.3

Doctrine\DBAL\Exception\InvalidFieldNameException: An exception occurred while executing 'SELECT min_value, increment_by FROM "oc_storages_numeric_id_seq"': SQLSTATE[42703]: Undefined column: 7 ERROR: column "min_value" does not exist LINE 1: SELECT min_value, increment_by FROM "oc_storages_numeric_id_... ^
Detailed logs
Preparing update
Set log level to debug
Turned on maintenance mode
Doctrine\DBAL\Exception\InvalidFieldNameException: An exception occurred while executing 'SELECT min_value, increment_by FROM "oc_storages_numeric_id_seq"': SQLSTATE[42703]: Undefined column: 7 ERROR: column "min_value" does not exist LINE 1: SELECT min_value, increment_by FROM "oc_storages_numeric_id_... ^
The update was unsuccessful. Please report this issue to the Nextcloud community.

@abcbuzhiming
Copy link

I hava same issue when I want to update 12.0.3 to 12.0.4。After testing, I found this issue only display on database postgresql;If I Use MySQL,this issue does not display

@abcbuzhiming
Copy link

Added: The reason of this, because the SEQUENCE name "oc_storages_numeric_id_seq" does not have min_value, increment_by

@MrHat2010
Copy link

MrHat2010 commented Dec 10, 2017

@abcbuzhiming Did you find a solution for this?
This worked for me:
doctrine/dbal#2868 (comment)

@MorrisJobke
Copy link
Member

Duplicate of #5930

@MorrisJobke MorrisJobke marked this as a duplicate of #5930 Dec 11, 2017
@abcbuzhiming
Copy link

@MrHat2010 no solution ,the reason is nextcloud not support postgresql 10.1

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

No branches or pull requests

4 participants