bolha.us is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a Brazilian IT Community. We love IT/DevOps/Cloud, but we also love to talk about life, the universe, and more. | Nós somos uma comunidade de TI Brasileira, gostamos de Dev/DevOps/Cloud e mais!

Server stats:

250
active users

#syncthing

4 posts3 participants0 posts today

One thing that bothers me about #Syncthing GUIs like Syncthing Tray is that none of them seem to be aware that you can connect to Syncthing over a Unix socket.

There would be serious security benefits to configuring Syncthing to allow access only by Unix socket, but I can't do that if none of the GUIs support it…

Just an #FYI for my #syncthing on #Android peeps:

"Syncthing-Fork slow due to Android filesystem abstraction layer"

https://forum.syncthing.net/t/syncthing-fork-slow-due-to-android-filesystem-abstraction-layer/24040/1

Text dump as of the creation of this toot:

Syncthing Community Forum

Syncthing-Fork slow due to Android filesystem abstraction layer
AleksiDj73
Alex
3d

Hello everyone, i have an issue which i don’t quite understand what causes this and hopefully some of you have a good solution for it.

For the past 1.5 years, i had used the Syncthing app from play store on my Samsung Galaxy A71 due to the fear of the phone stop working and have my pictures/videos backed up to my PC. Fast forward a month ago, i bought myself a Samsung Galaxy S24 Ultra 1TB and weirdly enough, i downloaded the Syncthing app from play store and it installed Syncthing Fork. Upon a google search on what fork is, apparently it’s a better version of Syncthing and the old one wasn’t being supported, and said alright.

Though, the transfer speed on my phone and PC is incredibly terrible, i mean very terrible. The old Syncthing app used to work amazing, transfering like 5GB pictures/videos in 5 minutes or so using the maximum speed that my ISP provides, and now with fork 5GB takes more than 2 hours… The progress of transferring files is very slow, and i check the transfer window to see the progress of each file, and it barely moves. There are times that Syncthing will somehow transfer 20 files at once, and get stuck for 10 mins transferring 10 50mbs pics.

Though, that slow transfer has a negative impact on battery life on my phone. Checking the battery stats on Device Care, it shows an “app” called “Media Picker” and it has used 1.6% battery in the past 45mins. 45mins being in background and the CPU. Last week, that “Media Picker” was terrible, and i remember the stats showing like 6% in 2 hours and was confused. Well to be fair that 6% was because i set up Syncthing for the first time on my new device but still, the slow transfer was still present on first day till today.

I haven’t troubleshooted this as i don’t know what causes this and therefore don’t know what settings to tweak in order to fix that.

Has anyone experienced this and found a solution for this? Or if someone knows the issue I’m having? Thank you tons!

AleksiDj73
Alex
3d

Impossible. How did my Galaxy A71 running Android 13 blazed through the transfer every single time?.

tomasz86
Contributor
3d

I think it’s because that phone originally came with Android 10 and was upgraded by Samsung to newer Android versions later. Because of that, it was still exempted from the current storage restrictions (see https://source.android.com/docs/core/storage/scoped#fuse-and-sdcardfs).

AleksiDj73
Alex
3d

So in that case what do i do? Wait 3 hours for syncthing to transfer 100mb pics and vids and in the meantime it decreases like 10% of my battery trying to transfer those?

Question, is there a way to change a setting in Syncthing to transfer 1 file at a time and not try and transfer 10 at once? Maybe that’s beneficial for both my phones battery and maybe transfer things faster?

tomasz86
Contributor
3d

So in that case what do i do? Wait 3 hours for syncthing to transfer 100mb pics and vids and in the meantime it decreases like 10% of my battery trying to transfer those?

There is nothing you can really do as a user :slightly_frowning_face:. I understand the problem very well, because I’ve got one device running Android 7. There, I can sync a folder with 7000+ files in 5 minutes. The same folder requires many hours to sync on much faster devices like Google Pixel 8 or Pixel 9 Pro.

slimhk45
3d

Google really destroyed the experience of Android users, they hate us.

One solution exists: switching to iPhone.

Otherwise, don’t you think that the new Linux Terminal app in Android 15+ can circumvent this Android limitation?

Catfriend1
Contributor
2d

Hi,

I don’t sync many thousands of files but my two phones (Android 10 & 15) perform it “fast”.

I am using static IP device config instead of Syncthing’s (default) feature Local Discovery. Local Discovery does not work on recent Android versions because the mechanism is blocked by Android internally. I suspect you ended up with global relay for the transfer on your new phone?

slimhk45
2d

Try with thousands of files within a single folder to be sure. I had the speed limitation on LAN with USB tethering.

[output truncated for space]

Syncthing Community Forum · Syncthing-Fork slow due to Android filesystem abstraction layerHello everyone, i have an issue which i don’t quite understand what causes this and hopefully some of you have a good solution for it. For the past 1.5 years, i had used the Syncthing app from play store on my Samsung Galaxy A71 due to the fear of the phone stop working and have my pictures/videos backed up to my PC. Fast forward a month ago, i bought myself a Samsung Galaxy S24 Ultra 1TB and weirdly enough, i downloaded the Syncthing app from play store and it installed Syncthing Fork. Upon a ...

It looks like one of my Syncthing clients (syncthing v1.29.2 on bookworm on an rpi 3 called "slinger") was trying to hit stun.syncthing.net about 4 times a second for a 24 hour period which ended yesterday at 6pm UTC.

Did anyone else using #syncthing notice anything similar?

Is really #Syncthing the easiest way to automatically send your photos from your phone to your #Linux PC? Because it was a real hassle to set up, and now it just stopped working for me a long time ago and it does nothing to help me understand why or how to fix it. The WebUI clearly tells me how much is not synced, so why doesn't it just sync it! All I can do is rescan or pause+unpause, but that doesn't help! There has to be something better than this, right?

I have #Syncthing running on the same computer as my #HomeAssistant instance. I already have integrated those two with the normal HA integration, but wanted a bit more control. So I created a Dashboard panel that contains only a webpage card for Syncthing.
By default, Syncthing doesn't allow embedding as an iframe, even when the page's URL is on the same Domain, so following the documentation (here: docs.syncthing.net/v1.29.3/use) one can disable that and embed it as wanted.
This works great!

docs.syncthing.netSyncthing Configuration — Syncthing v1.29.3 documentation
Replied in thread

👍 @coegho , era só para que o tivesedes en conta, porque estas cousas non o poñen en grande na portada (ninguén), pero cada quen que faga da súa capa un saio 👍 👍

Se me permitides unha aportación á conversa, por se alguén máis o precisa tamén, hai unha solución moi doada para o caso que comentades.

Entendo, cando falades de «subir» as cancións, que tedes os ficheiros (.ogg, .mp3, etc.) no voso ordenador ou dispositivo.
Pódese usar nextcloud ou similares, aínda que require un servidor, eu creo que o máis fácil é usar Syncthing xunto cun reprodutor do voso gusto no móbil ou ordenador.

Leva a túa música contigo :catMusic:

todo o proceso non leva nin cinco minutos (literalmente)

  • instalas #syncthing no ordenador onde tes os ficheiros de música. Preferiblemente nun único cartafol (por simplificar)
  • instalas syncthing no móbil
  • comproba que ordenador e móbil están conectados á mesma rede Wi-Fi (por simplificar e rapidez)
  • abres a interface (GUI) de syncthing no ordenador e engades o ID do móbil (vese na app do móbil); no móbil fas o proceso inverso (lendo o código QR do ordenador é máis rápido)
  • no ordenador, á esquerda, en Cartafoles, engades o cartafol onde tes a música e seleccionas que o sincronice co móbil. En segundos comezará a sincronización :sorrisosloth:
  • cando engadas unha nova canción ou álbum no ordenador súbese automáticamente ao móbil :slothOK:

Podes engadir máis móbiles ou dispositivos ao mesmo cartafol, subcartafoles, sincronizar só en determinadas redes, non coa rede móbil, etc.

Os móbiles teñen moita memoria dispoñible, pero considera compartir só un cartafol específico ou subcartafol se tes unha colección de música de 2TB :grimace:

No móbil, para escoitar cancións, álbumes, listas de reprodución,… hai un cento de aplicacións que precisan moi poucos permisos (básicamente á almacenaxe) e moitas nin conexión a internet precisan (a non ser que baixen a letra, ou portadas de discos, etc.) Non lle mandan o que escoitas a ningún servidor, nin che recomendan, nin analizan o teu estado de humor, e sen publicidade.

Exemplos:

:retootOk:

#música #android :android:

@EmilioEsmorga

syncthing.netSyncthing

I love @obsidian , but it's a shame that it's not #opensource (even if I'm aware of all the reasons they have to keep it closed).

I might make the switch to another solution, but I don't want a #cloud. I want local files (#linux , #macos , #iphone ) synced with #syncthing . And I want #markdown (I considered "1 big text file" @ellane but a bit of formatting is so nice 🤩😉).

It's an opportunity to reorganise the @johnnydecimal way! 🤩

With #joplin I can't choose the "vault" folder on #iOS. With #logseq neither. #orgmode , too much for me at this stage.

I'll continue my search...

I like syncing files locally between computers and needed something for non-git stuff. Syncthing did the job well. It moved ~200GB quickly on my LAN, and syncing changes is transparent - just open it on both devices.

Used Unison before, but Syncthing is much more user-friendly.
#linux #Syncthing