mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Custom Rclone Config - ONE DRIVE #112
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 4/1/2025
CloudPanel version(s) affected
v2.5.1
Description
Description
When using Custom Rclone Config in the Remote Backup settings, CloudPanel automatically adds the prefix
remote:to the value entered in the Storage Directory field.This breaks valid remote configurations defined in the
rclone.conffile, such asonedrive:, because CloudPanel ends up generating incorrect paths likeremote:onedrive:cloudpanel.This leads to rclone errors such as:
Even if the correct remote is defined (like
onedrive:), the system fails because of the forcedremote:How to reproduceHow to Reproduceonedrive) usingrclone configon the server.rclone ls onedrive:.onedrive:cloudpanelin the Storage Directory field.Possible Solution
Possible Solution
remote:unless the user explicitly includes it.rclone.conf, if possible.remote:is required for internal logic, allow users to override it by detecting if a full remote path (e.g.,onedrive:cloudpanel) is already provided.Additional Context