Cloud Sync Task fails (Invalid filename (SSH_FX_FAILURE))

Hi,

I am running TrueNAS SCALE 24.04.2.5 and am trying to back up some contents with a “Cloud Sync Task” to a Hetzner storage box using sftp.

I am using remote and filename encryption.

There are multiple files, which cannot be copied and are failing with:

<3>ERROR : /path/to/file/file.pdf: Failed to copy: Update Create failed: sftp: "Invalid filename" (SSH_FX_FAILURE)

I found a similar bug report, but the bug actually should be fixed in 24.04.2: NAS-127485

Any ideas what goes wrong or how I can fix this? Is there any chance to find the actual filename which fails being created?

Best regards,
AMiGAmann

Updated to SCALE 24.10.0.2, but the behaviour is the same :frowning:

1 Like

This is the ticket I raised: Jira

Sadly the ticket was closed by a developer because it is a bug in rclone, which cannot be fixed by TrueNAS team.

As stated in this post it might be an option to set rclones-option filename_encoding to base64 to reduce the filename length.

But I don’t actually know how to setup that for my cloud sync task :frowning:

Best regards,
AMiGAmann

Does anymore know how to configure that rclones-option for a single task?

I tried to find the tasks with “rclone config show”, but I don’t see any configuration neither for admin nor for root.

Best regards,
AMiGAmann

Nobody? :frowning:

TrueNAS is more of an appliance than a normal Linux install. That may be something that is locked down and inaccessible.

I know that’s why I filed that ticket, but the devs actually don’t seem to care. I asked for a workaround for that bug (rclone config), but the ticket seems not to be watched anymore since it was closed. Quite frustrating…