🐛 macOS 端报错 数据库被锁定 Fix https://github.com/siyuan-note/siyuan/issues/6492

This commit is contained in:
Liang Ding 2022-11-07 15:16:06 +08:00
parent afa8aed172
commit 56c671b0a8
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -560,7 +560,7 @@ const initKernel = (initData) => {
switch (code) {
case 20:
showErrorWindow('⚠️ 数据库被锁定 The database is locked',
`<div>数据库文件正在被其他程序锁定。如果你使用了第三方同步盘,请在思源运行期间关闭同步。</div><div>The database file is being locked by another program. If you use a third-party sync disk, please turn off sync while SiYuan is running.</div>`)
`<div>数据库文件正在被其他进程占用请检查是否同时存在多个内核进程SiYuan Kernel。</div><div>The database file is being occupied by other processes, please check whether there are multiple kernel processes (SiYuan Kernel) at the same time.</div>`)
break
case 21:
showErrorWindow('⚠️ 监听端口 ' + kernelPort + ' 失败 Failed to listen to port ' + kernelPort,