Skip to content

[BUG] rclone with sftp timeout after 5000 ms #488

@cedjo

Description

@cedjo

Prerequisites

Rclone Pre-flight Checklist (if applicable)

  • This issue is NOT related to rclone (skip if not using rclone)
  • I have tested rclone listremotes and rclone lsd remote: on the host and they work
  • I have verified the rclone config is mounted into the container
  • I have restarted the container after config changes

Bug Description

I followed the troubleshooting guide related to rclone. I am able to mount the volume with rclone but not using zerobyte.

when using rclone sftp I have this:

info > Executing rclone: rclone mount sftp-rasp:/ /var/lib/zerobyte/volumes/B7l6Mb03/_data --daemon --read-only --vfs-cache-mode writes --allow-non-empty --allow-other

<-- HEAD /

--> HEAD / 302 1ms

<-- HEAD /volumes

--> HEAD /volumes 200 2ms

error > Error mounting rclone volume {

"error": "Rclone mount timed out after 5000ms"

}

--> PUT /api/v1/volumes/B7l6Mb03 200 5s

When using sftp only on the same it works.

always using sftp password auth.

Steps to Reproduce

  1. creating a volume with rclone backend, and selecting the remote and path
  2. save the volume
  3. I get a message "Rclone mount timed out after 5000ms"

Expected Behavior

the volume should be mounted

Zerobyte version / commit

0.26.0

Deployment Method

Docker Compose

Backup/Repository Context

docker on linux machine, volume on a raspberry pi 4

Logs / Error Messages

info > Executing rclone: rclone mount sftp-rasp:/ /var/lib/zerobyte/volumes/B7l6Mb03/_data --daemon --read-only --vfs-cache-mode writes --allow-non-empty --allow-other

error > Error mounting rclone volume {

"error": "Rclone mount timed out after 5000ms"

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions