Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: 更新版本后自动打开最新版的用户指南重复 https://github.com/siyuan-note/siyuan/issues/7517

Liang Dinga43463c7a11b
diff --git a/kernel/model/conf.go b/kernel/model/conf.go
index 3ed9b0b916..d59d0775b2 100644
--- a/kernel/model/conf.go
+++ b/kernel/model/conf.go
@@ -783,6 +783,8 @@ func clearWorkspaceTemp() {
}
func upgradeUserGuide() {
+ defer logging.Recover()
+
dirs, err := os.ReadDir(util.DataDir)
if nil != err {
logging.LogErrorf("read dir [%s] failed: %s", util.DataDir, err)