目标:linux 后台模式启动思源笔记,在 windows 端使用 6806 端口访问笔记本。
现状:
1.在 siyuan-3.0.0-linux 路径下使用./siyuan 能够启动笔记本,且能在 win 端通过 6806 端口正常访问笔记本内容;
2.在 siyuan-3.0.0-linux/resources/kernel/目录下通过下述命令启动,会报错
./SiYuan-Kernel --workspace ~/Note_Book --ssl true --accessAuthCode xxx --lang zh_CN
具体报错内容如下:
I 2024/02/26 10:25:25 runtime.go:74: kernel is booting:
* ver [3.0.0]
* arch [amd64]
* os [centos]
* pid [2481296]
* runtime mode [prod]
* working directory [siyuan-3.0.0-linux/resources/kernel]
* read only [false]
* container [std]
* database [ver=20220501]
* workspace directory [Note_Book]
E 2024/02/26 10:25:25 conf.go:465: open language configuration folder [siyuan-3.0.0-linux/resources/kernel/appearance/langs] failed: open siyuan-3.0.0-linux/resources/kernel/appearance/langs: no such file or directory
E 2024/02/26 10:25:25 runtime.go:156: check file system status failed: open siyuan-3.0.0-linux/resources/kernel/appearance/langs: no such file or directory, github.com/siyuan-note/siyuan/kernel/model.initLang()
/home/daniel/88250/siyuan/kernel/model/conf.go:466 +0x17a
github.com/siyuan-note/siyuan/kernel/model.InitConf()
/home/daniel/88250/siyuan/kernel/model/conf.go:112 +0x25
main.main()
/home/daniel/88250/siyuan/kernel/main.go:33 +0x1c
请教一下需要怎么处理?谢谢!
注:
已参考帖子思源笔记使用记录:linux (ubuntu) 桌面版 安装启动和更新 - 链滴 (ld246.com),目的一致但是错误现象不一致。