-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
同版本使用docker部署挂载原数据文件夹报错 #5045
Comments
原来的低版本没有文件备份,怎样才能恢复以前的数据啊 |
Hi @TtBJSH ,感谢在这里反馈问题! /kind support 如果出现了 H2 数据库损毁的问题,我们暂时无能为力,所以我们在官方文档中有提示“不建议在生产环境下使用 H2 数据库”。如果数据很重要的话,可以尝试将 |
非常感谢,已发送至 |
Hi @TtBJSH ,非常抱歉,我已经尽我所能,但仍旧无法恢复。 page size total: 6827327 bytes, page count: 16571, average page size: 412 bytes
map 0: 1084834 bytes, 15%
map 1: 1330 bytes, 0%
map 2: 50420 bytes, 0%
map 5: 537 bytes, 0%
map 6: 26301 bytes, 0%
map 7: 1390040 bytes, 20%
map 8: 2997557 bytes, 43%
map 9: 1077948 bytes, 15%
map b: 118063 bytes, 1%
map c: 80297 bytes, 1%
ERROR: org.h2.mvstore.MVStoreException: File is corrupted - unable to recover a valid set of chunks [2.1.214/6]
org.h2.mvstore.MVStoreException: File is corrupted - unable to recover a valid set of chunks [2.1.214/6]
at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004)
at org.h2.mvstore.MVStore.readStoreHeader(MVStore.java:1038)
at org.h2.mvstore.MVStore.<init>(MVStore.java:463)
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:4082)
at org.h2.mvstore.MVStoreTool.info(MVStoreTool.java:352)
at org.h2.tools.Recover.process(Recover.java:243)
at org.h2.tools.Recover.execute(Recover.java:226)
at run.halo.child.Main.main(Main.java:9) 建议:
|
非常感谢您的帮助,我将重新部署,不再使用h2数据库。
…---- 回复的原邮件 ----
| 发件人 | John ***@***.***> |
| 日期 | 2023年12月14日 10:40 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [halo-dev/halo] 同版本使用docker部署挂载原数据文件夹报错 (Issue #5045) |
Hi @TtBJSH ,非常抱歉,我已经尽我所能,但仍旧无法恢复。
pagesizetotal: 6827327bytes, pagecount: 16571, averagepagesize: 412bytesmap0: 1084834bytes, 15%
map1: 1330bytes, 0%
map2: 50420bytes, 0%
map5: 537bytes, 0%
map6: 26301bytes, 0%
map7: 1390040bytes, 20%
map8: 2997557bytes, 43%
map9: 1077948bytes, 15%
mapb: 118063bytes, 1%
mapc: 80297bytes, 1%
ERROR: org.h2.mvstore.MVStoreException: Fileiscorrupted - unabletorecoveravalidsetofchunks [2.1.214/6]
org.h2.mvstore.MVStoreException: Fileiscorrupted - unabletorecoveravalidsetofchunks [2.1.214/6]
atorg.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004)
atorg.h2.mvstore.MVStore.readStoreHeader(MVStore.java:1038)
atorg.h2.mvstore.MVStore.<init>(MVStore.java:463)
atorg.h2.mvstore.MVStore$Builder.open(MVStore.java:4082)
atorg.h2.mvstore.MVStoreTool.info(MVStoreTool.java:352)
atorg.h2.tools.Recover.process(Recover.java:243)
atorg.h2.tools.Recover.execute(Recover.java:226)
atrun.halo.child.Main.main(Main.java:9)
建议:
不要在生产环境下使用 H2 数据库。
无论使用哪种数据库,勤备份。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
系统信息
halo2.7
使用的哪种方式运行?
Docker
在线站点地址
https://tonehub.cn:9590/
发生了什么?
一开始使用docker部署的halo2.7版本,正常运行有多篇博客,前段时间突然崩掉了,但挂载了本地数据,现在重新拉取镜像,重新运行数据,挂载原有数据文件无法启动。
相关日志输出
附加信息
No response
The text was updated successfully, but these errors were encountered: