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

Error updating App to 0.7.4 #587

Closed
ppascher opened this issue Oct 31, 2017 · 3 comments
Closed

Error updating App to 0.7.4 #587

ppascher opened this issue Oct 31, 2017 · 3 comments

Comments

@ppascher
Copy link
Contributor

Hello

I tried to apply yesterday's mail app update (0.7.4 – 2017-10-30) coming from 0.7.3 via GUI. I didn't pay much attention and just noticed today that my server is still in maintenance mode.
Sorry for the sparse information, can provide more when I get home (nextcloud 12.0.3, php 7.1, postgresql 10).

When I open my nextcloud server's url I am greeted with:

App update required
These apps will be updated:

    Mail (mail)

Please make sure that the database, the config folder and the data folder have been backed up before proceeding. 

When I proceed to click on 'Start update' I get a message saying:


Update to 12.0.3

Doctrine\DBAL\Exception\InvalidFieldNameException: An exception occurred while executing 'SELECT min_value, increment_by FROM "oc_activity_activity_id_seq"': SQLSTATE[42703]: Undefined column: 7 ERROR: column "min_value" does not exist LINE 1: SELECT min_value, increment_by FROM "oc_activity_activity_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_activity_activity_id_seq"': SQLSTATE[42703]: Undefined column: 7 ERROR: column "min_value" does not exist LINE 1: SELECT 
min_value, increment_by FROM 
"oc_activity_activity_id... ^
The update was unsuccessful. Please report this issue to the Nextcloud community.

Steps to reproduce

  1. Update Mail App from 0.7.3 to 0.7.4 via web gui

Expected behaviour

App should be updated

Actual behaviour

update is unsuccessful, server remains in maintenance mode

@ChristophWurst
Copy link
Member

Hi,

from the information you've given I assume this is a duplicate of nextcloud/server#5930.

Thanks for reporting

@ppascher
Copy link
Contributor Author

Thanks for your hint. This seems to be exactly the issue.
Changing "nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php" according to this comment fixed the issue for me.

@lock
Copy link

lock bot commented Nov 20, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and questions.

@lock lock bot locked and limited conversation to collaborators Nov 20, 2018
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

2 participants