定时任务自动更新了最新镜像后就启动不了了,启动容器的错误信息如下:
错误信息:
[root@VM_0_14_centos solo_blog]# docker logs eead61443e48
[INFO ]-[2022-01-17 21:13:47]-[org.b3log.solo.Server:259]: Solo is booting [ver=4.3.1, os=Linux, isDocker=true, inJar=false, luteAvailable=false, pid=1, runtimeDatabase=H2, runtimeMode=PRODUCTION, jdbc.username=root, jdbc.URL=jdbc:h2:/opt/solo/h2/db;MODE=MYSQL] [ERROR]-[2022-01-17 21:13:48]-[com.zaxxer.hikari.pool.HikariPool:594]: HikariPool-1 - Exception during pool initialization. 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) ~[h2-2.0.206.jar:2.0.206] at org.h2.message.DbException.getJdbcSQLException(DbException.java:496) ~[h2-2.0.206.jar:2.0.206] at org.h2.message.DbException.get(DbException.java:216) ~[h2-2.0.206.jar:2.0.206] at org.h2.mvstore.db.Store.convertMVStoreException(Store.java:166) ~[h2-2.0.206.jar:2.0.206] at org.h2.mvstore.db.Store.<init>(Store.java:140) ~[h2-2.0.206.jar:2.0.206] at org.h2.engine.Database.<init>(Database.java:324) ~[h2-2.0.206.jar:2.0.206] at org.h2.engine.Engine.openSession(Engine.java:92) ~[h2-2.0.206.jar:2.0.206] at org.h2.engine.Engine.openSession(Engine.java:222) ~[h2-2.0.206.jar:2.0.206] at org.h2.engine.Engine.createSession(Engine.java:201) ~[h2-2.0.206.jar:2.0.206] at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338) ~[h2-2.0.206.jar:2.0.206] at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:117) ~[h2-2.0.206.jar:2.0.206] at org.h2.Driver.connect(Driver.java:59) ~[h2-2.0.206.jar:2.0.206] at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) ~[HikariCP-5.0.1.jar:?] at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359) ~[HikariCP-5.0.1.jar:?] at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201) ~[HikariCP-5.0.1.jar:?] at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470) [HikariCP-5.0.1.jar:?] at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561) [HikariCP-5.0.1.jar:?] at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100) [HikariCP-5.0.1.jar:?] at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) [HikariCP-5.0.1.jar:?] at org.b3log.latke.repository.jdbc.util.Connections.getConnection(Connections.java:196) [latke-core-3.4.23.jar:?] at org.b3log.solo.service.InitService.initTables(InitService.java:165) [solo/:?] at org.b3log.solo.service.InitService_$$_jvstb6a_49._d7initTables(InitService_$$_jvstb6a_49.java) [solo/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at org.b3log.latke.ioc.JavassistMethodHandler.invoke(JavassistMethodHandler.java:108) [latke-core-3.4.23.jar:?] at org.b3log.solo.service.InitService_$$_jvstb6a_49.initTables(InitService_$$_jvstb6a_49.java) [solo/:?] at org.b3log.solo.Server.main(Server.java:272) [solo/:?] 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) ~[h2-2.0.206.jar:2.0.206] at org.h2.mvstore.MVStore.getUnsupportedWriteFormatException(MVStore.java:1059) ~[h2-2.0.206.jar:2.0.206] at org.h2.mvstore.MVStore.readStoreHeader(MVStore.java:878) ~[h2-2.0.206.jar:2.0.206] at org.h2.mvstore.MVStore.<init>(MVStore.java:455) ~[h2-2.0.206.jar:2.0.206] at org.h2.mvstore.MVStore$Builder.open(MVStore.java:4052) ~[h2-2.0.206.jar:2.0.206] at org.h2.mvstore.db.Store.<init>(Store.java:129) ~[h2-2.0.206.jar:2.0.206] ... 24 more [ERROR]-[2022-01-17 21:13:48]-[org.b3log.solo.service.InitService:173]: Check tables failed, please make sure database existed and database configuration [jdbc.*] in local.props is correct [msg=General error: "The write format 1 is smaller than the supported format 2 [2.0.206/5]" [50000-206]] [root@VM_0_14_centos solo_blog]#
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于