同步失败:锁定云端同步目录失败 (Provider: SiYuan) v3.0.17

问题

Android 设备和 Mac 同步失败。

环境

昨天刚注册的账号,还在试用订阅。

Mac 端设置的自动生成密钥,然后拷贝到 Android App。

App 都是最新版。

尝试无解

重新登录。

重新设置同步目录,并生成新的密钥。

  • 思源笔记

    思源笔记是一款隐私优先的个人知识管理系统,支持完全离线使用,同时也支持端到端加密同步。

    融合块、大纲和双向链接,重构你的思维。

    22080 引用 • 88163 回帖 • 2 关注
  • Q&A

    提问之前请先看《提问的智慧》,好的问题比好的答案更有价值。

    7972 引用 • 36480 回帖 • 166 关注

相关帖子

欢迎来到这里!

我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。

注册 关于
请输入回帖内容 ...
  • sy11goseek
    作者
    I 2024/06/28 07:42:53 box.go:77: auto stat [trees=69, blocks=2652, dataSize=3.57 MB, assetsSize=2.05 MB]
    E 2024/06/28 07:42:55 siyuan.go:82: upload object [/storage/emulated/0/Android/data/org.b3log.siyuan/files/siyuan/repo/lock-sync] failed: invalid multipart format: multipart: NextPart: EOF
    E 2024/06/28 07:42:55 siyuan.go:88: error detail: {"error":"invalid multipart format: multipart: NextPart: EOF","reqid":"l4IAAABo1D0KAd0X","code":400}
    E 2024/06/28 07:42:58 siyuan.go:99: upload object [/storage/emulated/0/Android/data/org.b3log.siyuan/files/siyuan/repo/lock-sync] failed: invalid multipart format: multipart: NextPart: EOF
    E 2024/06/28 07:42:58 siyuan.go:106: error detail: {"error":"invalid multipart format: multipart: NextPart: EOF","reqid":"5XwAAAAubsAKAd0X","code":400}
    E 2024/06/28 07:42:58 sync_lock.go:159: upload lock sync failed: invalid multipart format: multipart: NextPart: EOF
    E 2024/06/28 07:42:58 repository.go:1307: sync data repo failed: lock cloud repo failed
    I 2024/06/28 07:43:10 repository.go:1279: syncing data repo [device=uw9per65l9y6, kernel=lhaotvc, provider=0, mode=a/true]
    I 2024/06/28 07:43:10 ref.go:50: got local latest [device=uw9per65l9y6/android, id=f7f084c58c0ef26518c8f186f188168281ad798b, files=7, size=7.62 kB, created=2024-06-28 07:37:28]
    I 2024/06/28 07:43:10 walk.go:42: walk dir [/storage/emulated/0/Android/data/org.b3log.siyuan/files/siyuan/data/] cost [24.119739ms]
    I 2024/06/28 07:43:10 repo.go:595: walk data [files=7] cost [39.916407ms]
    I 2024/06/28 07:43:10 ref.go:50: got local latest [device=uw9per65l9y6/android, id=f7f084c58c0ef26518c8f186f188168281ad798b, files=7, size=7.62 kB, created=2024-06-28 07:37:28]
    E 2024/06/28 07:43:11 siyuan.go:82: upload object [/storage/emulated/0/Android/data/org.b3log.siyuan/files/siyuan/repo/lock-sync] failed: invalid multipart format: multipart: NextPart: EOF
    E 2024/06/28 07:43:11 siyuan.go:88: error detail: {"error":"invalid multipart format: multipart: NextPart: EOF","reqid":"DSQAAAAa9vkNAd0X","code":400}
    E 2024/06/28 07:43:14 siyuan.go:99: upload object [/storage/emulated/0/Android/data/org.b3log.siyuan/files/siyuan/repo/lock-sync] failed: invalid multipart format: multipart: NextPart: EOF
    E 2024/06/28 07:43:14 siyuan.go:106: error detail: {"error":"invalid multipart format: multipart: NextPart: EOF","reqid":"sEEAAABhkH8OAd0X","code":400}
    E 2024/06/28 07:43:14 sync_lock.go:159: upload lock sync failed: invalid multipart format: multipart: NextPart: EOF
    E 2024/06/28 07:43:14 repository.go:1307: sync data repo failed: lock cloud repo failed
    
    
  • 88250

    抱歉,我这里无法重现问题。

  • sy11goseek
    作者

    没办法帮忙尝试定位一下问题?

    1 回复
  • 去群里问问大家能不能解决吧:

    image.png

  • CIao 3 评论

    我也有这个问题。

    S3 测试正常:

    ciao:~$ mc alias set z4s http://s3.***.com tHKHWgyQt9wrppbzvEKb tDBdk7HVx*****************
    Added `z4s` successfully.
    ciao:~$ mc admin info z4s
    ●  ***
    Uptime: 22 minutes
    Version: 2023-12-20T01:00:02Z
    Network: 1/1 OK
    Drives: 1/1 OK
    Pool: 1
    
    ciao:~$ mc cp README.md z4s/siyuan
    /home/ciao/README.md:    13 B / 13 B ┃▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓┃ 712 B/s 0s
    ciao:~$
    

    siyuan log:

    E 2024/06/28 17:00:30 sync_lock.go:159: upload lock sync failed: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.
    
    重置数据仓库,使用新的 bucket 都提示锁定目录失败。
    CIao
    再测试阿里云 OSS 可以使用。看来是当前思源版本与 minio S3(2023-12-30)突然不兼容了
    CIao
    minio 更新到 240628 版本后重新配置已可用。
    CIao
  • sy11goseek
    作者

    vc

请输入回帖内容 ...