我依赖自建的 WebDAV,设置笔记的自动同步报以下错误:
backup.go:160: get cloud repo refs files failed: PROPFIND /main/siyuan/repo/refs/: 400
已确认:
1、WebDAV 通过浏览器,输入用户名、密码等信息后,一切正常。
2、在依次点击【设置】=》【云端】=》【云端同步目录中的设置按钮】,报
3、我的版本 3.1.1
4、系统日志为
I 2024/07/28 21:43:26 runtime.go:74: kernel is booting:
* ver [3.1.1]
* arch [amd64]
* os [alpine]
* pid [1]
* runtime mode [prod]
* working directory [/opt/siyuan]
* read only [false]
* container [docker]
* database [ver=20220501]
* workspace directory [/home/siyuan/SiYuan]
I 2024/07/28 21:43:26 conf.go:125: loaded conf [/home/siyuan/SiYuan/conf/conf.json]
I 2024/07/28 21:43:26 conf.go:498: user has disabled [Google Analytics]
I 2024/07/28 21:43:26 runtime.go:123: use network proxy [system]
I 2024/07/28 21:43:26 serve.go:127: kernel [pid=1] http server [0.0.0.0:6806] is booting
I 2024/07/28 21:43:26 conf.go:835: database size [16.31 MB], tree/block count [120/2184]
I 2024/07/28 21:43:26 working.go:193: kernel booted
I 2024/07/28 21:43:26 box.go:77: auto stat [trees=120, blocks=2184, dataSize=1.02 MB, assetsSize=30.01 kB]
I 2024/07/28 21:47:56 index.go:220: rebuilt database for notebook [20210808180117-czj9bvb] in [0.14s], tree [count=70, size=1.38 MB]
I 2024/07/28 21:47:56 index.go:290: resolved refs [37] in [88ms]
I 2024/07/28 21:54:19 mount.go:144: removed box [20210808180117-czj9bvb]
E 2024/07/28 21:57:20 backup.go:160: get cloud repo refs files failed: PROPFIND /main/siyuan/repo/refs/: 400
I 2024/07/28 22:15:32 repository.go:1281: syncing data repo [device=buvnwjbpfoyr, kernel=xgmt0ev, provider=3, mode=a/false]
I 2024/07/28 22:15:32 ref.go:50: got local latest [device=buvnwjbpfoyr/linux, id=bb326c44c059ae77acaeda0aee31463ff4561dc9, files=134, size=885.3 kB, created=2024-07-28 21:32:12]
I 2024/07/28 22:15:32 repo.go:595: walk data [files=134] cost [4.475101ms]
I 2024/07/28 22:15:32 ref.go:50: got local latest [device=buvnwjbpfoyr/linux, id=bb326c44c059ae77acaeda0aee31463ff4561dc9, files=134, size=885.3 kB, created=2024-07-28 21:32:12]
I 2024/07/28 22:15:32 ref.go:64: updated local latest to [device=buvnwjbpfoyr/linux, id=f48ff97b8c69ec75bc548ed7a81ea3e9ffcfdac2, files=134, size=885.3 kB, created=2024-07-28 22:15:32]
E 2024/07/28 22:15:32 sync_lock.go:104: unmarshal lock sync failed: unexpected end of JSON input
E 2024/07/28 22:15:32 sync_lock.go:107: remove unmarshalled lock sync failed: Remove main/siyuan/repo/lock-sync: 400
E 2024/07/28 22:15:32 repository.go:1309: sync data repo failed: Remove main/siyuan/repo/lock-sync: 400
I 2024/07/28 22:20:33 repository.go:1281: syncing data repo [device=buvnwjbpfoyr, kernel=xgmt0ev, provider=3, mode=a/false]
I 2024/07/28 22:20:33 ref.go:50: got local latest [device=buvnwjbpfoyr/linux, id=f48ff97b8c69ec75bc548ed7a81ea3e9ffcfdac2, files=134, size=885.3 kB, created=2024-07-28 22:15:32]
I 2024/07/28 22:20:33 repo.go:595: walk data [files=134] cost [4.542564ms]
I 2024/07/28 22:20:33 ref.go:50: got local latest [device=buvnwjbpfoyr/linux, id=f48ff97b8c69ec75bc548ed7a81ea3e9ffcfdac2, files=134, size=885.3 kB, created=2024-07-28 22:15:32]
E 2024/07/28 22:20:33 sync_lock.go:104: unmarshal lock sync failed: unexpected end of JSON input
E 2024/07/28 22:20:33 sync_lock.go:107: remove unmarshalled lock sync failed: Remove main/siyuan/repo/lock-sync: 400
E 2024/07/28 22:20:33 repository.go:1309: sync data repo failed: Remove main/siyuan/repo/lock-sync: 400
I 2024/07/28 22:25:34 repository.go:1281: syncing data repo [device=buvnwjbpfoyr, kernel=xgmt0ev, provider=3, mode=a/false]
I 2024/07/28 22:25:34 ref.go:50: got local latest [device=buvnwjbpfoyr/linux, id=f48ff97b8c69ec75bc548ed7a81ea3e9ffcfdac2, files=134, size=885.3 kB, created=2024-07-28 22:15:32]
I 2024/07/28 22:25:34 repo.go:595: walk data [files=134] cost [4.575218ms]
I 2024/07/28 22:25:34 ref.go:50: got local latest [device=buvnwjbpfoyr/linux, id=f48ff97b8c69ec75bc548ed7a81ea3e9ffcfdac2, files=134, size=885.3 kB, created=2024-07-28 22:15:32]
E 2024/07/28 22:25:34 sync_lock.go:104: unmarshal lock sync failed: unexpected end of JSON input
E 2024/07/28 22:25:34 sync_lock.go:107: remove unmarshalled lock sync failed: Remove main/siyuan/repo/lock-sync: 400
E 2024/07/28 22:25:34 repository.go:1309: sync data repo failed: Remove main/siyuan/repo/lock-sync: 400
E 2024/07/28 22:30:28 backup.go:160: get cloud repo refs files failed: PROPFIND /main/siyuan/repo/refs/: 400
I 2024/07/28 22:30:35 repository.go:1281: syncing data repo [device=buvnwjbpfoyr, kernel=xgmt0ev, provider=3, mode=a/false]
I 2024/07/28 22:30:35 ref.go:50: got local latest [device=buvnwjbpfoyr/linux, id=f48ff97b8c69ec75bc548ed7a81ea3e9ffcfdac2, files=134, size=885.3 kB, created=2024-07-28 22:15:32]
I 2024/07/28 22:30:35 repo.go:595: walk data [files=134] cost [4.895234ms]
I 2024/07/28 22:30:35 ref.go:50: got local latest [device=buvnwjbpfoyr/linux, id=f48ff97b8c69ec75bc548ed7a81ea3e9ffcfdac2, files=134, size=885.3 kB, created=2024-07-28 22:15:32]
E 2024/07/28 22:30:35 sync_lock.go:104: unmarshal lock sync failed: unexpected end of JSON input
E 2024/07/28 22:30:35 sync_lock.go:107: remove unmarshalled lock sync failed: Remove main/siyuan/repo/lock-sync: 400
E 2024/07/28 22:30:35 repository.go:1309: sync data repo failed: Remove main/siyuan/repo/lock-sync: 400
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于