Possible issue with serve http on v1.56

What is the problem you are having with rclone?

rclone serve http exits right after starting

What is your rclone version (output from rclone version)

$ rclone version
rclone v1.56.0
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.4.0-1041-raspi (aarch64)
- os/type: linux
- os/arch: arm64
- go/version: go1.16.5
- go/linking: static
- go/tags: none

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Arm64 - Ubuntu on RaspberryPi 4 8GB

Which cloud storage system are you using? (eg Google Drive)

I've tried Mega.io, Google Drive, Google Drive + Crypt and a local path.

The command you were trying to run (eg rclone copy /tmp remote:tmp)

$ 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

The rclone config contents with secrets removed.

skipping this for now since I used a local path

A log from the command with the -vv flag

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

This is a duplicate of V1.56.0: HTTP Serve exits directly after starting - #12 by Animosity022

I'll copy my logs there. Didn't see it.

Fix is here:

As it's a duplicate.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.