Hi guys, first day of using Syncthing and my first post here. I had originally posted my question here on askubuntu but I was advised to come here.
I’m running lots of simulations on a headless cluster where I don’t have admin privileges. I want to use syncthing to sync them across multiple machines. I have successfully installed syncthing via LinuxBrew and now I have:
I was trying to follow the instructions here till I realized I don’t have admin privileges to create a folder called init in the etc folder or create a new file there. I’m also not able to install upstart via linuxbrew. The formula does not exist. and compiling it from source also fails due to some dependencies… I would appreciate if you could help me know how should I do that.
I am not sure you can make syncthing autostart if you don’t have admin privileges, you should ask your VPS provider how can you make applications autostart. Other than that, syncthing should work and keep running until reboot if you launch it on the command line.
In the IRC channel /I’m being advice to use systemd. I have set up the file ~/.config/systemd/user/syncthing.service with this content. But no idea what should I do next.
there must be some sort of step by step instructions for such a situation where there are no admin privileges on a headless server. I would appreciate if anybody could give me a link.
sure in the meantime I will go and read the documentations. at this moment I’m under pressure to get some stuff done. that’s why I’m asking for help here.
next step on these instructions I was asked to run the command systemctl --user daemon-reload && systemctl --user enable syncthing && systemctl --user start syncthing and I got Created symlink from /home/foobar/.config/systemd/user/default.target.wants/syncthing.service to /home/foobar/.config/systemd/user/syncthing.service.
ssh -L 8384:localhost:8384 username@serverIP and this should ask you to provide the pwd for remote server. open the browser on the localhost and go to localhost:8384 to access the WEBUI
Which means try with -4 option (which by the way is in both the first and second result of a duckduckgo search for “ssh cannot assign requested address” - lets hope it really fixes your problem).