Rclone using rc for chunker

What is the problem you are having with rclone?

I need help, I decided to use rclone rc commands to alternative for Mega sessions problems, but I need to use chunkers to send files. The command works with chunker? When I use only the "remote: ...", it works. Someone can help me? Accepting alternative solutions :slight_smile:

Run the command 'rclone version' and share the full output of the command.

rclone v1.64.2

  • os/version: debian 10.13 (64 bit)
  • os/kernel: 6.5.11-7-pve (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.3
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Mega

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone rc sync/sync remote= srcFs="/etc/asterisk/keys" dstFs="MEGA_LUIS_TESTE-chunker:arq" --rc-user=myusercredentials --rc-pass=mypasswordcredentials --backup-dir MEGA_LUIS_TESTE-chunker:arq/changes --exclude timestamp.txt --fast-list --transfers=8 --checkers=32 --tpslimit=10  -vv

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[MEGA_LUIS_TESTE]
type = mega
excluirBackupAntigoNuvemNumDias = 
caminhoServidor = backup
formatoExclusao = enviarParaLixeira
user = XXX
pass = XXX
emailRelatorioBackup = null

[MEGA_LUIS_TESTE-chunker]
type = chunker
remote = MEGA_LUIS_TESTE-crypt:
chunk_size = 2k
hash_type = md5

[MEGA_LUIS_TESTE-crypt]
type = crypt
remote = MEGA_LUIS_TESTE:backup
filename_encryption = off
directory_name_encryption = false
password = XXX```



#### A log from the command that you were trying to run with the `-vv` flag  
<!-- You should use 3 backticks to begin and end your paste to make it readable.  Or use a service such as https://pastebin.com or https://gist.github.com/   -->

2024/11/01 18:36:44 INFO : Starting transaction limiter: max 10 transactions/s with burst 1
2024/11/01 18:36:44 DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "rc" "sync/sync" "remote=" "srcFs=/etc/asterisk/keys" "dstFs=MEGA_LUIS_TESTE-chunker:arq" "--rc-user=credentialUser" "--rc-pass=credentialPass" "--backup-dir" "MEGA_LUIS_TESTE-chunker:arq/changes" "--exclude" "timestamp.txt" "--fast-list" "--transfers=8" "--checkers=32" "--tpslimit=10" "-vv"]
{}
2024/11/01 18:36:44 DEBUG : 6 go routines active```

You are using old rclone version. Remove it and install the latest one.

And in terms of your question I am not sure what exactly the issue is... rc sync command works with any remote including chunker. Could you please clarify what is not working?

Also

???? what is that? This does not look like official rclone remote...

1 Like

Hello, thank you for helping me :slight_smile: . It looks like it doesn't work. It just doesn't send file to remote when I use the chunker. Sorry about this remote, we have some additional parameters, which are use on our application, and do not cause any problems. But when I use the remote MEGA_LUIS:(without chunker), the command works normally (sending the files on remote). I will provide the update

fast-list is not supporter by mega. See docs.

Also last time I tried mega it had problems with server-side operations. Add transactions = norename to your chunker remote config to avoid this issue.

Your "--backup-dir" "MEGA_LUIS_TESTE-chunker:arq/changes" is included in your destination dstFs=MEGA_LUIS_TESTE-chunker:arq". Again check docs before using something. It is not supported unless you exclude it first.

Make your sync to work without RC first.

Hello, I find the problem, the quotes in command caused this error (I'm using exec, child process, NodeJS). Fixing this, the sync command for the chunk runs normally. I have other problem with sync command, I am received ¨ context canceled¨ at 15% of transfer. It seems which the problem of Mega Sessions what I need to solve with rc command keep going...

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.