this post was submitted on 20 Aug 2024
110 points (100.0% liked)
Asklemmy
1454 readers
69 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm currently trying sync thing. It gets the job done but it confuses me a lot. Like you say sftp is just so much more straight forward.
And you can probably hook that up into your file system, making it super convenient.
I can try and help a bit with Syncthing, it's got a couple idiosyncrasies that I feel like I've come to understand.
Which aspect of it is troubling?
Well, one device says it's syncing, but the other doesn't. Or it just doesn't detect changes even after restarting it. In the end it somehow works but the UI feels finicky.
If I use USB, scp or sftp or something it just feels straight forward. I say x and it does x or I get an error. With syncthing all that is hidden and it's confusing.
I also once had an error on a specific folder. I tried deleting and adding it again, but it was still broken. I searched online and it might be because I deleted a hidden folder. I occasionally delete stuff I don't know. And it wasn't able to recover from that or provide a proper error message.
All in all I think I'll keep using it and banging my head against the wall until it works for me. It could definitely use some UI/UX touchups.
That sounds similar to the issue I ran into, Syncthing will create a .st-ignore text file (can't remember the actual name) that links the device folders together. When I've deleted that I've encountered similar confusion and problems trying to get new folders running.
If you have Android clients, I've found Syncthing-Fork to be slightly better for the initial setup.
What I'll tend to do when I have problems is remove each folder I've set up in Syncthing from both devices, then I'll usually create a new folder path for my purposes. If I've already set up when I'm trying to accomplish then I will either rename it (sometimes it helps) or just try from the beginning again.
For example, I want my tablet to get videos from my phone and my PC, and I want these files backed up in general. So on my phone I create /Send-to-PC and on my tablet I create /Receive-from-PC. Either the host or the client can initiate the synced connection for the first time setup, so it's just a matter of naming the Syncthing Label (such as a comment descriptor about the folder, like Media), setting the folder path within the client device (on android this might be /storage/SD-Card-ID/MediaFolder) and then choosing which devices will be connected to this label (usually via a tick-box with the Host or Client name). This is usually it, but you do have the option to set Folder Type for whether you only want to send, only receive, or send and receive, as well as Watch for Changes.
These last two may also be part of what you are noticing too. For example, if you have Watch for Changes disables, you'd have to wait for the scheduled upload, which can save phone battery by not having it sync constantly, but can also prevent syncing quickly when you want it. Or, more likely what you may run into, Send & Receive being the default can result in some odd quirks when you the Host removes an uploaded file to the client. All of the sudden your project file is vanished! This happens to me from time to time, as I'll upload a video I want to edit on my tablet, then I'll move/delete it since I'm in the process of editing, only to remember that Send & Receive makes it so that the client also moves it from the shared folder.
Anyway this probably isn't very helpful, but hopefully seeing a tired rundown of how someone else uses it gives you an idea of what may be happening on your end!
๐ตโ๐ซ
I'll probably end up configuring a virtual file system instead
+1 for syncthing.