确定远程连接是没问题的,用 apache-webdav 搭建的,里面除了用与笔记同步服务外,也在用与连接媒体服务。所以可以很肯定的回答服务器那边没有问题。另外,如果把域名改成局域网 ip 也是没有问题。
WebDAV 协议能不能搞好点啊,一会能用一会不能用
相关帖子
-
我把数据库重置了,把服务器里的文件全删了,重启了思源后重新输入密码同步,依旧不行。下面是最近的服务器日志
10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "PROPFIND /notebook/siyuan/repo/objects/ HTTP/1.1" 207 4272 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "PROPFIND /notebook/siyuan/repo/objects/47 HTTP/1.1" 404 196 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "PUT /notebook/siyuan/repo/objects/c6/c54cb442d4176f118fa5df43295f0984eb1574 HTTP/1.1" 201 243 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "MKCOL /notebook/siyuan/repo/objects/47/ HTTP/1.1" 201 207 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "PROPFIND /notebook/siyuan/repo/objects/ HTTP/1.1" 207 4869 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "PROPFIND /notebook/siyuan/repo/objects/c6 HTTP/1.1" 301 267 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "PUT /notebook/siyuan/repo/objects/1c/72d3473c2ecb5c541e015186e5d73675556a51 HTTP/1.1" 201 243 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "PROPFIND /notebook/siyuan/repo/objects/c5 HTTP/1.1" 404 196 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "DELETE /notebook/siyuan/repo/lock-sync HTTP/1.1" 204 - "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "MKCOL /notebook/siyuan/repo/objects/c5/ HTTP/1.1" 201 207 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "PUT /notebook/siyuan/repo/objects/47/dca7e9c7ed8512e6b6266d915b2d0e1c7ab35e HTTP/1.1" 201 243 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "PROPFIND /notebook/siyuan/repo/objects/ed HTTP/1.1" 404 196 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "MKCOL /notebook/siyuan/repo/objects/ed/ HTTP/1.1" 201 207 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "PUT /notebook/siyuan/repo/objects/c5/5acc5f20c394f9c9ff00f2d2506f5365196ad4 HTTP/1.1" 201 243 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "PROPFIND /notebook/siyuan/repo/objects/d7 HTTP/1.1" 404 196 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "PUT /notebook/siyuan/repo/objects/ed/2f2351d989869d41aab5645968c131adc32da1 HTTP/1.1" 201 243 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "MKCOL /notebook/siyuan/repo/objects/d7/ HTTP/1.1" 201 207 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "PROPFIND /notebook/siyuan/repo/objects/e8 HTTP/1.1" 404 196 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:19 +0000] "PUT /notebook/siyuan/repo/objects/d7/9083f3c1a78b1f66d921f266f435938632a0b0 HTTP/1.1" 201 243 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:20 +0000] "MKCOL /notebook/siyuan/repo/objects/e8/ HTTP/1.1" 201 207 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:20 +0000] "PROPFIND /notebook/siyuan/repo/objects/01 HTTP/1.1" 404 196 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:20 +0000] "PUT /notebook/siyuan/repo/objects/e8/d05b35256c66f8ba283fdcec1ec4f082031dde HTTP/1.1" 201 243 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:20 +0000] "MKCOL /notebook/siyuan/repo/objects/01/ HTTP/1.1" 201 207 "-" "SiYuan/3.0.4 std/darwin" 10.1.1.2 - lilingfei [07/Apr/2024:03:40:20 +0000] "PUT /notebook/siyuan/repo/objects/01/b2f7fe7fbb0a834254f9feeea93a0a9f4880e8 HTTP/1.1" 201 243 "-" "SiYuan/3.0.4 std/darwin"
1 回复 - 其他回帖
-
不管是开启代理还是选择直接连接,均是报
云端存储服务提供商网络连通性校验异常,请检查网络配置 (Provider: WebDAV) v3.0.4
的错误。下面是点击同步按钮后服务端返回的日志
10.1.1.2 - lilingfei [03/Apr/2024:12:28:20 +0000] "GET /notebook/siyuan/repo/refs/latest HTTP/1.1" 200 40 "-" "SiYuan/3.0.4 std/darwin"
10.1.1.2 - lilingfei [03/Apr/2024:12:28:20 +0000] "PROPFIND /notebook/siyuan/repo/objects/ HTTP/1.1" 207 153787 "-" "SiYuan/3.0.4 std/darwin"
10.1.1.2 - lilingfei [03/Apr/2024:12:28:20 +0000] "PROPFIND /notebook/siyuan/repo/objects/ HTTP/1.1" 207 153787 "-" "SiYuan/3.0.4 std/darwin"
10.1.1.2 - lilingfei [03/Apr/2024:12:28:21 +0000] "PROPFIND /notebook/siyuan/repo/indexes HTTP/1.1" 301 264 "-" "SiYuan/3.0.4 std/darwin"
10.1.1.2 - lilingfei [03/Apr/2024:12:28:21 +0000] "PUT /notebook/siyuan/repo/indexes-v2.json HTTP/1.1" 204 - "-" "SiYuan/3.0.4 std/darwin"
10.1.1.2 - lilingfei [03/Apr/2024:12:28:21 +0000] "DELETE /notebook/siyuan/repo/lock-sync HTTP/1.1" 204 - "-" "SiYuan/3.0.4 std/darwin"
10.1.1.2 - - [03/Apr/2024:14:48:22 +0000] "GET / HTTP/1.1" 401 381 "-" "SiYuan/3.0.4 std/darwin"
10.1.1.2 - - [03/Apr/2024:14:48:26 +0000] "GET / HTTP/1.1" 401 381 "-" "SiYuan/3.0.4 std/darwin"
10.1.1.2 - - [03/Apr/2024:14:48:28 +0000] "GET / HTTP/1.1" 401 381 "-" "SiYuan/3.0.4 std/darwin"
10.1.1.2 - - [03/Apr/2024:14:48:29 +0000] "GET / HTTP/1.1" 401 381 "-" "SiYuan/3.0.4 std/darwin"
10.1.1.2 - - [03/Apr/2024:14:48:29 +0000] "GET / HTTP/1.1" 401 381 "-" "SiYuan/3.0.4 std/darwin"
10.1.1.2 - lilingfei [03/Apr/2024:14:54:50 +0000] "PROPFIND / HTTP/1.1" 207 2397 "-" "SiYuan/3.0.4 std/darwin"
10.1.1.2 - lilingfei [03/Apr/2024:14:54:50 +0000] "PROPFIND / HTTP/1.1" 207 2397 "-" "SiYuan/3.0.4 std/darwin"1 回复 -
就用的 mgutt/docker-apachewebdav 这个容器,文件夹可写,文件不可写,目录所有者是 nobody,清除数据库,重制数据仓库依旧不能同步,但使用内网 ip 是可以的!如果是权限问题,不应该是内网可同步外网不可。如果是代理问题,同一个容器不应该 infuse 可以访问而思源不能访问。希望能提供一些有价值的改进方式,毕竟这个功能是付费的。
1 回复 - 查看全部回帖
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于