Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Set EXPECTED_DB_VERSION to 7 #284

Merged
merged 1 commit into from
Sep 21, 2018

Conversation

ruKurz
Copy link
Collaborator

@ruKurz ruKurz commented Sep 21, 2018

Irgendwie ist das Problem doch noch nicht gelöst:

MongoDbMigrationService  : Executed database-migration /opt/db-migration/migrate-01_init.js
MongoDbMigrationService  : Running database-migration script /opt/db-migration/migrate-02_0.3-to-0.5.js
MongoDbMigrationService  : Executed database-migration /opt/db-migration/migrate-02_0.3-to-0.5.js
MongoDbMigrationService  : Running database-migration script /opt/db-migration/migrate-03_0.5-to-0.6.js
MongoDbMigrationService  : Executed database-migration /opt/db-migration/migrate-03_0.5-to-0.6.js
MongoDbMigrationService  : Running database-migration script /opt/db-migration/migrate-04_fix-param-encoding.js
MongoDbMigrationService  : Executed database-migration /opt/db-migration/migrate-04_fix-param-encoding.js
MongoDbMigrationService  : Running database-migration script /opt/db-migration/migrate-05_0.6-to-0.7.js
MongoDbMigrationService  : Executed database-migration /opt/db-migration/migrate-05_0.6-to-0.7.js
MongoDbMigrationService  : Running database-migration script /opt/db-migration/migrate-06_0.7.0-to-0.7.1.js
MongoDbMigrationService  : Executed database-migration /opt/db-migration/migrate-06_0.7.0-to-0.7.1.js
MongoDbMigrationService  : Running database-migration script /opt/db-migration/migrate-07_0.7.1-to-0.8.0.js
MongoDbMigrationService  : Executed database-migration /opt/db-migration/migrate-07_0.7.1-to-0.8.0.js

Danach steht in der smarti collection:

{
    "_id": "db-version",
    "version": 7,
    "isUpgrading": false,
    "isTainted": false,
    "history": [{
        "version": 1,
        "start": ISODate("2018-09-21T09:12:26.684Z"),
        "complete": ISODate("2018-09-21T09:12:26.684Z"),
        "result": "initialized",
        "success": true
    }, {
        "version": 2,
        "start": ISODate("2018-09-21T09:12:26.734Z"),
        "complete": ISODate("2018-09-21T09:12:26.967Z"),
        "result": "success",
        "success": true
    }, {
        "version": 3,
        "start": ISODate("2018-09-21T09:12:27Z"),
        "complete": ISODate("2018-09-21T09:12:27.001Z"),
        "result": "success",
        "success": true
    }, {
        "version": 4,
        "start": ISODate("2018-09-21T09:12:27.033Z"),
        "complete": ISODate("2018-09-21T09:12:27.033Z"),
        "result": undefined,
        "success": true
    }, {
        "version": 5,
        "start": ISODate("2018-09-21T09:12:27.064Z"),
        "complete": ISODate("2018-09-21T09:12:27.065Z"),
        "result": undefined,
        "success": true
    }, {
        "version": 6,
        "start": ISODate("2018-09-21T09:12:27.098Z"),
        "complete": ISODate("2018-09-21T09:12:27.108Z"),
        "result": undefined,
        "success": true
    }, {
        "version": 7,
        "start": ISODate("2018-09-21T09:12:27.141Z"),
        "complete": ISODate("2018-09-21T09:12:27.142Z"),
        "result": undefined,
        "success": true
    }],
    "backup": {
        "name": "smarti_1537521146734",
        "version": 1,
        "date": ISODate("2018-09-21T09:12:26.734Z")
    }
}

Und der Start schlägt fehl mit: Found incompatible db-version 7, expected: 6

@ghost ghost assigned ruKurz Sep 21, 2018
@ghost ghost added the in review label Sep 21, 2018
@westei westei changed the base branch from develop to release_0.8.0 September 21, 2018 09:51
@westei westei added this to the v0.8.0 milestone Sep 21, 2018
@westei westei changed the base branch from release_0.8.0 to develop September 21, 2018 09:53
@westei
Copy link
Member

westei commented Sep 21, 2018

This needs also get into the release_0.8.0 branch

@westei westei merged commit 6e691f4 into redlink-gmbh:develop Sep 21, 2018
@ghost ghost removed the in review label Sep 21, 2018
@ruKurz ruKurz deleted the fixing-db-version branch March 1, 2019 16:29
@westei westei added the bug label Mar 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants