mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Custom Rclone Config #80
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @paulobeneton on 6/15/2025
CloudPanel version(s) affected
v2.5.1
Description
When we choose the Custom Rclone Config option, when configuring rclone, the name needs to be remote. If we define onedrive or any other storage name, it will not accept it.
Is this the correct configuration?
If so, could you leave a warning in the documentation that the drive name needs to be remote to use rclone's custom configurations?
How to reproduce
Choose the Custom Rclone Config option in the Cloudpanel backup panel.
Connect via ssh and run the rclone config command to add a new storage. In the storage name, enter the name of the drive, Google Drive, One Drive, etc.
Go back to the Cloudpanel panel, add the folder name and click save.
A message will appear in red with the text something like this
Storage Directory: Command " : /usr/bin/sudo /usr/bin/rclone lsjson remote:'backups/' --log-level='ERROR' --config='/root/.config/rclone/rclone.conf'" failed, error message: 2025/06/15 15:57:02 Failed to create file system for "remote:backups/": didn't find section in config file
Possible Solution
Possible solution
I connected via ssh and deleted the storage that I had configured as one drive.
I ran the rclone config command, chose the new remote option, and set the name to remote.
Then I continued the configuration until it was complete.
Additional Context
The main issue is:
It calls the remote location with the name remote:
If you add any other name to the remote location during configuration, it will not accept it.
because the error shows the following:
Storage Directory: Command " : /usr/bin/sudo /usr/bin/rclone lsjson remote:'backups/' --log-level='ERROR' --config='/root/.config/rclone/rclone.conf'" failed, error message: 2025/06/15 15:57:02 Failed to create file system for "remote:backups/": didn't find section in config file
where remote is the name of the location.
backups is the name of the folder.