Skip to content

Some tables are not created with bigint type during fresh installation of Nextcloud 15 #13080

@alexeyabel

Description

@alexeyabel

Steps to reproduce

  1. Install Nextcloud from https://download.nextcloud.com/server/releases/latest-15.tar.bz2
php occ maintenance:install --database "pgsql" --database-name "nextcloud" --database-user "postgres" --database-pass "USE_PASSWORD_DB_POSTGRES" --admin-user "admin" --admin-pass "SET_PASSWORD_NEXTCLOUD_ADMIN"
  1. Log in as admin
  2. Go to Settings -> Administration -> Overview

Expected behaviour

No Security & setup warnings because its a fresh install and the install script should setup the DB with bigint from the start.

Actual behaviour

Security & setup warnings contains

Some columns in the database are missing a conversion to big int. Due to the fact that changing column types on big tables could take some time they were not changed automatically. By running 'occ db:convert-filecache-bigint' those pending changes could be applied manually. This operation needs to be made while the instance is offline. For further details read the documentation page about this.

filecache.mtime
filecache.storage_mtime

Server configuration

Operating system:
Debian 9

Web server:
Apache 2.4.25-3+deb9u6

Database:
PostgreSQL 9.6+181+deb9u2

PHP version: 7.0+49

Nextcloud version:
15.0.0

Updated from an older Nextcloud/ownCloud or fresh install:
fresh install

Where did you install Nextcloud from:
https://download.nextcloud.com/server/releases/latest-15.tar.bz2

Table oc_filecache

screenshot_20181214_195935

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    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