Skip to content

Master: fails to upgrade: ERROR: column "count" does not exist #232

@tobiasKaminsky

Description

@tobiasKaminsky

Which version of Nextcloud are you using?

master

Which version of PHP context_chat are you using?

8.3.22

Which version of backend context_chat are you using?

/

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

/

Nextcloud deployment method?

daily

Describe the Bug

Try to update latest master

To Reproduce

1a60486d2be6:/var/www/html$ ./occ upgrade
Setting log level to debug
Updating database schema
Updated database
Updating <context_chat> ...
Exception: Database error when running migration 005003002Date20260320093628 for app context_chat
An exception occurred while executing a query: SQLSTATE[42703]: Undefined column: 7 ERROR:  column "count" does not exist
LINE 1: ...ROUP BY "app_id", "provider_id", "item_id" HAVING "count" > ...
                                                             ^
Update failed
Maintenance mode is kept active

PHP logs (Warning these might contain sensitive information)

No response

Ex-App logs (Warning these might contain sensitive information)

No response

Server logs (if applicable)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions