this post was submitted on 18 Jan 2025
16 points (94.4% liked)

Selfhosted

41132 readers
804 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I moved from next cloud to syncthing some months back. I had nextcloud as an app for Truenas scale. Several times after app dates, next cloud would stop running and would have to setup up everything again.

Syncthing is OK but 2 things annoy me:

A. I get huge amounts of conflict file generated that use up space

B. File sharing with family is complicated. I tried to setup a share account that everyone uses but as syncthing works with device ids, it refuses two accounts from the same machine. I share my Linux laptop with my wife. We each have our own linux account. I've got syncthing running but can't even get my wife's account to sync because I get errors that device I'd already exists.

I don't want to go back to next cloud just for file sharing. I don't generally like the idea of relying on one service for multiple objectives (calendar, file sharing, etc.).

Is there a way to get syncthing to do what I want?

all 19 comments
sorted by: hot top controversial new old

Does Syncthing actually work with device IDs? It seems to work with encryption keys which should be stored in the user directory, at least if Syncthing is running as a user. Is the problem just that you have two machines with the same name in the same network? You can change the name.

[–] poVoq@slrpnk.net 7 points 6 hours ago (1 children)

You could try it with KaraDAV. Much simpler and works fine with the Nextcloud apps.

[–] Guenther_Amanita@slrpnk.net 4 points 5 hours ago

Awesome! I didn't know this existed, but I definitely have to check that out. Thanks!

[–] ahal@lemmy.ca 3 points 8 hours ago (1 children)

Why not both?

I use syncthing for transferring files around my local network, and nextcloud for sharing files with others.

IMO these are related tools but designed with very separate use cases. Use the right tool for the job.

[–] trilobite@lemmy.ml 5 points 8 hours ago (1 children)

I just find nextcloud bloated for my use case.

Surely you could run Syncthing in a docker container or flatpak or something to force it to work on the same machine. I don't know what mechanism is used, but you can spoof a lot on Linux.

[–] jeena@piefed.jeena.net 6 points 12 hours ago (2 children)

I use syncthing like you on a Linux laptop with two users. You need to run two instances of syncthing on two different ports then there is no problem.

[–] trilobite@lemmy.ml 2 points 8 hours ago (1 children)

Let me get this straight. Ur saying that on the laptop I have two instances, one for me and one for my wife and they both sync to nas instance. I have syncthing installed via apt on my Debian laptop. How do u get two instances going?

[–] jeena@piefed.jeena.net 2 points 7 hours ago

Yes exactly, but not only to the NAS but also between each other.

First you need to change the UI port on the second user, to do that you have to change it in the config XML file for that user.

Once done you can start both instances at the same time. How do you start it now? I'm starting it with systems, and there is the way to start it for each user seperatelly on boot with:

systemctl enable syncthing@myuser.service
systemctl start syncthing@myuser.service

[–] neatobuilds@lemmy.today 1 points 8 hours ago

Are you mainly using it at home? Could you just use fstab with like an smb share from your server

[–] JASN_DE@lemmy.world 5 points 12 hours ago

There are other options available, especially if you just want file sharing. Pydio Cells, Owncloud Infinite Scale, a custom WebDAV setup, etc.

What are your main goals? Do you want all data on all machines, or all files on a central server and only sync what you want?

How did you set up Syncthing on your laptop?

[–] mhzawadi@lemmy.horwood.cloud 3 points 12 hours ago

I would say that for just file sync nextcloud is over kill, but I have invested a lot of time into getting my nextcloud install rock solid. Upgrades are painless and am about to move it to a new host.

So use it for file sync, including backups from things. Calendar & contact sync, RSS reader, kanboard, photo sync and more.

[–] muntedcrocodile@lemm.ee 3 points 13 hours ago (3 children)

Synching has dropped android support as well unfortunately

[–] WIPocket@lemmy.world 19 points 12 hours ago

Well, fortunately it still works. Also, it seems like the forked version did not stop development.

[–] bjoern_tantau@swg-empire.de 1 points 12 hours ago

Maybe take a look at Owncloud's new server. It's supposed to be much faster and I imagine simpler as well.

[–] JubilantJaguar@lemmy.world -2 points 12 hours ago

You could even try next going to back cloud.