What is the problem you are having with rclone?
The latest rclone (the tip of the master
branch) errors out when RCLONE_CA_CERT
is set as an environment variable.
Run the command 'rclone version' and share the full output of the command.
env -u RCLONE_CA_CERT -- rclone version
rclone v1.67.0-85-ge111ffb
- os/version: darwin 14.5 (64 bit)
- os/kernel: 23.5.0 (arm64)
- os/type: darwin
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.22.5
- go/linking: dynamic
- go/tags: cmount
Here is a link to the above commit, which is the latest commit I tested against: serve ftp: fix failed startup due to config changes · rclone/rclone@e111ffb · GitHub
Which cloud storage system are you using? (eg Google Drive)
N/A
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
env -- RCLONE_CA_CERT=/Users/manselmi/.pki/tls-ca-bundle.pem rclone version
2024/07/22 10:50:15 Failed to load "main" default values: failed to initialise "main" options: couldn't parse config item "ca_cert" = "/Users/manselmi/.pki/tls-ca-bundle.pem" as []string: parsing "/Users/manselmi/.pki/tls-ca-bundle.pem" as []string failed: invalid character '/' looking for beginning of value
The rclone config contents with secrets removed.
N/A
A log from the command with the -vv
flag
env -- RCLONE_CA_CERT=/Users/manselmi/.pki/tls-ca-bundle.pem rclone version -vv
2024/07/22 10:50:48 Failed to load "main" default values: failed to initialise "main" options: couldn't parse config item "ca_cert" = "/Users/manselmi/.pki/tls-ca-bundle.pem" as []string: parsing "/Users/manselmi/.pki/tls-ca-bundle.pem" as []string failed: invalid character '/' looking for beginning of value
Additional info
532a081 is the first "bad commit" according to git bisect
.
Here's the previous commit, working fine:
env -- RCLONE_CA_CERT=/Users/manselmi/.pki/tls-ca-bundle.pem rclone version
rclone v1.67.0-50-g91558ce
- os/version: darwin 14.5 (64 bit)
- os/kernel: 23.5.0 (arm64)
- os/type: darwin
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.22.5
- go/linking: dynamic
- go/tags: cmount
The first "bad commit":
env -u RCLONE_CA_CERT -- rclone version
rclone v1.67.0-51-g532a081
- os/version: darwin 14.5 (64 bit)
- os/kernel: 23.5.0 (arm64)
- os/type: darwin
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.22.5
- go/linking: dynamic
- go/tags: cmount
env -- RCLONE_CA_CERT=/Users/manselmi/.pki/tls-ca-bundle.pem rclone version
2024/07/22 11:13:08 Failed to load "main" default values: failed to initialise "main" options: couldn't parse config item "ca_cert" = "/Users/manselmi/.pki/tls-ca-bundle.pem" as []string: parsing "/Users/manselmi/.pki/tls-ca-bundle.pem" as []string failed: invalid character '/' looking for beginning of value