this post was submitted on 20 Jun 2025
3 points (71.4% liked)

Syncthing

305 readers
4 users here now

Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real time, safely protected from prying eyes.

Your data is your data alone and you deserve to choose where it is stored, whether it is shared with some third party, and how it's transmitted over the internet.

Visit https://syncthing.net/ for more information, downloads and donations

founded 4 years ago
MODERATORS
 

cross-posted from: https://sh.itjust.works/post/40624933

Several different, random seeming files across various different Syncthing folders keep failing to sync even after restart, rescan, and reconfiguration, with the below error

syncing: finishing: opening temp file: open /storage/emulated/0/Pictures/Webcam/.syncthing.2024-07-1621:42:30.jpg.tmp: operation not permitted

I don't how how to fix it, the desktop app has the required permissions, and the Android app has as many storage permissions as I can give it under Android's horrible SAF limitations.

It seemed to used to be happening only to some specific old files, but now it's happening to all the new files I add onto my laptop under Videos or Music.

In addition, when trying to sync files with a specific server, it shows as disconnected, even when both are online and connected to the LAN (my phone via WiFi, the server via Ethernet), and there is some error about encryption expectations

2025-06-20 23:33:38: Failure checking encryption consistency with device server for folder "Music" (8ipwu-ehye4): remote expects to exchange encrypted data, but is configured for plain data

The server is running Syncthing GUI on Fedora GNOME, same as the laptop (which does work besides for the first issue), so I don't know what the difference is that would be causing this, not a single file has been synced to the server.

This is honestly making me want to get a Fairphone 5 with Ubuntu touch to get rid of these issues, but I can't do that now.

If anyone could advise, I would really appreciate it!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 5 days ago* (last edited 5 days ago) (2 children)

syncing: finishing: opening temp file: open /storage/emulated/0/Pictures/Webcam/.syncthing.2024-07-1621:42:30.jpg.tmp: operation not permitted

It seems it tries to sync some temporary files (*.tmp) and syncthing doesn't have the proper permission to sync them. It happens to me with my Mac when it tries to sync their stupid dot files !

Not sure this can be helpful but add an ignore pattern lile this (?i).tmp see if it helps ! Not a very elegant solution but just give it a try to see if it works.

[–] [email protected] 1 points 5 days ago (1 children)

It just seems to be calling them tmp files, in actuality it's not syncing any of my recent music files at all.

[–] [email protected] 2 points 5 days ago

Ouch... No idea then, buddy :/ Hope you will find a solution asap. Syncthing is good when it works, but debugging issue can be a pain... Good luck !!