4.14 > 4.15 docker error

dennis3 years ago

After upgrading the docker wont start anymore.

    at org.h2.engine.Engine.openSession(Engine.java:92),
    at org.h2.engine.Engine.openSession(Engine.java:222),
    at org.h2.engine.Engine.createSession(Engine.java:201),
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338),
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:117),
    at org.h2.Driver.connect(Driver.java:59),
    at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138),
    at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359),
    at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201),
    at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470),
    at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561),
    ... 7 more,
Caused by: org.h2.mvstore.MVStoreException: The write format 1 is smaller than the supported format 2 [2.0.206/5],
    at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004),
    at org.h2.mvstore.MVStore.getUnsupportedWriteFormatException(MVStore.java:1059),
    at org.h2.mvstore.MVStore.readStoreHeader(MVStore.java:878),
    at org.h2.mvstore.MVStore.<init>(MVStore.java:455),
    at org.h2.mvstore.MVStore$Builder.open(MVStore.java:4052),
    at org.h2.mvstore.db.Store.<init>(Store.java:129),
    ... 19 more,
Exception in thread "main" java.lang.RuntimeException: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: General error: "The write format 1 is smaller than the supported format 2 [2.0.206/5]" [50000-206],
    at org.traccar.Main.run(Main.java:147),
    at org.traccar.Main.main(Main.java:106),
Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: General error: "The write format 1 is smaller than the supported format 2 [2.0.206/5]" [50000-206],
    at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:596),
    at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:582),
    at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100),
    at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81),
    at org.traccar.database.DataManager.initDatabase(DataManager.java:131),
    at org.traccar.database.DataManager.<init>(DataManager.java:90),
    at org.traccar.Context.init(Context.java:298),
    at org.traccar.Main.run(Main.java:120),
    ... 1 more,
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: General error: "The write format 1 is smaller than the supported format 2 [2.0.206/5]" [50000-206],
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:573),
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:496),
    at org.h2.message.DbException.get(DbException.java:216),
    at org.h2.mvstore.db.Store.convertMVStoreException(Store.java:166),
    at org.h2.mvstore.db.Store.<init>(Store.java:140),
    at org.h2.engine.Database.<init>(Database.java:324),
    at org.h2.engine.Engine.openSession(Engine.java:92),
    at org.h2.engine.Engine.openSession(Engine.java:222),
    at org.h2.engine.Engine.createSession(Engine.java:201),
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338),
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:117),
    at org.h2.Driver.connect(Driver.java:59),
    at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138),
    at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359),
    at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201),
    at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470),
    at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561),
    ... 7 more,
Caused by: org.h2.mvstore.MVStoreException: The write format 1 is smaller than the supported format 2 [2.0.206/5],
    at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004),
    at org.h2.mvstore.MVStore.getUnsupportedWriteFormatException(MVStore.java:1059),
    at org.h2.mvstore.MVStore.readStoreHeader(MVStore.java:878),
    at org.h2.mvstore.MVStore.<init>(MVStore.java:455),
    at org.h2.mvstore.MVStore$Builder.open(MVStore.java:4052),
    at org.h2.mvstore.db.Store.<init>(Store.java:129),
    ... 19 more,
Exception in thread "main" java.lang.RuntimeException: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: General error: "The write format 1 is smaller than the supported format 2 [2.0.206/5]" [50000-206],
    at org.traccar.Main.run(Main.java:147),
    at org.traccar.Main.main(Main.java:106),
Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: General error: "The write format 1 is smaller than the supported format 2 [2.0.206/5]" [50000-206],
    at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:596),
    at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:582),
    at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100),
    at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81),
    at org.traccar.database.DataManager.initDatabase(DataManager.java:131),
    at org.traccar.database.DataManager.<init>(DataManager.java:90),
    at org.traccar.Context.init(Context.java:298),
    at org.traccar.Main.run(Main.java:120),
    ... 1 more,
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: General error: "The write format 1 is smaller than the supported format 2 [2.0.206/5]" [50000-206],
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:573),
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:496),
    at org.h2.message.DbException.get(DbException.java:216),
    at org.h2.mvstore.db.Store.convertMVStoreException(Store.java:166),
    at org.h2.mvstore.db.Store.<init>(Store.java:140),
    at org.h2.engine.Database.<init>(Database.java:324),
    at org.h2.engine.Engine.openSession(Engine.java:92),
    at org.h2.engine.Engine.openSession(Engine.java:222),
    at org.h2.engine.Engine.createSession(Engine.java:201),
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338),
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:117),
    at org.h2.Driver.connect(Driver.java:59),
    at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138),
    at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359),
    at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201),
    at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470),
    at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561),
    ... 7 more,
Caused by: org.h2.mvstore.MVStoreException: The write format 1 is smaller than the supported format 2 [2.0.206/5],
    at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004),
    at org.h2.mvstore.MVStore.getUnsupportedWriteFormatException(MVStore.java:1059),
    at org.h2.mvstore.MVStore.readStoreHeader(MVStore.java:878),
    at org.h2.mvstore.MVStore.<init>(MVStore.java:455),
    at org.h2.mvstore.MVStore$Builder.open(MVStore.java:4052),
    at org.h2.mvstore.db.Store.<init>(Store.java:129),
    ... 19 more,
Anton Tananaev3 years ago

You need to migrate the database file. Search forum. Someone already provided instructions on how to do it.