-
-
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
备份恢复后重启出现 DuplicateNameException 异常 #6672
Comments
/retitle 备份恢复后重启出现 DuplicateNameException 异常 |
我附件添加了有300多张图片的场景按照备份和恢复步骤尝试了几次但是没有复现,有复现步骤吗,理论上来说备份恢复的时候如果有重复是无法创建的 /triage needs-information |
/remove-triage needs-information 经过排查发现备份恢复的时候执行 halo/application/src/main/java/run/halo/app/migration/impl/MigrationServiceImpl.java Line 247 in f6409a0
@KweilinFang 临时解决办法是先初始化一个新环境 -> 初始化之后直接登录 -> 直接点击到恢复界面进行恢复 |
[ |
这个是恢复相关的日志内容 |
感谢回复,目前已经在修复了,你可以按照 #6672 (comment) 中所说的先将服务恢复 晚些时候我们会发布一个修复版本 |
不好意思,最近较忙,回复有点晚了。 |
系统信息
在构建/registry/storage.halo.run/localthumbnails的索引时,出现了DuplicateNameException异常,提示值[69fec8f0441190ce14242bb7eb63936cc745631b5ffb227731333bc4c3d0dd81]在唯一索引[spec.thumbSignature]中已存在。
由于该异常,导致应用上下文初始化失败,应用启动失败。
使用的哪种方式运行?
Docker
发生了什么?
在构建/registry/storage.halo.run/localthumbnails的索引时,出现了DuplicateNameException异常,提示值[69fec8f0441190ce14242bb7eb63936cc745631b5ffb227731333bc4c3d0dd81]在唯一索引[spec.thumbSignature]中已存在。
由于该异常,导致应用上下文初始化失败,应用启动失败。
复现步骤
No response
相关日志输出
No response
附加信息
No response
The text was updated successfully, but these errors were encountered: