Skip to content
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

未登录情况下创建数据快照失败 #6448

Closed
88250 opened this issue Nov 2, 2022 · 12 comments
Closed

未登录情况下创建数据快照失败 #6448

88250 opened this issue Nov 2, 2022 · 12 comments
Assignees
Labels
Milestone

Comments

@88250
Copy link
Member

88250 commented Nov 2, 2022

https://ld246.com/article/1667325461654

@88250 88250 added the Bug label Nov 2, 2022
@88250 88250 added this to the 2.4.10 milestone Nov 2, 2022
@88250 88250 self-assigned this Nov 2, 2022
@88250 88250 closed this as completed Nov 2, 2022
@whuwangyong
Copy link

好像没有修复。2.5.0还是存在。

左上角显示:创建数据快照失败:not found index
然后这个进度条一直不结束:

image

日志

I 2022/11/22 10:33:17 working.go:110: 
      ___                                   ___           ___           ___
     /  /\        ___           ___        /__/\         /  /\         /__/\
    /  /:/_      /  /\         /__/|       \  \:\       /  /::\        \  \:\
   /  /:/ /\    /  /:/        |  |:|        \  \:\     /  /:/\:\        \  \:\
  /  /:/ /::\  /__/::\        |  |:|    ___  \  \:\   /  /:/~/::\   _____\__\:\
 /__/:/ /:/\:\ \__\/\:\__   __|__|:|   /__/\  \__\:\ /__/:/ /:/\:\ /__/::::::::\
 \  \:\/:/~/:/    \  \:\/\ /__/::::\   \  \:\ /  /:/ \  \:\/:/__\/ \  \:\~~\~~\/
  \  \::/ /:/      \__\::/    ~\~~\:\   \  \:\  /:/   \  \::/       \  \:\  ~~~
   \__\/ /:/       /__/:/       \  \:\   \  \:\/:/     \  \:\        \  \:\
     /__/:/        \__\/         \__\/    \  \::/       \  \:\        \  \:\
     \__\/                                 \__\/         \__\/         \__\/
I 2022/11/22 10:33:17 runtime.go:43: kernel is booting:
    * ver [2.5.0]
    * arch [amd64]
    * pid [3488]
    * runtime mode [prod]
    * working directory [C:\Program Files\WindowsApps\89C2A984.SiYuan_2.5.0.0_x64__1qfd3tsw4ngc2\app\resources]
    * read only [false]
    * container [std]
    * database [ver=20220501]
    * workspace directory [C:\Users\2022\Documents\SiYuan]
I 2022/11/22 10:33:17 conf.go:227: using Microsoft Store edition
I 2022/11/22 10:33:17 port.go:65: check running kernel elapsed [0ms]
I 2022/11/22 10:33:17 serve.go:108: listen port elapsed [1ms]
I 2022/11/22 10:33:17 serve.go:115: kernel [pid=3488] is booting [http://127.0.0.1:8600]
I 2022/11/22 10:33:17 serve.go:123: kernel reverse proxy server [6806] is booting
I 2022/11/22 10:33:17 working.go:362: built-in pandoc [ver=2.19.2, bin=C:\Users\2022\Documents\SiYuan\temp\pandoc\bin\pandoc.exe]
I 2022/11/22 10:33:17 conf.go:610: database size [28 MB], tree/block count [337/11125]
I 2022/11/22 10:33:17 working.go:148: kernel booted
I 2022/11/22 10:34:17 box.go:79: auto stat [trees=337, blocks=11125, dataSize=0 B, assetsSize=0 B]
I 2022/11/22 10:35:12 conf.go:391: exiting kernel [force=false, execInstallPkg=0]
I 2022/11/22 10:35:12 database.go:1122: closed database
I 2022/11/22 10:35:12 conf.go:720: cleared workspace temp
I 2022/11/22 10:36:10 working.go:110: 
      ___                                   ___           ___           ___
     /  /\        ___           ___        /__/\         /  /\         /__/\
    /  /:/_      /  /\         /__/|       \  \:\       /  /::\        \  \:\
   /  /:/ /\    /  /:/        |  |:|        \  \:\     /  /:/\:\        \  \:\
  /  /:/ /::\  /__/::\        |  |:|    ___  \  \:\   /  /:/~/::\   _____\__\:\
 /__/:/ /:/\:\ \__\/\:\__   __|__|:|   /__/\  \__\:\ /__/:/ /:/\:\ /__/::::::::\
 \  \:\/:/~/:/    \  \:\/\ /__/::::\   \  \:\ /  /:/ \  \:\/:/__\/ \  \:\~~\~~\/
  \  \::/ /:/      \__\::/    ~\~~\:\   \  \:\  /:/   \  \::/       \  \:\  ~~~
   \__\/ /:/       /__/:/       \  \:\   \  \:\/:/     \  \:\        \  \:\
     /__/:/        \__\/         \__\/    \  \::/       \  \:\        \  \:\
     \__\/                                 \__\/         \__\/         \__\/
I 2022/11/22 10:36:10 runtime.go:43: kernel is booting:
    * ver [2.5.0]
    * arch [amd64]
    * pid [9828]
    * runtime mode [prod]
    * working directory [C:\Program Files\WindowsApps\89C2A984.SiYuan_2.5.0.0_x64__1qfd3tsw4ngc2\app\resources]
    * read only [false]
    * container [std]
    * database [ver=20220501]
    * workspace directory [C:\Users\2022\Documents\SiYuan]
I 2022/11/22 10:36:10 conf.go:227: using Microsoft Store edition
I 2022/11/22 10:36:10 port.go:65: check running kernel elapsed [0ms]
I 2022/11/22 10:36:10 serve.go:108: listen port elapsed [0ms]
I 2022/11/22 10:36:10 serve.go:115: kernel [pid=9828] is booting [http://127.0.0.1:8911]
I 2022/11/22 10:36:10 serve.go:123: kernel reverse proxy server [6806] is booting
I 2022/11/22 10:36:10 working.go:362: built-in pandoc [ver=2.19.2, bin=C:\Users\2022\Documents\SiYuan\temp\pandoc\bin\pandoc.exe]
I 2022/11/22 10:36:10 conf.go:610: database size [28 MB], tree/block count [337/11125]
I 2022/11/22 10:36:10 working.go:148: kernel booted
I 2022/11/22 10:37:10 box.go:79: auto stat [trees=337, blocks=11125, dataSize=0 B, assetsSize=0 B]

@88250
Copy link
Member Author

88250 commented Nov 22, 2022

@whuwangyong 重置一次数据仓库试试

@whuwangyong
Copy link

重置过了。我就是第一次用这功能,点击通过密码生成密钥。

@88250
Copy link
Member Author

88250 commented Nov 22, 2022

我这里刚刚在开发版上测试未登录账号情况下重置数据仓库后可以通过密码生成密钥并正常进行仓库快照的。

@whuwangyong
Copy link

录了个屏
动画

@88250
Copy link
Member Author

88250 commented Nov 22, 2022

换一个工作空间试试,不要用默认 C 盘下的路径。

@whuwangyong
Copy link

换到D盘也是这样。
image

@88250
Copy link
Member Author

88250 commented Nov 22, 2022

有空的话帮忙试下最新的开发版能否重现 https://github.com/siyuan-note/siyuan/releases

@whuwangyong
Copy link

试了,也是这样呢。

我是Win11。

I 2022/11/22 11:39:36 working.go:110: 
      ___                                   ___           ___           ___
     /  /\        ___           ___        /__/\         /  /\         /__/\
    /  /:/_      /  /\         /__/|       \  \:\       /  /::\        \  \:\
   /  /:/ /\    /  /:/        |  |:|        \  \:\     /  /:/\:\        \  \:\
  /  /:/ /::\  /__/::\        |  |:|    ___  \  \:\   /  /:/~/::\   _____\__\:\
 /__/:/ /:/\:\ \__\/\:\__   __|__|:|   /__/\  \__\:\ /__/:/ /:/\:\ /__/::::::::\
 \  \:\/:/~/:/    \  \:\/\ /__/::::\   \  \:\ /  /:/ \  \:\/:/__\/ \  \:\~~\~~\/
  \  \::/ /:/      \__\::/    ~\~~\:\   \  \:\  /:/   \  \::/       \  \:\  ~~~
   \__\/ /:/       /__/:/       \  \:\   \  \:\/:/     \  \:\        \  \:\
     /__/:/        \__\/         \__\/    \  \::/       \  \:\        \  \:\
     \__\/                                 \__\/         \__\/         \__\/
I 2022/11/22 11:39:36 runtime.go:43: kernel is booting:
    * ver [2.5.0]
    * arch [amd64]
    * pid [7924]
    * runtime mode [prod]
    * working directory [C:\Program Files\SiYuan\resources]
    * read only [false]
    * container [std]
    * database [ver=20220501]
    * workspace directory [D:\documents\SiYuan]
I 2022/11/22 11:39:36 port.go:65: check running kernel elapsed [0ms]
I 2022/11/22 11:39:36 serve.go:108: listen port elapsed [0ms]
I 2022/11/22 11:39:36 serve.go:115: kernel [pid=7924] is booting [http://127.0.0.1:14866]
I 2022/11/22 11:39:36 serve.go:123: kernel reverse proxy server [6806] is booting
I 2022/11/22 11:39:36 working.go:362: built-in pandoc [ver=2.19.2, bin=D:\documents\SiYuan\temp\pandoc\bin\pandoc.exe]
I 2022/11/22 11:39:36 conf.go:616: database size [27 MB], tree/block count [289/9157]
I 2022/11/22 11:39:36 working.go:148: kernel booted
I 2022/11/22 11:40:36 box.go:79: auto stat [trees=289, blocks=9157, dataSize=0 B, assetsSize=0 B]
I 2022/11/22 11:41:27 conf.go:397: exiting kernel [force=false, execInstallPkg=0]
I 2022/11/22 11:41:27 database.go:1126: closed database
I 2022/11/22 11:41:27 conf.go:726: cleared workspace temp

@88250
Copy link
Member Author

88250 commented Nov 22, 2022

工作空间没有使用符号链接吧?

@88250
Copy link
Member Author

88250 commented Nov 22, 2022

再看下工作空间/repo/refs/ 下面是否有 latest 文件。

@whuwangyong
Copy link

工作空间没有使用符号链接吧?

空间下的data目录是符号链接。

换一个没有符号链接的空间就正常了,即使使用默认的C盘也没问题。

不好意思,一开始忽略了符号链接这个信息。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants