Package Details: syncthing-discosrv 1:0.14.48-1

Git Clone URL: (read-only)
Package Base: syncthing-discosrv
Description: Discover server for the syncthing P2P synchronization utility
Upstream URL:
Licenses: MIT
Submitter: prurigro
Maintainer: prurigro
Last Packager: prurigro
Votes: 6
Popularity: 0.000007
First Submitted: 2014-06-13 06:45
Last Updated: 2018-06-06 04:16

Latest Comments

Iiridayn commented on 2018-06-21 17:08

These steps were not 100% obvious to me.

I generated the keys with: openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 3650 -nodes

I then fixed ownership: chown -R syncthing:syncthing /var/discosrv

I ran systemctl edit syncthing-discosrv.service and added this:

ExecStart=/usr/bin/syncthing-discosrv -db-dir /var/discosrv/discosrv.db -cert /var/discosrv/cert.pem -key /var/discosrv/key.pem

prurigro commented on 2016-06-20 22:43

When I started this package there were no release tags, but I'll switch it over now that there are!

allspark commented on 2016-05-10 12:10


please orphan or change to releases

Siosm commented on 2016-04-27 04:27

As per, packages building directly from git should be name pkgname-git. Please reupload this package with the correct name (syncthing-discosrv-git) and ask for the merge of this one with the new one to keep comments.

This package should only be based on the release tags.

prurigro commented on 2015-09-14 23:47

@rumpelsepp: Interesting! Thanks for the FYI- I guess I'll have to wait for 0.12 to come out before upgrading

rumpelsepp commented on 2015-09-11 07:27

@prurigro: It does not connect because the master branch speaks the v0.12 discovery protocol; also it listens in a differnet port. I am too lazy to search this now, but it is somewhere documented. :)

prurigro commented on 2015-09-11 05:58

Alright, I just pushed an update that builds and runs via systemd service, and it should continue to work as things get updated upstream now that it's using go get. For some reason though, syncthing doesn't seem to want to connect to the server while it's running. Downgrading to a build from 10 days earlier does work, and one of the build between the two was built using the old way but still had the issue where it wouldn't connect, so I'm assuming this is an upstream problem...

The version that works is 20150809, if anyone wants to force the package to build that commit. Let me know if you figure out a solution on that note!

prurigro commented on 2015-09-10 23:01

@rumpelsepp: Thanks for the link!

Now that I know I can use go get, I'm rewriting the package to follow a similar strategy as the one used by the script. Stand by for a working update.

ThecaTTony commented on 2015-09-08 09:55

Again there is a missing github repo:

Add an additional skip under sha512sums and under prepare() the following line:
install -d src/
mv crypto src/
+ mv net src/

But the build don't compile anything, and the package by mistake takes the file
src/ as syncthing-dircosvr

A workaraund (ugly):
cd /tmp
git clone
cd syncthing-discosrv
makepkg (and wait until fail to build)
cd src/src/
export GOPATH=/tmp/syncthing-discosrv
./ (as normal user)
tar xvf discosrv-linux-amd64.tar.gz
mv discosrv-linux-amd64/discosrv ./
nano PKGBUILD [change /main to /discosrv under last line of package()]
makepkg -R
sudo pacman -U syncthing-discosrv-20150820.r41.0dd76f7-1-x86_64.pkg.tar

timski commented on 2015-08-25 21:05

tried downgrading go to 1.4.2, same issue

All comments