-
Notifications
You must be signed in to change notification settings - Fork 168
Closed
Description
Output of rest-server --version
clone github repo
How did you run rest-server exactly?
./rest-server --no-auth
What backend/server/service did you use to store the repository?
Expected behavior
server is started
Actual behavior
start fails with
error: accept tcp [::]:8000: accept: function not implemented
Steps to reproduce the behavior
git clone https://github.com/restic/rest-server.git
cd rest-server
docker run --rm -v "$PWD":/build -w /build golang:1.19 go run build.go --goos linux --goarch arm -o rest-server
now copy binary to your arm-device and try to start it.
./rest-server --no-auth
Data directory: /tmp/restic
Authentication disabled
Private repositories disabled
start server on :8000
error: accept tcp [::]:8000: accept: function not implemented
Do you have any idea what may have caused this?
Seems a change in go?
Maybe it is the same or related to: golang/go#57333
Do you have an idea how to solve the issue?
more a workaround than a solution but if you build the binary with go 1.17 the server starts as expected.
docker run --rm -v "$PWD":/build -w /build golang:1.17 go run build.go --goos linux --goarch arm -o rest-server
Did rest-server help you today? Did it make you happy in any way?
Not yet but thinking about to use restic and maybe rest-server in future.
Metadata
Metadata
Assignees
Labels
No labels