全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1201|回复: 10

AutoRclone复制错误

[复制链接]
发表于 2020-7-11 12:00:49 | 显示全部楼层 |阅读模式
本帖最后由 darkst 于 2020-7-12 10:19 编辑

AutoRclone复制总是出现错误

  1. 2020/02/12 00:25:32 Failed to rc: connection failed: Post http://localhost:5572/core/stats: dial tcp 127.0.0.1:5572: connect: connection refused
  2. 2020/02/12 00:25:32 Failed to rc: connection failed: Post http://localhost:5572/core/stats: dial tcp 127.0.0.1:5572: connect: connection refused

  3. rclone日志
  4. 2020/02/12 00:28:49 ERROR : : error listing: directory not found
  5. 2020/02/12 00:28:49 Failed to size with 2 errors: last error was: directory not found2020/02/12 00:25:32 Failed to rc: connection failed: Post http://localhost:5572/core/stats: dial tcp 127.0.0.1:5572: connect: connection refused

  6. rclone日志
  7. 2020/02/12 00:28:49 ERROR : : error listing: directory not found
  8. 2020/02/12 00:28:49 Failed to size with 2 errors: last error was: directory not found
复制代码


我运行rclone --config rclone.conf size --disable ListR src001:,rclone --config rclone.conf size --disable ListR dst001:
都是错误 http://localhost:5572/core/stats: dial tcp 127.0.0.1:5572: connect: connection refused

我测试执行python3 gen_sa_accounts.py --create-sas ProjectName SA账号下载,与Google API链接是正常的



关闭防火墙
修改PORT也是无解

  1. rclone --config ./rclone.conf copy --drive-server-side-across-configs --rc --rc-addr="localhost:19999" -vv --ignore-existing --tpslimit 3 --transfers 3 --drive-chunk-size 32M --disable ListR --drive-acknowledge-abuse --log-file=log_rclone.txt "0ADNOdIXB2d12Uk9PVA" "dst080:71003" &
  2. >> Let us go dst080: 01:17:07
  3. 2020/07/11 01:17:17 Failed to rc: connection failed: Post "http://localhost:19999/core/pid": dial tcp [::1]:19999: connect: connection refused
  4. 2020/07/11 01:17:17 Failed to rc: connection failed: Post "http://localhost:19999/core/stats": dial tcp [::1]:19999: connect: connection refused
  5. 2020/07/11 01:17:17 Failed to rc: connection failed: Post "http://localhost:19999/core/stats": dial tcp [::1]:19999: connect: connection refused
  6. 2020/07/11 01:17:17 Failed to rc: connection failed: Post "http://localhost:19999/core/stats": dial tcp [::1]:19999: connect: connection refused
  7. No rclone task detected (possibly done for this account). (1/3)
  8. rclone --config ./rclone.conf copy --drive-server-side-across-configs --rc --rc-addr="localhost:19999" -vv --ignore-existing --tpslimit 3 --transfers 3 --drive-chunk-size 32M --disable ListR --drive-acknowledge-abuse --log-file=log_rclone.txt "0ADNOdIXB2d12Uk9PVA" "dst081:71003" &
  9. >> Let us go dst081: 01:17:17
  10. 2020/07/11 01:17:28 Failed to rc: connection failed: Post "http://localhost:19999/core/pid": dial tcp [::1]:19999: connect: connection refused
  11. 2020/07/11 01:17:28 Failed to rc: connection failed: Post "http://localhost:19999/core/stats": dial tcp [::1]:19999: connect: connection refused
  12. 2020/07/11 01:17:28 Failed to rc: connection failed: Post "http://localhost:19999/core/stats": dial tcp [::1]:19999: connect: connection refused
  13. 2020/07/11 01:17:28 Failed to rc: connection failed: Post "http://localhost:19999/core/stats": dial tcp [::1]:19999: connect: connection refused
  14. No rclone task detected (possibly done for this account). (2/3)
  15. rclone --config ./rclone.conf copy --drive-server-side-across-configs --rc --rc-addr="localhost:19999" -vv --ignore-existing --tpslimit 3 --transfers 3 --drive-chunk-size 32M --disable ListR --drive-acknowledge-abuse --log-file=log_rclone.txt "0ADNOdIXB2d12Uk9PVA" "dst082:71003" &
  16. >> Let us go dst082: 01:17:28
  17. 2020/07/11 01:17:38 Failed to rc: connection failed: Post "http://localhost:19999/core/pid": dial tcp [::1]:19999: connect: connection refused
  18. 2020/07/11 01:17:38 Failed to rc: connection failed: Post "http://localhost:19999/core/stats": dial tcp [::1]:19999: connect: connection refused
  19. 2020/07/11 01:17:38 Failed to rc: connection failed: Post "http://localhost:19999/core/stats": dial tcp [::1]:19999: connect: connection refused
  20. 2020/07/11 01:17:38 Failed to rc: connection failed: Post "http://localhost:19999/core/stats": dial tcp [::1]:19999: connect: connection refused
  21. No rclone task detected (possibly done for this account). (3/3)
  22. All done (3/3).
  23. Elapsed Time: 00:00:31.03
  24. [root@localhost AutoRclone]# firewall-cmd --state
  25. not running
复制代码



测试,怀疑是源ID有问题,但是我有团队盘ID和共享文件夹ID设置都会出错
2020/07/11 02:02:47 ERROR : : error listing: directory not found
2020/07/11 02:02:47 Failed to size with 2 errors: last error was: directory not found

命令:rclone --config rclone.conf --disable ListR size "1qyMiY-nHyQiUA0AESu0NddWavN5k1_Aj"


  1. [root@localhost AutoRclone]# rclone --config rclone.conf size dst001:
  2. 2020/07/11 01:56:47 NOTICE: Google drive root '': Disabling ListR to work around bug in drive as multi listing (2) returned no entries
  3. Total objects: 11350
  4. Total size: 808.634 GBytes (868263675334 Bytes)
  5. [root@localhost AutoRclone]# rclone --config rclone.conf size src001:
  6. 2020/07/11 01:57:13 Failed to create file system for "src001:": didn't find section in config file
  7. [root@localhost AutoRclone]# python3 rclone_sa_magic.py -sp 0ADNOdIXB2d12Uk9PVA -d 0ABi1o7CrNRZZUk9PVA -dp 71003 --disable_list_r -b 80 -e 90  --disable_list_r --check_path
  8. rclone is detected: /usr/bin/rclone
  9. generating rclone config file.
  10. rclone config file generated.
  11. Start: 01:59:05
  12. Please wait. Checking source path...
  13. 2020/07/11 01:59:05 ERROR : : error listing: directory not found
  14. 2020/07/11 01:59:05 Failed to size with 2 errors: last error was: directory not found
  15. Command 'rclone --config rclone.conf --disable ListR size "0ADNOdIXB2d12Uk9PVA"' returned non-zero exit status 3.
  16. [root@localhost AutoRclone]# 'rclone --config rclone.conf --disable ListR size "0ADNOdIXB2d12Uk9PVA
  17. > ^C
  18. [root@localhost AutoRclone]# rclone --config rclone.conf --disable ListR size "0ADNOdIXB2d12Uk9PVA
  19. > ^C
  20. [root@localhost AutoRclone]# rclone --config rclone.conf --disable ListR size "0ADNOdIXB2d12Uk9PVA"
  21. 2020/07/11 02:01:21 ERROR : : error listing: directory not found
  22. 2020/07/11 02:01:21 Failed to size with 2 errors: last error was: directory not found
  23. [root@localhost AutoRclone]#
  24. [root@localhost AutoRclone]# rclone --config rclone.conf --disable ListR size "0ADNOdIXB2d12Uk9PVA"
  25. 2020/07/11 02:02:22 ERROR : : error listing: directory not found
  26. 2020/07/11 02:02:22 Failed to size with 2 errors: last error was: directory not found
  27. [root@localhost AutoRclone]# rclone --config rclone.conf --disable ListR size "1qyMiY-nHyQiUA0AESu0NddWavN5k1_Aj"
  28. 2020/07/11 02:02:47 ERROR : : error listing: directory not found
  29. 2020/07/11 02:02:47 Failed to size with 2 errors: last error was: directory not found
复制代码



总算琢磨出来原因:

/root/.config/rclone/rclone.conf

/root/AutoRclone/rclone.conf

AutoRclone初始化rclone.conf路径有问题



发表于 2020-7-11 12:01:48 | 显示全部楼层
你有多少东西要复制啊?量小就用rclone得了,750G就换个号
 楼主| 发表于 2020-7-11 12:03:51 | 显示全部楼层
Dink是煞笔 发表于 2020-7-11 12:01
你有多少东西要复制啊?量小就用rclone得了,750G就换个号

gclone是可以用,但是关于完整率补充
mjj建议执行两次Gclone,一次AutoRclone
我觉得也挺有道理,所以想研究一下AutoRclone
发表于 2020-7-11 12:05:24 | 显示全部楼层
darkst 发表于 2020-7-11 12:03
gclone是可以用,但是关于完整率补充
mjj建议执行两次Gclone,一次AutoRclone
我觉得也挺有道理,所以想 ...

我现在就用rclone,超过750G就换个SA继续转,比较稳,缺点就是不够自动化
 楼主| 发表于 2020-7-11 12:07:03 | 显示全部楼层
Dink是煞笔 发表于 2020-7-11 12:05
我现在就用rclone,超过750G就换个SA继续转,比较稳,缺点就是不够自动化

我要复制都是基本都超过750GB,所以用rclone估计要累死我
发表于 2020-7-11 12:07:55 | 显示全部楼层
connection refused
本地win吗
你这个貌似是没连上谷歌
 楼主| 发表于 2020-7-11 12:09:57 | 显示全部楼层
jqbaobao 发表于 2020-7-11 12:07
connection refused
本地win吗
你这个貌似是没连上谷歌

不是,是centos小鸡
我用gclone和fclone测试,都可以正常复制
发表于 2020-7-11 12:17:11 | 显示全部楼层
darkst 发表于 2020-7-11 12:09
不是,是centos小鸡
我用gclone和fclone测试,都可以正常复制

autorclone和rclone本身就是残疾产品
 楼主| 发表于 2020-7-11 12:45:57 | 显示全部楼层
jqbaobao 发表于 2020-7-11 12:17
autorclone和rclone本身就是残疾产品

看别人文字教程和视频教程都没出啥错误

搞得我自己怀疑人生
发表于 2020-7-11 13:06:27 来自手机 | 显示全部楼层
现在都用fclone,速度贼快
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-24 06:39 , Processed in 0.065743 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表