You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this setup, the liveness probe fails because the rclone rc rc/noop command does not work correctly when the RCLONE_METRICS_ADDR environment variable is set.
As a workaround, we can modify the liveness probe command like this: RCLONE_METRICS_ADDR="" rclone rc rc/noop
However, this approach raises a concern: it's not immediately clear from the manifest why we are overriding the RCLONE_METRICS_ADDR variable. This lack of clarity could lead to confusion for others reading the configuration.
Another potential scenario to consider: If someone sets RCLONE_METRICS_ADDR globally in their ~/.bashrc or ~/.zshrc file, they may inadvertently prevent rclone from working correctly when running commands locally from the CLI.
The associated forum post URL from
https://forum.rclone.org
I don't have any, just wanted to create an issue to link my future PR with.
What is the problem you are having with rclone?
rclone rc
trying to bind metrics endpoint if environment variableRCLONE_METRICS_ADDR
is setWhat is your rclone version (output from
rclone version
)v1.68.2
Which OS you are using and how many bits (e.g. Windows 7, 64 bit)
Linux
Which cloud storage system are you using? (e.g. Google Drive)
Doesn't matter in that case.
The command you were trying to run (e.g.
rclone copy /tmp remote:tmp
)RCLONE_METRICS_ADDR="0.0.0.0:9000" rclone rc -vv rc/noop
A log from the command with the
-vv
flag (e.g. output fromrclone -vv copy /tmp remote:tmp
)NOTE:
└──╼ $ RCLONE_METRICS_ADDR="0.0.0.0:9000" rclone rcd
was run in advance.How to use GitHub
The text was updated successfully, but these errors were encountered: