Skip to content

App install (v16.0.1) on Nextcloud 32.0.1 fails to create database tables #2341

@Gene22

Description

@Gene22

Hello,

when installing the Bookmarks app (v16.0.1) on a clean Nextcloud 32.0.1.2 instance, the installation fails silently. The occ app:install bookmarks command reports success, but none of the required oc_bookmarks_... tables are created in the database.

This leads to an "Internal Server Error" when trying to access the app. The Nextcloud log file confirms the root cause with the following error:

"message":"An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_bookmarks_folders' doesn't exist"

We have confirmed that the server configuration (Apache, mod_rewrite, PHP-FPM) is correct, as all other Nextcloud apps are working fine. The issue is specific to the Bookmarks app installation process. Manually installing older, incompatible versions of the app is not possible.

Steps to reproduce:

  1. Use Nextcloud 32.0.1
  2. Ensure no oc_bookmarks_... tables exist in the database.
  3. Run sudo -u www-data php occ app:install bookmarks.
  4. Check the database. The tables will be missing.
  5. Try to open the Bookmarks app in the browser, which results in a 500 Internal Server Error.

It seems the database migration script is not being executed correctly during the installation of v16.0.1 on this Nextcloud version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Triaging

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions