之前使用 2.11 版一切正常,但官方升级到 2.12 版后 Docker 开始报错:
get version meta info failed: [unexpected end of JSON input]
并且版本号那里显示的是 1.6.3
附:
version: '3'
services:
siyuan:
image: b3log/siyuan
container_name: siyuan
restart: unless-stopped
user: siyuan
ports:
- 6806:6806
volumes:
- /volume1/docker/siyuan/workspace:/siyuan/workspace
environment:
- TZ=Asia/Shanghai
command: [--workspace=/siyuan/workspace/, --accessAuthCode=1]
siyuan | I 2024/01/18 10:39:38 runtime.go:49: kernel is booting:
siyuan | * ver [1.6.3]
siyuan | * arch [amd64]
siyuan | * runtime mode [prod]
siyuan | * working directory [/opt/siyuan]
siyuan | * read only [false]
siyuan | * container [docker]
siyuan | * database [ver=20211218]
siyuan | * workspace directory [/siyuan/workspace/, data 246 kB]
siyuan | * pandoc []
siyuan | I 2024/01/18 10:39:38 conf.go:250: local serve path [http://127.0.0.1:6806]
siyuan | I 2024/01/18 10:39:38 serve.go:68: kernel is booting [http://0.0.0.0:6806]
siyuan | I 2024/01/18 10:39:38 database.go:73: reinitialized database [/siyuan/workspace/temp/siyuan.db]
siyuan | I 2024/01/18 10:39:38 conf.go:466: pre-init database size [4.1 kB]
siyuan | I 2024/01/18 10:39:38 index.go:204: rebuilt database for notebook [20230906140230-kd7bhzx] in [0.03s], tree stat [count=7, size=168 kB]
siyuan | I 2024/01/18 10:39:38 index.go:204: rebuilt database for notebook [20230906162453-mevt5mr] in [0.01s], tree stat [count=3, size=4.8 kB]
siyuan | I 2024/01/18 10:39:38 index.go:214: resolving refs...
siyuan | I 2024/01/18 10:39:38 index.go:355: resolved refs
siyuan | I 2024/01/18 10:39:38 conf.go:487: post-init database size [352 kB], tree stat [count=10, size=172 kB]
siyuan | I 2024/01/18 10:39:38 working.go:135: kernel booted
siyuan | E 2024/01/18 10:40:46 rhy.go:42: get version meta info failed: [unexpected end of JSON input]
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于