I may be misunderstanding what you want, but the introducer feature seems to solve the problem. You setup your "server" as the introducer for all your other devices, then when you add a device, you just setup your new device with the server, and all other devices get the trust of the new device from the server.
I got it working but curiously enough the server needed to add the clients as introducers. Then it worked and I got a message on all devices that a new folder has been added and showing a UI that easily allowed me to add the folder.
So I setup every "client" to have the "server" as the introducer and auto-accept shares. Then on the "server", I add the new client, and give it all the shares. The new device auto accepts, and all the other clients automatically include the new client.
I always added the "server" as an introducer but for some reason the server itsself gets a prompt to add all the folders from the client but the client doesn't get a list of all the folders the server is sharing which is what I'm after. The introducer does however work by directly giving me a list of all the other devices the "server" has been connected to. I'm using syncthing version 1.20.1 on my server btw.
Not easily, but what you can do (what I do when setting up/resetting a phone): Setup ST clean on one device. Then configure all the folders/shares you want to use on other devices.
Do a backup.
Copy that backup to other devices. Restore.
Of course, this would overwrite anything there, but it's good for that initial setup, to get the devices/shares in.
Edit: Also check out Syncthing-Fork. Gives you finer control within folders, such as battery and network settings, rather than for ST as a whole.
Edit2: I keep a share on my primary machine (desktop that acts as my server) just for information like this. There are text files in there, one is "Syncthing Info" with Device names, ST identifiers, share names/identifiers, descriptions, etc. Since my phone has that share, I can easily access all that info, or even share that share with other devices.
Thanks, I have tried method you described but in my case it led to a total mess since the device I exported from and imported from then were indistinctable for all other devices causing issues.
But thanks for telling me about syncthing fork! I will definitly check it out!
Crap, I didn't realize the backup carried over the device ID. Hmm. Are we able to change the device ID in ST? Or maybe in the backup?
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!