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
浏览器端开启访问鉴权后文档更新未保存 #5096
Comments
是不是进入块聚焦了,看下面包屑。 PS 请更新到最新版。 |
|
这个也是权限问题,建议先把这个权限问题搞好,Docker 部署的话看下文档,需要使用对应用户。 |
嗯,已处理权限问题,并更新到最新版本。后面看下问题是否复现吧。 |
问题复现了,看来默认 cookie 有效期是一个月。
推测和前端提交逻辑有关系,提交没成功的情况下,没有及时报错或跳转到登录页面。 环境信息:
|
谢谢,已经能够重现问题,下个版本改进。 |
该问题是否已经被报告过了? Is there an existing issue for this?
I have searched the existing issues
描述问题 Describe the problem
期待的结果 Expected result
可以看到这两天更新的内容。
截屏或者录屏演示 Screenshot or screen recording presentation
No response
版本环境 Version environment
日志文件 Log file
// 前面都是同样的信息,mod time failed: chtimes /siyuanworkspace/data/.siyuan/conf.json: operation not permitted,一直到5月30日早上7点多
E 2022/06/02 07:34:32 workspace.go:81: change file [/siyuanworkspace/data/.siyuan/conf.json] mod time failed: chtimes /siyuanworkspace/data/.siyuan/conf.json: operation not permitted
E 2022/06/02 07:34:33 workspace.go:81: change file [/siyuanworkspace/data/.siyuan/conf.json] mod time failed: chtimes /siyuanworkspace/data/.siyuan/conf.json: operation not permitted
E 2022/06/02 12:03:26 serve.go:224: get cookie failed: securecookie: expired timestamp
E 2022/06/02 12:03:26 serve.go:224: get cookie failed: securecookie: expired timestamp
E 2022/06/02 12:03:26 serve.go:224: get cookie failed: securecookie: expired timestamp
E 2022/06/02 12:03:26 serve.go:224: get cookie failed: securecookie: expired timestamp
E 2022/06/02 12:03:26 serve.go:224: get cookie failed: securecookie: expired timestamp
E 2022/06/02 12:03:26 serve.go:224: get cookie failed: securecookie: expired timestamp
E 2022/06/04 10:13:56 workspace.go:81: change file [/siyuanworkspace/data/.siyuan/conf.json] mod time failed: chtimes /siyuanworkspace/data/.siyuan/conf.json: operation not permitted
E 2022/06/04 10:13:56 workspace.go:81: change file [/siyuanworkspace/data/.siyuan/conf.json] mod time failed: chtimes /siyuanworkspace/data/.siyuan/conf.json: operation not permitted
E 2022/06/04 10:13:57 workspace.go:81: change file [/siyuanworkspace/data/.siyuan/conf.json] mod time failed: chtimes /siyuanworkspace/data/.siyuan/conf.json: operation not permitted
I 2022/06/04 10:17:58 index.go:179: rebuilt database for notebook [20210808180117-czj9bvb] in [0.19s], tree stat [count=47, size=997 kB]
I 2022/06/04 10:17:58 index.go:189: resolving refs...
I 2022/06/04 10:17:58 index.go:316: resolved refs [77]
E 2022/06/04 10:18:11 assets.go:673: copy tree assets from [[/siyuanworkspace/data/20210808180117-czj9bvb/assets]] to [/siyuanworkspace/data/assets] failed: chmod /siyuanworkspace/data/assets/blockquote-20210512170136-ls06uyh.svg: operation not permitted
E 2022/06/04 10:18:11 workspace.go:81: change file [/siyuanworkspace/data/.siyuan/conf.json] mod time failed: chtimes /siyuanworkspace/data/.siyuan/conf.json: operation not permitted
更多信息 More information
有什么办法可以恢复这两天写的内容吗?要崩溃了 :(
The text was updated successfully, but these errors were encountered: