Upload locking up


#1

im using this to clear a mergerfs mount: /usr/bin/rclone move /srv/.config/mounts/mergerfs crypt:/ --exclude-if-present .ignore --checkers 3 --log-file /srv/logs/upload.log -v --tpslimit 3 --transfers 3 --delete-empty-src-dirs

i set a .ignore in a dir when it’s not ready for uploading… and --exclude-if-present .ignore should ignore it then and i does… but if theres no other dir in the mergerfs mount that needs uploading it locks up… it shows this in log:

2019/01/15 03:25:10 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 0 / 0, -
Transferred: 0 / 0, -
Elapsed time: 11m1s

and it keep going until i manually kill the process… is that normal behaviour ?? Shouldn’t it just conclude theres nothing to do and exit?


#2

This sounds like a bug…

I’d like to be able to replicate it. Here is my attempt which didn’t work - can you help?

cd /tmp
mkdir -p empty/sub
touch empty/sub/.ignore
rclone -vv  move --exclude-if-present .ignore --delete-empty-src-dirs empty empty-moved

Also if you press CTRL-\ or send SIGQUIT to the hung rclone it will print a backtrace - can you post that?


#3

i make a .ignore file and copy the movie to to dir

2019/01/15 16:56:59 DEBUG : rclone: Version “v1.45” starting with parameters ["/usr/bin/rclone" “move” “/srv/.config/mounts/mergerfs” “crypt:/” “–exclude-if-present” “.ignore” “–checkers” “3” “–log-file” “/srv/logs/upload.log” “-vv” “–tpslimit” “3” “–transfers” “3” “–delete-empty-src-dirs”]
2019/01/15 16:56:59 DEBUG : Using config file from “/srv/.config/rclone/rclone.conf”
2019/01/15 16:56:59 INFO : Starting HTTP transaction limiter: max 3 transactions/s with burst 1
2019/01/15 16:57:06 DEBUG : video/film/1408.2007.NORDiC.1080p.BluRay.x264-SS: Excluded
2019/01/15 16:58:00 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 0 / 0, -
Transferred: 0 / 0, -
Elapsed time: 1m1.2s

2019/01/15 16:59:00 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 0 / 0, -
Transferred: 0 / 0, -
Elapsed time: 2m1.2s

2019/01/15 17:00:00 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 0 / 0, -
Transferred: 0 / 0, -
Elapsed time: 3m1.2s

2019/01/15 17:01:00 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 0 / 0, -
Transferred: 0 / 0, -
Elapsed time: 4m1.2s

2019/01/15 17:02:00 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 0 / 0, -
Transferred: 0 / 0, -
Elapsed time: 5m1.2s

no sure how to do that…
i launch the move cmd with this: /usr/bin/rclone move /srv/.config/mounts/mergerfs crypt:/ --exclude-if-present .ignore --checkers 3 --log-file /srv/logs/upload.log -v --tpslimit 3 --transfers 3 --delete-empty-src-dirs & in my cli and then ??

Hmm i cant move files at all if i got --exclude-if-present .ignore in the line… not even if .ignore file is not present… as soon as i remove it cmd works… so is there any wrong in my cmd ??


#4

Either press the CTRL key and the \ together in the terminal window you started rclone, or run killall -QUIT rclone from a different window.

I think it is a bug probably.

Can you make some commands for me which shows the problem - like this?

cd /tmp
mkdir -p empty/sub
touch empty/sub/.ignore
rclone -vv  move --exclude-if-present .ignore --delete-empty-src-dirs empty empty-moved