centos7 安装的 docker,拉去了halo 1.5.3(官网版本),运行并没有报错。
[root@192 .halo]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7cb4e8b6d8c8 halohub/halo:1.5.3 "/bin/sh -c 'java ..." 6 minutes ago Up 10 seconds 0.0.0.0:8090->8090/tcp halo
浏览器输入ip:端口,无法连接
进入到容器内查看日志,有报错出现
org.h2.message.DbException: Log file error: "/root/.halo/db/halo.trace.db", cause: "org.h2.message.DbException: Error while creating file ""/root/.halo/db"" [90062-199]" [90034-199]
org.h2.message.DbException: Log file error: "/root/.halo/db/halo.trace.db", cause: "org.h2.message.DbException: Error while creating file ""/root/.halo/db"" [90062-199]" [90034-199]
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Log file error: "/root/.halo/db/halo.trace.db", cause: "org.h2.message.DbException: Error while creating file ""/root/.halo/db"" [90062-199]" [90034-199]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:502)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:427)
... 142 more
这种情况怎么解决