cloudpanel-io / cloudpanel-ce

1.21k stars 99 forks source link

Rclone Backup Configuration doesn't accept custom remote name #455

Closed webprogrammingsolutions closed 4 months ago

webprogrammingsolutions commented 4 months ago

CloudPanel version(s) affected

2.4.1

Description

I configured rclone with a Minio S3 compatible enpoint. I named my remote "minio" during the configuration process.

When configuring Cloudpanel to use my custom rclone configuration, it would not accept my config file because it was expecting my remote to be called "remote".

How to reproduce

  1. Create custom rclone endpoint with an arbitrary name that is not 'remote'
  2. Configure Cloudpanel backups to use rclone
  3. Error

Possible Solution

  1. Immediate resolution was to rename my remote from "minio" to "remote". After doing this Cloudpanel accepted my configuration.
  2. Solution is for Cloudpanel to remove the hard-coded "remote" value for rclone

Additional Context

No response

cloudpanel-io commented 4 months ago

Not a bug; it's mentioned in the docs that the name needs to be "remote."