cjnaz / rclonesync-V2

A Bidirectional Cloud Sync Utility using rclone
MIT License
355 stars 39 forks source link

--files-from-raw issue V3 #58

Closed luislozoya closed 4 years ago

luislozoya commented 4 years ago

hello i found an issue when trying to sync a folder here is what i used in the terminal

python3.6 /home/pi/stuff/scripts/rclonesync-V3/rclonesync rclone:"/test/" /media/pi/AEDAD26EDAD23277/test --first-sync --rc-verbose --filters-file ~/.rclonesyncwd/Filters --remove-empty-directories --rclone-args --low-level-retries 20 --retries 8 --retries-sleep 1m --drive-acknowledge-abuse

and I'm always getting this error even though im not using that flag: Error: unknown flag: --files-from-raw

Here is the full log

2020-08-26 14:48:54,361:  ***** BiDirectional Sync for Cloud Services using rclone (V3.0 200824) *****
2020-08-26 14:48:55,143:  Lock file created: </tmp/rclonesync_LOCK_rclone__test__media_pi_AEDAD26EDAD23277_test_>
2020-08-26 14:48:55,144:  Synching Path1  <rclone:/test/>  with Path2  </media/pi/AEDAD26EDAD23277/test/>
2020-08-26 14:48:55,145:  Command args: <Path1=rclone:/test/, Path2=/media/pi/AEDAD26EDAD23277/test, check_access=False, check_filename=RCLONE_TEST, config=None, dry_run=False, filters_file=/home/pi/.rclonesyncwd/Filters, first_sync=True, force=False, max_deletes=50, no_cleanup=False, no_datetime_log=False, rc_verbose=1, rclone=rclone, rclone_args==[--low-level-retries 20 --retries 8 --retries-sleep 1m --drive-acknowledge-abuse], remove_empty_directories=True, verbose=0, workdir=/home/pi/.rclonesyncwd>
2020-08-26 14:48:55,145:  Using filters-file  </home/pi/.rclonesyncwd/Filters>
2020-08-26 14:48:55,148:  Storing filters-file hash to </home/pi/.rclonesyncwd/Filters-MD5>
2020-08-26 14:48:57,563:  >>>>> --first-sync copying any unique Path2 files to Path1
2020-08-26 14:48:57,564:    Path2      --first-sync queue copy to Path1  - RCLONE_TEST
2020-08-26 14:48:57,564:    Path2      Do queued first-sync copies to    - Path1
Error: unknown flag: --files-from-raw
Usage:
  rclone copy source:path dest:path [flags]

Flags:
      --create-empty-src-dirs   Create empty source dirs on destination after copy
  -h, --help                    help for copy

Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.

2020/08/26 14:48:57 Fatal error: unknown flag: --files-from-raw
Error: unknown flag: --files-from-raw
Usage:
  rclone copy source:path dest:path [flags]

Flags:
      --create-empty-src-dirs   Create empty source dirs on destination after copy
  -h, --help                    help for copy

Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.

2020/08/26 14:48:57 Fatal error: unknown flag: --files-from-raw
Error: unknown flag: --files-from-raw
Usage:
  rclone copy source:path dest:path [flags]

Flags:
      --create-empty-src-dirs   Create empty source dirs on destination after copy
  -h, --help                    help for copy

Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.

2020/08/26 14:48:57 Fatal error: unknown flag: --files-from-raw
2020-08-26 14:48:57,871:    ERROR    rclone copy failed.  (Line 183)     - /media/pi/AEDAD26EDAD23277/test/
2020-08-26 14:48:57,873:  Lock file removed: </tmp/rclonesync_LOCK_rclone__test__media_pi_AEDAD26EDAD23277_test_>
2020-08-26 14:48:57,874:  ***** Critical Error Abort - Must run --first-sync to recover.  See README.md *****
cjnaz commented 4 years ago

You need rclone 1.52 or newer

On Wed, Aug 26, 2020, 1:54 PM luislozoya notifications@github.com wrote:

hello i found an issue when trying to sync a folder here is what i used in the terminal

python3.6 /home/pi/stuff/scripts/rclonesync-V3/rclonesync rclone:"/test/" /media/pi/AEDAD26EDAD23277/test --first-sync --rc-verbose --filters-file ~/.rclonesyncwd/Filters --remove-empty-directories --rclone-args --low-level-retries 20 --retries 8 --retries-sleep 1m --drive-acknowledge-abuse

and I'm always getting this error even though im not using that flag: Error: unknown flag: --files-from-raw

Here is the full log

2020-08-26 14:48:54,361: BiDirectional Sync for Cloud Services using rclone (V3.0 200824) 2020-08-26 14:48:55,143: Lock file created: </tmp/rclonesync_LOCK_rclonetestmedia_pi_AEDAD26EDAD23277test> 2020-08-26 14:48:55,144: Synching Path1 <rclone:/test/> with Path2 </media/pi/AEDAD26EDAD23277/test/> 2020-08-26 14:48:55,145: Command args: <Path1=rclone:/test/, Path2=/media/pi/AEDAD26EDAD23277/test, check_access=False, check_filename=RCLONE_TEST, config=None, dry_run=False, filters_file=/home/pi/.rclonesyncwd/Filters, first_sync=True, force=False, max_deletes=50, no_cleanup=False, no_datetime_log=False, rc_verbose=1, rclone=rclone, rclone_args==[--low-level-retries 20 --retries 8 --retries-sleep 1m --drive-acknowledge-abuse], remove_empty_directories=True, verbose=0, workdir=/home/pi/.rclonesyncwd> 2020-08-26 14:48:55,145: Using filters-file </home/pi/.rclonesyncwd/Filters> 2020-08-26 14:48:55,148: Storing filters-file hash to </home/pi/.rclonesyncwd/Filters-MD5> 2020-08-26 14:48:57,563: >>>>> --first-sync copying any unique Path2 files to Path1 2020-08-26 14:48:57,564: Path2 --first-sync queue copy to Path1 - RCLONE_TEST 2020-08-26 14:48:57,564: Path2 Do queued first-sync copies to - Path1 Error: unknown flag: --files-from-raw Usage: rclone copy source:path dest:path [flags]

Flags: --create-empty-src-dirs Create empty source dirs on destination after copy -h, --help help for copy

Use "rclone [command] --help" for more information about a command. Use "rclone help flags" for to see the global flags. Use "rclone help backends" for a list of supported services.

2020/08/26 14:48:57 Fatal error: unknown flag: --files-from-raw Error: unknown flag: --files-from-raw Usage: rclone copy source:path dest:path [flags]

Flags: --create-empty-src-dirs Create empty source dirs on destination after copy -h, --help help for copy

Use "rclone [command] --help" for more information about a command. Use "rclone help flags" for to see the global flags. Use "rclone help backends" for a list of supported services.

2020/08/26 14:48:57 Fatal error: unknown flag: --files-from-raw Error: unknown flag: --files-from-raw Usage: rclone copy source:path dest:path [flags]

Flags: --create-empty-src-dirs Create empty source dirs on destination after copy -h, --help help for copy

Use "rclone [command] --help" for more information about a command. Use "rclone help flags" for to see the global flags. Use "rclone help backends" for a list of supported services.

2020/08/26 14:48:57 Fatal error: unknown flag: --files-from-raw 2020-08-26 14:48:57,871: ERROR rclone copy failed. (Line 183) - /media/pi/AEDAD26EDAD23277/test/ 2020-08-26 14:48:57,873: Lock file removed: </tmp/rclonesync_LOCK_rclonetestmedia_pi_AEDAD26EDAD23277test> 2020-08-26 14:48:57,874: Critical Error Abort - Must run --first-sync to recover. See README.md

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cjnaz/rclonesync-V2/issues/58, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRKVYN7QUDYMQ4FUFY2FNDSCVZBJANCNFSM4QMH4NHQ .

luislozoya commented 4 years ago

You need rclone 1.52 or newer

thanks for the quick response, Ill download it and try again