When I started to validate rclone 1.56.0 for RCX, the serve http command does not seem to work. Reproducing it on desktop shows that rclone is started and then exits without error (exit code 0).
Has there been some command change or is this bug?
What is your rclone version (output from rclone version)
rclone v1.56.0
- os/version: Microsoft Windows 10 Education 2009 (64 bit)
- os/kernel: 10.0.19043.1110 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.16.5
- go/linking: dynamic
- go/tags: cmount
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Win 10 x64
Which cloud storage system are you using? (eg Google Drive)
Tested with local, probably any.
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Edit: I initially wrote webdav - but that runs fine.
The rclone config contents with secrets removed.
(none)
A log from the command with the -vv flag
2021/07/20 22:21:40 DEBUG : rclone: Version "v1.56.0" starting with parameters ["C:\\Users\\x0b\\apps\\rclone\\rclone.exe" "-vvv" "serve" "http" "--addr" "127.0.0.1:8080" "."]
2021/07/20 22:21:40 DEBUG : Creating backend with remote "."
2021/07/20 22:21:40 DEBUG : Using config file from "C:\\Users\\x0b\\.config\\rclone\\rclone.conf"
2021/07/20 22:21:40 DEBUG : fs cache: renaming cache item "." to be canonical "//?/C:/Users/x0b"
2021/07/20 22:21:40 INFO : Local file system at //?/C:/Users/x0b: poll-interval is not supported by this remote
2021/07/20 22:21:40 INFO :
Transferred: 0 / 0 Byte, -, 0 Byte/s, ETA -
Elapsed time: 0.2s
2021/07/20 22:21:40 DEBUG : 3 go routines active
Sorry again for the confusion - I initially messed up copying the command and instead copied my own attempt of with webdav . The log was the correct one.
I've since fixed the command, but here it is again to avoid any further confusion:
ubuntu@ubuntu:~/rclone-v1.55.1-linux-arm64$ rclone -vvv serve http --addr ':9097' ./
2021/07/28 03:35:18 DEBUG : rclone: Version "v1.56.0" starting with parameters ["rclone" "-vvv" "serve" "http" "--addr" ":9097" "./"]
2021/07/28 03:35:18 DEBUG : Creating backend with remote "./"
2021/07/28 03:35:18 DEBUG : Using config file from "/home/ubuntu/.config/rclone/rclone.conf"
2021/07/28 03:35:18 DEBUG : fs cache: renaming cache item "./" to be canonical "/home/ubuntu/rclone-v1.55.1-linux-arm64"
2021/07/28 03:35:18 INFO : Local file system at /home/ubuntu/rclone-v1.55.1-linux-arm64: poll-interval is not supported by this remote
2021/07/28 03:35:18 INFO :
Transferred: 0 / 0 Byte, -, 0 Byte/s, ETA -
Elapsed time: 0.0s
2021/07/28 03:35:18 DEBUG : 3 go routines active
and here's the output from v1.55.1 that I downloaded to test I wasn't going crazy,
ubuntu@ubuntu:~/rclone-v1.55.1-linux-arm64$ ./rclone -vvv serve http --addr ':9097' ./
2021/07/28 03:34:43 DEBUG : Using config file from "/home/ubuntu/.config/rclone/rclone.conf"
2021/07/28 03:34:43 DEBUG : rclone: Version "v1.55.1" starting with parameters ["./rclone" "-vvv" "serve" "http" "--addr" ":9097" "./"]
2021/07/28 03:34:43 DEBUG : Creating backend with remote "./"
2021/07/28 03:34:43 DEBUG : fs cache: renaming cache item "./" to be canonical "/home/ubuntu/rclone-v1.55.1-linux-arm64"
2021/07/28 03:34:43 INFO : Local file system at /home/ubuntu/rclone-v1.55.1-linux-arm64: poll-interval is not supported by this remote
2021/07/28 03:34:43 NOTICE: Local file system at /home/ubuntu/rclone-v1.55.1-linux-arm64: Serving on http://[::]:9097/
^C