Can't see folder

What is the problem you are having with rclone?

rclone is unable to see the /opt/snapshot folder but it works fine for any folder within my home folder. I tried rclone ls /opt/snapshot and it can't find it. But I can just run ls /opt/snapshot then I can see the contents. I even tried as the root user and the same problem. Do I need to specify the local paths that rclone can see?

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

rclone v1.68.1

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 5.15.0-122-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.23.1
  • go/linking: static
  • go/tags: snap
YES

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

SFTP

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

rclone ls /opt/snapshot

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

[gxt-main-v99]
type = sftp
host = XXX
pass = XXX
shell_type = unix
md5sum_command = md5sum
sha1sum_command = sha1sum
### Double check the config for sensitive info before posting publicly

A log from the command that you were trying to run with the -vv flag

rclone ls -vv /opt/snapshot
2024/10/23 03:18:06 DEBUG : rclone: Version "v1.68.1" starting with parameters ["/snap/rclone/516/bin/rclone" "ls" "-vv" "/opt/snapshot"]
2024/10/23 03:18:06 DEBUG : Creating backend with remote "/opt/snapshot"
2024/10/23 03:18:06 DEBUG : Using config file from "/home/validator/snap/rclone/516/.config/rclone/rclone.conf"
2024/10/23 03:18:06 ERROR : : error listing: directory not found
2024/10/23 03:18:06 DEBUG : 4 go routines active
2024/10/23 03:18:06 NOTICE: Failed to ls with 2 errors: last error was: directory not found

The same issue as

I spent hours trying to figure this out. It works now. Thank you!

1 Like

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