Skip to content

Updating Nextcloud 12.0.5 to 13.0.0.rc2 fails on Postgres  #7960

Description

@BernhardPosselt

Upgraded to the latest git commit today from 12.0.4 to 12.0.5, then went for stable13. The update fails with

Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'ALTER TABLE oc_jobs ALTER id TYPE BIGSERIAL':  SQLSTATE[42704]: Undefined object: 7 ERROR:  type "bigserial" does not exist

@MorrisJobke asked me to post these links:

I suppose the migration steps do not work properly for postgres and you didnt run into these issues because you started with a fresh 12.x.x installation

Server configuration

Operating system: Debian stable

Web server: Apache

Database: Postgres 9.6

PHP version: 5.6

Where did you install Nextcloud from: git

Enabled:

  • bookmarks: 0.10.1
  • calendar: 1.5.7
  • caniupdate: 0.1.1
  • comments: 1.2.0
  • contacts: 2.0.1
  • dav: 1.3.1
  • federatedfilesharing: 1.2.0
  • files: 1.7.2
  • files_sharing: 1.4.0
  • lookup_server_connector: 1.0.0
  • news: 12.0.0
  • oauth2: 1.0.5
  • provisioning_api: 1.2.0
  • sharebymail: 1.2.0
  • spreed: 2.0.2
  • systemtags: 1.2.0
  • theming: 1.3.0
  • twofactor_backupcodes: 1.1.1
  • workflowengine: 1.2.0

Disabled:

  • admin_audit
  • encryption
  • federation
  • files_encryption
  • files_external
  • files_trashbin
  • files_versions
  • testing
  • updatenotification
  • user_ldap
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "domain.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwritewebroot": "",
        "dbtype": "pgsql",
        "version": "12.0.5.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "theme": "",
        "maintenance": false,
        "forcessl": true,
        "overwrite.cli.url": "\/owncloud",
        "loglevel": 0,
        "debug": false,
        "appstoreurl": "https:\/\/apps.nextcloud.com\/api\/v0",
        "htaccess.RewriteBase": "\/owncloud"
    }
}

Are you using encryption: no

Client configuration

Browser: Firefox stable

Operating system: Arch Linux

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

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