Custom Rclone Config #80

Closed
opened 2026-04-05 20:25:27 +02:00 by MrUnknownDE · 0 comments
Owner

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

  1. Choose the Custom Rclone Config option in the Cloudpanel backup panel.

  2. 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.

  3. Go back to the Cloudpanel panel, add the folder name and click save.

  4. 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

  1. I connected via ssh and deleted the storage that I had configured as one drive.

  2. 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.

  1. When I returned to the cloudpanel dashboard, I just entered the folder name and saved it, it accepted it.

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.

*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 1) Choose the Custom Rclone Config option in the Cloudpanel backup panel. 2) 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. 3) Go back to the Cloudpanel panel, add the folder name and click save. 4) 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 1) I connected via ssh and deleted the storage that I had configured as one drive. 2) 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. 3) When I returned to the cloudpanel dashboard, I just entered the folder name and saved it, it accepted it. ### 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.
Sign in to join this conversation.