Skip to content

Database migration error when updating (or enabling) the app #252

@4001982248998

Description

@4001982248998

Which version of Nextcloud are you using?

32.0.2.2

Which version of PHP context_chat are you using?

context_chat: 5.1.0 (installed 5.0.0)

Which version of backend context_chat are you using?

none; had to disable it in order to make Nextcloud run again

Nextcloud deployment method?

extracted Nextcloud-Tarball plus Apache

Describe the Bug

After updating the app, Nextcloud was stuck in the update. It only could complete after disabling context_chat.

Errors when trying to update or enable it:

$ occ app:update context_chat
Database error when running migration 005000001Date20251124093628 for app context_chat
conflict with value type from database

$ occ app:enable context_chat 
Database error when running migration 005000001Date20251124093628 for app context_chat
conflict with value type from database

To Reproduce

See above; updating or enabling throws a migration error.

PHP logs (Warning these might contain sensitive information)

Cannot do it, because I had to disable the app.

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

Cannot do it, because I had to disable the app.

Server logs (if applicable)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions