-
关于思源笔记同步
2021-07-15 17:27除了自带的备份恢复外,
方法有几种, 需要一定的动手能力:
- DOCKER, 用同步工具同步目录. 好处是你还会收获一个网页版思源. (手机直接用浏览器访问就行了, 不用 APK)
- 直接用同步工具同步手机目录和电脑目录. 比如微粒同步. 我没用过, 感觉必须同时开着 PC 和手机来同步.而手机端很可能就被电源管理杀掉了.
- PC 端用 Ondrive/NAS 之类的网盘备份, 手机端用 FolderSync 和 Ondrive 同步. 这样设备件允许有一定的时间差, 而且 OneDrive 负责容灾.
因为我公司网络环境必须用代理, 而思源没法在代理环境下进行网络备份. 所以我都是借用第三方工具的.
-
粘贴图片无法完成
2021-04-02 12:11试了 10 几次, 最快的 200ms, 经常 7s
出问题这次 2.2min, 另外还有一次 9min
我不知道返回值是指什么, 姑且都贴上
headers
Request URL: http://127.0.0.1:6806/upload Request Method: POST Status Code: 200 OK Remote Address: 127.0.0.1:6806 Referrer Policy: strict-origin-when-cross-origin Content-Length: 110 Content-Type: application/json; charset=utf-8 Date: Fri, 02 Apr 2021 03:50:26 GMT Accept: */* Accept-Encoding: gzip, deflate, br Accept-Language: zh-CN Cache-Control: no-cache Connection: keep-alive Content-Length: 53412 Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryyplrTXRJwZrZCnLd Host: 127.0.0.1:6806 Pragma: no-cache Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-origin User-Agent: SiYuan/1.1.6 https://b3log.org/siyuan X-Mode: ir X-PATH: %2Fdaily%20note%2F2021%2F04%2F2021-04-02.md X-URL: http%3A%2F%2F127.0.0.1%3A6806%2Fsiyuan%2F1607012782804%2FSiyuanNote%2F file[]: (binary)
preview
{code: 0, msg: "",…} code: 0 data: {errFiles: null, succMap: {image.png: "assets/image-20210402114814-5thyad8.png"}} errFiles: null succMap: {image.png: "assets/image-20210402114814-5thyad8.png"} image.png: "assets/image-20210402114814-5thyad8.png" msg: ""
response
{"code":0,"msg":"","data":{"errFiles":null,"succMap":{"image.png":"assets/image-20210402114814-5thyad8.png"}}}
-
粘贴图片无法完成
2021-04-02 11:25在不懈努力反复尝试下复现了.
开发面板和 log()如下
E 2021/04/02 11:10:21 box.go:772: [git add -A] for path [C:\Users\lity\Desktop\CloudSync\Obsidian\Notes\SiyuanNote] failed: exit status 128, output [fatal: not a git repository (or any of the parent directories): .git ] E 2021/04/02 11:11:48 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:11:49 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:11:51 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:11:54 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:11:55 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:12:11 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:12:17 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:12:17 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:12:17 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:12:17 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:12:17 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:12:17 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:14:06 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:14:45 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:14:45 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:14:45 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:14:47 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:14:47 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:14:47 box.go:91: parse box conf [.siyuan/conf.json] failed: unexpected end of JSON input E 2021/04/02 11:15:21 box.go:772: [git add -A] for path [C:\Users\lity\Desktop\CloudSync\Obsidian\Notes\SiyuanNote] failed: exit status 128, output [fatal: not a git repository (or any of the parent directories): .git ] E 2021/04/02 11:20:21 box.go:772: [git add -A] for path [C:\Users\lity\Desktop\CloudSync\Obsidian\Notes\SiyuanNote] failed: exit status 128, output [fatal: not a git repository (or any of the parent directories): .git ]
-
粘贴图片无法完成
2021-04-02 08:35是的, 我也遇到这个问题, 不光是图片, 有时候附件也是这样.
因为是偶尔遇到(一天 2 次吧), 刻意录屏的时候都失败了.
另外, 我最终发现, 就一直等下去, 多等几分钟, 就会成功了.
-
如何实现分栏功能?
2021-03-12 15:45MD 类的编辑器很难支持, joplin, obsidian, typora 都没支持过.
Notion\wolai 这种模块化的会支持
语雀和飞书可能是因为定位是 word 类, 所以还没支持. 但技术上应该可以的吧.
听说 siyuan 有相应的开发计划, 但目前还不清楚会不会实现, 实现起来效果如何.
-
关于思源中链接的处理方式
2021-03-10 09:04ctrl+点击
进入链接编辑, 这个可以有.我的话写文档的时候图省事, 直接把文件或链接拖拽进去, 过 1 周再 review 的时候经常会想要改文档名, 所以改的多, 打开的少.