Skip to content

[Bug]: Forum app update failures #57323

@txctxcs

Description

@txctxcs

⚠️ This issue respects the following points: ⚠️

Bug description

Update to 32.0.3
Exception: Database error when running migration 14Date20260101000000 for app forum Failed to create default roles: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_forum_roles' doesn't exist

Detailed logs
Preparing update

Set log level to debug

Turned on maintenance mode

Repair step: Repair MySQL collation

Repair info: All tables already have the correct collation -> nothing to do

Repair step: Copy data from accounts table when migrating from ownCloud

Repair step: Drop account terms table when migrating from ownCloud

Updating database schema

Updated database

Exception: Database error when running migration 14Date20260101000000 for app forum Failed to create default roles: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_forum_roles' doesn't exist

The update was unsuccessful. Please report this issue to the Nextcloud community.

Steps to reproduce

  1. Click "Update" within Apps for the Forum app.

Expected behavior

Forum should have updated successfully

Nextcloud Server version

32

Operating system

Other

PHP engine version

PHP 8.4

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions