What is the problem you are having with rclone?
After updating the rclone executable to 1.70.0 my systemd service that launches rclone rcd stopped serving the remote control and remote GUI.
The command still works if launched from the shell, but it does not work if it is run from a systemd service.
Run the command 'rclone version' and share the full output of the command.
rclone v1.70.0
- os/version: ubuntu 24.04 (64 bit)
- os/kernel: 6.8.0-60-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.4
- go/linking: static
- go/tags: none
last version that works for me is as follows:
rclone v1.69.3
- os/version: ubuntu 24.04 (64 bit)
- os/kernel: 6.8.0-60-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.3
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
SMB and AWS S3, but the problem is not related with cloud storage functionality.
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone rcd --rc-addr 0.0.0.0:5572 --rc-user **** --rc-pass "*******" --config /home/*****/.config/rclone/rclone.conf --rc-enable-metrics --rc-web-gui
The rclone config contents with secrets removed.
{
"AWS": {
"remote": "AWSroot:********",
"type": "alias"
},
"AWSroot": {
"access_key_id": ""*****",
"location_constraint": "EU",
"provider": "AWS",
"region": "eu-south-1",
"secret_access_key": ""*****",
"type": "s3"
},
"NETAPP": {
"domain": "****",
"hide_special_share": "false",
"host": "172.30.0.5",
"idle_timeout": "0s",
"pass": "*****",
"type": "smb",
"user": ""*****"
},
"PROXY01": {
"domain": "",
"host": "172.30.0.31",
"pass": "*****",
"smb": "user=*****",
"type": "smb",
"user": "*****"
},
"PROXY02": {
"domain": "",
"host": "172.30.0.32",
"pass": "*****",
"smb": "user=*****",
"type": "smb",
"user": "*****"
},
"PROXY03": {
"domain": "",
"host": "172.30.0.33",
"pass": "*****",
"smb": "user=*****",
"type": "smb",
"user": "*****"
},
"PROXY04": {
"domain": "",
"host": "172.30.0.34",
"pass": "*****",
"smb": "user=*****",
"type": "smb",
"user": "*****"
}
}
A log from the command with the -vv
flag
as I said, the issue only occurs if the command is executed from a systemd service. Below is the output I get from systemctl status rclone (which is the name of the service I created)
● rclone.service - Rclone Remote Server
Loaded: loaded (/etc/systemd/system/rclone.service; enabled; preset: enabled)
Active: active (running) since Wed 2025-06-18 12:13:42 CEST; 4min 35s ago
Main PID: 1964 (rclone)
Tasks: 13 (limit: 7014)
Memory: 14.5M (peak: 15.3M)
CPU: 169ms
CGroup: /system.slice/rclone.service
└─1964 rclone rcd --rc-addr 0.0.0.0:5572 --rc-user ***** --rc-pass "*****" --config /home/*****/.config/rclone/rclone.conf --rc-enable-metrics --rc-web-gui
Jun 18 12:13:42 blindati-proxy04 systemd[1]: Started rclone.service - Rclone Remote Server.
please note that if I execute the command from the shell this is the output I get. This is also the output I was getting with version 1.69.3 from the systemd service
2025/06/18 12:39:00 DEBUG : rclone: Version "v1.70.0" starting with parameters ["rclone" "rcd" "--rc-addr" "0.0.0.0:5572" "--rc-user" "****" "--rc-pass" "****" "--config" "/home/****/.config/rclone/rclone.conf" "--rc-enable-metrics" "--rc-web-gui" "-vvv"]
2025/06/18 12:39:00 DEBUG : Current tag: v2.0.5, Release tag: v2.0.5
2025/06/18 12:39:00 NOTICE: Web GUI exists. Update skipped.
2025/06/18 12:39:00 NOTICE: Serving Web GUI
2025/06/18 12:39:00 INFO : Using --user **** --pass XXXX as authenticated user
2025/06/18 12:39:00 NOTICE: Serving remote control on http://[::]:5572/
2025/06/18 12:39:00 DEBUG : login_token "****"
2025/06/18 12:39:00 ERROR : Failed to open Web GUI in browser: exec: "xdg-open": executable file not found in $PATH. Manually access it at: http://****:****@[::]:5572/?login_token=****
This is the systemd service I have created that is perfectly working on v1.69.3 but stops working on v1.70.0
[Unit]
Description=Rclone Remote Server
After=multi-user.target
[Service]
Type=simple
ExecStart=rclone rcd \
--rc-addr 0.0.0.0:5572 \
--rc-user ***** \
--rc-pass ***** \
--config /home/*****/.config/rclone/rclone.conf \
--rc-enable-metrics \
--rc-web-gui \
-vvv
User=*****
[Install]
WantedBy=multi-user.target
I tried rolling back to version 1.69.3 and the systemd service started working again.
I also tried updating again to 1.70.0 and the systemd service started presenting this behaviour again.
This behaviour is present in all four of my machines running this systemd service.