Jwink3101 / syncrclone

Python-based bi-direction sync tool for rclone
MIT License
150 stars 13 forks source link

Can't seem to get this to run at all - rsync error #30

Closed XTREEMMAK closed 3 months ago

XTREEMMAK commented 1 year ago

Whenever I try to give this a run, I'm met with the following:

root@ncr-server:/# sudo syncrclone config.py 2023-08-29 21:19:48: syncrclone (20230310.0.BETA) 2023-08-29 21:19:48: config path: 'config.py' 2023-08-29 21:19:48: temp dir: '/tmp/tmpagnrht2a' 2023-08-29 21:19:48: A: 'kjc-wasabi:jamaale-next-s3/Photos' 2023-08-29 21:19:48: B: 'kjc-gimli-sftp:/homes/XTREEMMAK/Photos' 2023-08-29 21:19:48: rclone version: 2023-08-29 21:19:48: rclone: rclone v1.63.1 2023-08-29 21:19:48: rclone: - os/version: ubuntu 22.04 (64 bit) 2023-08-29 21:19:48: rclone: - os/kernel: 5.15.0-79-generic (x86_64) 2023-08-29 21:19:48: rclone: - os/type: linux 2023-08-29 21:19:48: rclone: - os/arch: amd64 2023-08-29 21:19:48: rclone: - go/version: go1.20.7 2023-08-29 21:19:48: rclone: - go/linking: static 2023-08-29 21:19:48: rclone: - go/tags: none 2023-08-29 21:19:48: 2023-08-29 21:19:48: Refreshing file lists concurrently 2023-08-29 21:19:55: No previous list on B. Reset state 2023-08-29 21:19:58: Reading from A: File count 1113 2023-08-29 21:20:08: Reading from A: File count 2140 2023-08-29 21:20:18: Reading from A: File count 3184 2023-08-29 21:20:28: Reading from A: File count 4309 2023-08-29 21:20:38: Reading from A: File count 5393 2023-08-29 21:20:48: Reading from A: File count 6491 2023-08-29 21:20:58: Reading from A: File count 7544 2023-08-29 21:21:08: Reading from A: File count 8453 2023-08-29 21:21:18: Reading from A: File count 9310 2023-08-29 21:21:28: Reading from A: File count 10279 2023-08-29 21:21:38: Reading from A: File count 11239 2023-08-29 21:21:45: WARNING: Missing previous state in A. Resetting 2023-08-29 21:21:45: Refreshed file list on A 'kjc-wasabi:jamaale-next-s3/Photos' 2023-08-29 21:21:45: 11958 files, 275.29 gb 2023-08-29 21:21:45: Refreshed file list on B 'kjc-gimli-sftp:/homes/XTREEMMAK/Photos' 2023-08-29 21:21:45: 11958 files, 275.17 gb 2023-08-29 21:21:46: 2023-08-29 21:21:46: 2023-08-29 21:21:46: Actions queued on A: 2023-08-29 21:21:46: New on A: 'Compilation Library/xHappyxDaysx/YouCut_20220822_203802003.mp4_original' 2023-08-29 21:21:46: 2023-08-29 21:21:46: Actions queued on B: 2023-08-29 21:21:46: New on B: 'dbolumj-8e7dfe06-34b7-40c3-bf92-6ef84f166e64.jpg' 2023-08-29 21:21:46: 2023-08-29 21:21:46: Performing Actions on A 2023-08-29 21:21:46: RCLONE ERROR 2023-08-29 21:21:46: CMD ['rclone', 'move', '-v', '--stats-one-line', '--log-format', '', '--no-check-dest', '--ignore-times', '--no-traverse', '--retries', '4', '--files-from', '/tmp/tmpagnrht2a/A_movedel_del_nb', 'kjc-wasabi:jamaale-next-s3/Photos', 'kjc-wasabi:jamaale-next-s3/Photos/.syncrclone/backups/2023-08-29T211948_T8wch_A'] 2023-08-29 21:21:46: STDOUT 2023-08-29 21:21:46: STDERR Failed to load filters: open /tmp/tmpagnrht2a/A_movedel_del_nb: no such file or directory ERROR. Dumping logs (with debug) to '/tmp/tmpagnrht2a/log.txt' 2023-08-29 21:21:46: ERROR: Command '['rclone', 'move', '-v', '--stats-one-line', '--log-format', '', '--no-check-dest', '--ignore-times', '--no-traverse', '--retries', '4', '--files-from', '/tmp/tmpagnrht2a/A_movedel_del_nb', 'kjc-wasabi:jamaale-next-s3/Photos', 'kjc-wasabi:jamaale-next-s3/Photos/.syncrclone/backups/2023-08-29T211948_T8wch_A']' returned non-zero exit status 1.

I do also check the tmp dir for A_movedel_del_nb and it is being created. My guess it might have to do with something prior to that though?

Jwink3101 commented 1 year ago

Is it consistent? Repeatable? What does the debug log say?

Jwink3101 commented 1 year ago

Just another followup, I am hoping this can be repeated because based on the actions in that log, I am confused by the code is going down this path. If it's all new files, why is anything being backed up?

tmp dir for A_movedel_del_nb and it is being created

What is in that file?

Jwink3101 commented 3 months ago

Closing since this appears abondoned.