Rclone cloudpanel box.com

What is the problem you are having with rclone?

I think I have rclone configured correctly:

rclone lsf box:
Box App Overview.mp4
SimpleShare Uploads/

However, I'm trying to set up CloudPanel backup, and with the default settings for Custom Rclone Config, I get this error:

Storage Directory: Command " : /usr/bin/sudo /usr/bin/rclone lsjson remote:'backups/' --log-level='ERROR' --config='/root/.config/rclone/rclone.conf'" failed, error message: 2024/04/03 03:16:48 ERROR : : error listing: directory not found 2024/04/03 03:16:48 Failed to lsjson with 2 errors: last error was: error in ListJSON: directory not found

I belive the the root folder need to be configured or the storage folder froamt needs to be ajsusted.

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

rclone v1.66.0
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-92-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.1
- go/linking: static
- go/tags: none

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

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

I'm trying to set up `CloudPanel Custom Rclone Config`

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

rclone config redacted
type = box
token = XXX
box_sub_type = enterprise
### 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 lsjson box: -vv
2024/04/03 03:21:29 DEBUG : rclone: Version "v1.66.0" starting with parameters ["rclone" "lsjson" "box:" "-vv"]
2024/04/03 03:21:29 DEBUG : Creating backend with remote "box:"
2024/04/03 03:21:29 DEBUG : Using config file from "/home/ubuntu/.config/rclone/rclone.conf"
{"Path":"Box App Overview.mp4","Name":"Box App Overview.mp4","Size":19023676,"MimeType":"video/mp4","ModTime":"2011-10-13T16:09:41-07:00","IsDir":false,"ID":"985019461"},
{"Path":"SimpleShare Uploads","Name":"SimpleShare Uploads","Size":-1,"MimeType":"inode/directory","ModTime":"2012-04-04T17:43:45-07:00","IsDir":true,"ID":"239620679"},
2024/04/03 03:21:30 DEBUG : 6 go routines active

I hope someone can help me or point me in the right direction.

yeap - all looks ok.

I think you should then seek help on CloudPanel forum... Why you think it has anything to do with rclone?