Failed to copy: failed to calculate gcid: write

Hi, i'm trying to sync an 1fichier remote with a pikpak premium remote, but most of the file transfers fail with errors like this: 2024/12/15 18:45:57 ERROR : 20171111_120000 guriga.mkv: Failed to copy: failed to calculate gcid: write /tmp/rclone-pikpak-gcid-3661943144: no space left on device

rclone v1.68.2

  • os/version: ubuntu 24.04 (64 bit)
  • os/kernel: 6.8.0-48-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.23.3
  • go/linking: static
  • go/tags: none
rclone sync 1fichier:/ pikpak:/ -v --fast-list --include "bigtar/**" --include "nemkripta/**" --include "mentitos/**" -P
rclone config redacted
[1fichier]
type = fichier
api_key = XXX

[pikpak]
type = pikpak
user = XXX
pass = XXX
device_id = XXX
captcha_token = {"captcha_token":"thiswasatoken","expires_in":300,"expiry":"2024-12-15T19:04:07.844728332+01:00"}
token = {"access_token":"thiswasatokentooo","token_type":"Bearer","refresh_token":"os.uO30privatetokenthing","expiry":"2024-12-15T20:17:46.659379286+01:00"}
### Double check the config for sensitive info before posting publicly

As i see it happens with bigger files, but not so big files, for example a quite common 1 gbyte file fails too.
Now i see this is connected to /tmp size, which is 2 gbytes form be, but never had any problem with this size with no other applications including rclone with other remotes (idrive, 1fichier, google drive).

How can i solve this apart from creating bigger tmp? And why does it now needs such big space on tmp?

1 Like

i think this is what is going on:
both 1fichier and pikpak do not support streamed uploads.
the consequnce is that rclone needs to know the size of the file before rclone can upload it.

  1. rclone downloads the file from 1fichier to /tmp. now rclone knows the file size.
  2. rclone uploads the file from /tmp to pikpak

not supported for both, 1fichier and pikpak.

I've posted the relevant debug log, similar are happening.

 2024/12/15 18:45:57 ERROR : 20171111_120000 guriga.mkv: Failed to copy: failed to calculate gcid: write /tmp/rclone-pikpak-gcid-3661943144: no space left on device

Do you want few thousand lines of irrelevant log lines too (about the file checks of already transferred, and to be transferred files)?

Bigger transfers fail when the /tmp gets full (checking with df -h).

No matter how many transfers, if the 2 gb /tmp is full, transfer fails, even with --transfer=1

I've never seen much usage of /tmp not with other remotes, but now.

see my last post.

ah thats's great, so it needs to dowload it to tmp, then upload it... the biggest file is 27 gbytes, so then i need a 27 gbyte tmp for that :face_with_spiral_eyes: