Hello,
I could not look right about that, my question is: I have a web hosting (I have database, FTP, etc.), there is a way to host the Syncthing functioning as an online machine?
I have unlimited space in hosting, so I thought of using it as a cloud.
And if you don’t have access to a shell account, you’d have to work with your hosting provider and ask them to make Syncthing an option on your account.
does anyone know how to do this using windows putty?
that’s kind of hard for me.
I used the link from @xHN35RQ,
but I can not step over: sudo cp syncthing / usr / local / bin
of an error: sudo: effective uid is not 0, sudo is installed setuid root?
You still can run syncthing without having sudo-rights. This step is solely for the purpose of having syncthing installed for ALL the users of the machine.
The simplyfied steps to run syncthing on any host (with shell access, that includes windows with putty) are:
download the binary from github ‘latest release’
– use wget as described in the tutorial
– or use ftp or any other means to get the tar-file (or just the executable for the system) to the web-host
extract the tar-file with tar -xzvf <tar-file>
change directory into the extracted folder using the command cd <folder-name>
don’t know if the executable-bit is set for the binary, if not set it with the command chmod +x syncthing
start the syncthing binary with the command ./syncthing
That may well be true, but the real reason syncthing couldn’t start is somewhere above the log entry you quoted. If you paste that, maybe you can get some help and advice from here.
I have successfully installed Syncthing on a shared hosting and it works fine. My hosting to told me I had to buy a VPS but it worked anyway.
At what stage are you stock?
Yes, you can do it if you have SSH access and even without root privileges. I have installed Syncthing on a subdomain just following the instructions.
Yes I faced some troubles.
I’ve fixed setting the service on port 0.0.0.0:8080.
At this point your root folder subdomain.site.com is exposed to the web while you will find Syncthing at subdomain.site.com:8080.
I have then created a index.php file to redirect all the traffic to subdomain.site.com:8080.
@calmh Maybe the redirect is something that could be set by default in Syncthing?
That redirect is something you do on your web hosting, not sure what it has to do with Syncthing as such? We don’t publish or expose your folders over HTTP.