Quantcast
Channel: Syncthing Community Forum - Latest topics
Viewing all 6321 articles
Browse latest View live

Update v1.4.0-rc.4

$
0
0

@Andy wrote:

Two automatic updates and one manual startet update to v1.4.0-rc.4 on 3 Windows 10 computers without problem.

Posts: 3

Participants: 2

Read full topic


Enable 2FA on GitHub

$
0
0

@calmh wrote:

If you are currently a member of the Syncthing organization on GitHub, please enable 2FA. If you do not, you will be kicked out from the organization at some point in the future.

This is not because I say so, but because we will enable GitHub “Sponsors” for Syncthing, and to do so the org must have 2FA enforced. Enabling that setting kicks out anyone without 2FA configured. So now is a good time to beef up your security.

Posts: 2

Participants: 2

Read full topic

Update v1.4.0-rc.5

Performance issues under 1.4.0 rc4

$
0
0

@terry wrote:

First, I declare that the data drives are USB, the indexes are on an SSD (c:\), it’s an i5 with 16Gb ram. Saying that, this version is the first where after a few hours, usually 4, I get the following under Synctrazor

I had the same issue last night and had to restart St, so I paused all but 4 jobs and this morning the gui is again unresponsive. If I refresh synctrazor or open in an external browser the page is blank.

By now the local state should be in the order of several Tb (I have 7+Tb) and on previous versions, if all the jobs were left to run in tandem, I would have completed the initial scan within a day (due to USB IO)

Syncthing is still running, I can see in the resource monitor is still reading and indexing. But something has changed where I feel it’s taking longer to perform tasks and the connection error this time isn’t going away with page refreshes. The system isn’t running flat out

it feels like it’s working harder on scanning / indexing compared to other versions.

Posts: 10

Participants: 3

Read full topic

new update error click overrude changes

folder contents disappearing? when does something become interpreted as deleted? st store on a nas device

$
0
0

@usernamegoeshere wrote:

Oddity here. And urgently need to find out what happened. Some syncthing user is sharing/using two folders on a windows 10 machine. The folders reside on a network drive/share on that windows machine, e.g. a nas network attached drive connected via some network drive e.g. z:\folder\path\to\share\

Anyhow, yesterday we discovered, that stuff was missing at other participating machines, or files not yet arrived.

The drive z:\ at this troublesome machine with the nas, was x-ed red and in a disconnected state. the syncthing localhost webpage showed weird status info for the two syncthing shares, something like folder path unavilable or something.

restarting syncthing from the localhost webpage gui didnt help. it stayed in faulty state.

only a real shutdown of the syncthing.exe process via gui, waiting a bit and restarting main syncthing.exe from scratch brought back the two syncthing objecs in green sate synced state.

meanwhile / before, the network drive z: on that machine had been clicked on and browsed/tested/reconnected.

some artists .mp4 created animation file successfully transfered yesterday after that syncthing issue had been sorted out, and happily arrived at other remote syncthing participating machines. so far so good.

today, some folks in this syncthing group, now claim, that some/lots of stuff from various folders is missing or empty.

is it possible, that syncthing, during such situations with this messed up nas drive being disconnected, and that one machine nas drive giving headache to syncthing process, those error state with folder missing or such, but actually causing then deletes on the other participating machines all of a sudden?

but the situation here is, that not all of those two syncthing shared locations are empty, ofcourse that would have been immediately discovered.

its only like selecte subfolders further down two or three directory levels that people claim they had content in, are now empty or such stuff.

I am trying to make sense of this all and trying to find out what actually had happened and what not.

short: can such drive losses cause deletions? or is this rather impossible or how would syncthing handle such complete(?) disappearance of the root path where stuff would actually be in?

dont even actually really know how to phrase the question.

maybe we have different problems though. is it possible to look at a log file from syncthing what exactly has happened within select directories or something? would help a lot to verfiy some claims here with participants.

thanks lots.

Posts: 3

Participants: 3

Read full topic

How does syncthing create new files within a shared folder?

$
0
0

@andneuma wrote:

Hello everyone,

I’m running syncthing since a while now syncing stuff between multiple devices mainly through a remote server (practically, not technically). Now I’ve written a small ruby program using https://github.com/guard/listen which should listen for freshly synced files within a shared folder and process a file once created within a watched folder. Now the problem is, that syncthing behaves unexpectedly: My ruby code is not able to catch a file freshly created by syncthing within my added handler but rather within modified. The details of the ruby library shall not matter here (I hope), after some reading and rewriting the program I understood that Syncthing creates a temporary file during the syncronisation which after transfer completion becomes moved filename-wise to the final filename. That would sort of explain my discoveries with my small piece of software.

Before I rewrite pieces of the code I wanted to know whether this understanding is correct?

best and thx, Andi

Posts: 4

Participants: 2

Read full topic

Downloading large files in one folder prevents pushing changes to other folders

$
0
0

@tomasz86 wrote:

I have had this problem for a while, but I am not sure whether this an actual defect or “by design”.

There are multiple folders shared between PC1 and PC2. One of them consists mainly of large, 1.5+ GB-sized files. When such a large file is being uploaded from PC2 to PC1, the changes taking place in other folders on PC1 are not pushed to PC2.

As you can see in the screenshot, the upload rate is basically stuck at 0 B/s. As soon as I pause the folder with large files, then all the queued “Out of Sync Items” are pushed from PC1 to PC2 almost immediately.

Is this normal, and if not, what can be done about this? PC2 itself has its upload speed limited to 25 KB/s (on a 10Mb/1Mb connection), while PC1 is unlimited (on a 100Mb/10Mb connection). There is no other significant network traffic taking place on the two PCs.

I have checked the logs, but there does not seem to be any suspicious activity there. What kind of debugging options should I try to enable in order to investigate this problem?

Posts: 5

Participants: 3

Read full topic


What does Syncthing network traffic look like

$
0
0

@David.P wrote:

Hi forum,

assume Syncthing is used in a company via the company’s wireless or wired network to sync some 50GB between multiple PC’s inside and outside the company’s location.

What would the Syncthing network traffic look like to the IT guys of that company?

Posts: 11

Participants: 4

Read full topic

Rescans and receive only folder

$
0
0

@delic wrote:

Hi!

I cannot understand the purpose of Rescans for the folders of 'Receive only" type. Do I have to manually turn off Rescans for such folders? Or Rescans are still required and Syncthing will not work correctly without Rescans on 'Receive only" folders?

I currently use 'Recieve only" folders to sync ‘DCIM’ folder content from Android device to server. There is one to one relation: ‘Send Only’ folder on Android device which sync to ‘Receive Only’ folder on server. And folder on server is read only for some clients (Plex), but has read write access for some other (Samba). So, if file will be removed on server, Syncthing will fetch file from Android device again? What if file will be changed on server? Conflict will arise?

Posts: 1

Participants: 1

Read full topic

Is there a Step by Step tutorial to sync SFTP to local dir?

$
0
0

@MediaMaquina wrote:

Is there a Step by Step tutorial to sync SFTP to local dir? Thanks! I’m looking for something precise i don’t have time to read the entire documentation sadly.

Posts: 3

Participants: 2

Read full topic

Syncthing capabilities and requirements with 1000+ users

$
0
0

@Gabesz wrote:

Hey,

Our cluster will look like this: two or more (currently unknown) send-only servers that have all the shared folders, plus 1000+ receive-only clients/customers who has access to only a few folders. The customers will use our app that runs syncthing in the background. They probably won’t connect and start the downloads at the same time. (though in the beginning we expect to have a higher amount of concurrent downloads) We expect that there will be less than a hundred customers connected at the same time in the long term. The number of shared folders is somewhere between one and two hundred. Each shared folder should be around 100 Gb and contain less than a hundred files.

Hopefully you guys can help us answer a few questions:

  1. Is Synthing able to cope with a cluster of this many nodes? If you have personal experience, would you share it?
  2. What kind of hardware (RAM, CPU) should we use to serve this amount of clients without any performance issues?
  3. Is there any issues we should expect with a cluster of this many nodes?
  4. Any advices for the syncthing configuration?

Thank you!

Posts: 4

Participants: 2

Read full topic

WebUI. How to know when folder was synced last time.

$
0
0

@delic wrote:

Hi!

I cannot see when folder was last synced in server WebUI. There is only information when the folder was last scanned. Also it would be nice to see log of last sync update: what files were added/deleted/updated.

Syncthing is not always running on my Android devices. I’d like to see on server what devices (by checking folders linked to devices) are out of sync too long and run sync on that devices.

Posts: 4

Participants: 2

Read full topic

Global state doesn't match local state on up to date folder

$
0
0

@imsodin wrote:

Continuing the discussion from Performance issues under 1.4.0 rc4:

This is maybe the same issue as in Folder shows as "Up to Date" but global and local states do not match. There were db restorations and folder type changes involve, at least the former doesn’t apply here as far as I know.

A few questions:

  • Did/do you only observe it with 1.4.0, not with earlier versions?
  • Does it only affect receive-only folders?
  • Did you change the folder type of the involved folders previously?

Posts: 14

Participants: 3

Read full topic

Syncthing in hyper-v won't work

$
0
0

@SNCTH wrote:

Hello, have Windows Server 2019. Using Hyper-V and there is installed Ubuntu Server 18.04 LTS. Installed syncthing and followed this guide:

But can’t open web gui, it shows me only

This site can’t be reached 10.50.20.14 refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

Any idea what is bad and how to fix that please? logs: https://pastebin.com/Sf2Qg5Zz

Posts: 4

Participants: 3

Read full topic


Non-existing files stuck on "Out of Sync Items"

$
0
0

@Mike wrote:

I have a one-way sync set up with a Mac (send-only) and Windows (receive-only). The Mac is showing 11,145 “out of sync” items for the PC, but looking at the PC shows it’s up to date (it has all the files locally).

Clicking on the list gives me a list of items that don’t even exist on the Mac! I confirmed this on Finder and Terminal. How do I get rid of this? It’s annoying to see it stuck at “syncing 93%” waiting for the PC to sync 11k files that it doesn’t want/need and doesn’t even exist!

Posts: 23

Participants: 5

Read full topic

Resolving case-only rename conflicts

$
0
0

@Xeenych wrote:

If you happen to make a case-only rename of some file on windows machine, then this file will be renamed on this machine only. The filename caseness won’t propagate to other windows machines and the file will become out of sync forever. To deal with this conflict one have to manually rename this file on every machine to match the case.

There is a easier way. If you see that file “types.h” is out of sync, rename it to “types_.h” and wait for some time. Soon you will get files “Types.h” and “types_.h” in the same dir. Then compare files and delete the one you don’t need. If you deleted “Types.h” wait for files to sync and then rename “types_.h” back to “types.h”

The same is useful for dirs. If you have a dir full of case conflicts. rename “dir” to “dir_” syncthing will pull “dir” and populate it with conflicting files. Then you have to copy contents of “dir” to “_dir” overwriting all files. And after some time rename “_dir” back to “dir”

Posts: 3

Participants: 3

Read full topic

MERGE 2 DIFFERENT VERSION OF A BACKUP

$
0
0

@Fa13e wrote:

Hello Guys I’m new. I have this weird situation I have 2 backup an older one and a new one where some files where added, some were moved or renamed and other files are missing from the older one. So I’d like to know if Synching can compare the 2 trees inspecting files at bloc level and merge the 2 structure, keeping the most recent file name and location if an older one is found and copy older ones if missing in the recent backip.

Cordially.

Posts: 1

Participants: 1

Read full topic

Feature Proposal: Smart/Adaptative Resource Usage

$
0
0

@rvalle wrote:

The Problem

I love syncthing but the truth is that I end up disabling it most of the time. My laptop is often on heavy loads and syncthing seems to add up significantly and disproportionally.
On 99% of the situations I really don’t care how quick the Sync takes place, as long as it eventually gets there.

With regards to HD usage, I backup my mobile with Syncthing and you end up with huge videos that can actually be deleted, however, my laptop will be drained right in the middle of the working day… which effectively forces me to stop my work and start watching and selecting videos before I can continue working.

I find these problems a real deal breaker in terms of user friendliness and could potentially have a lot of impact on mass adoption by the general public.

New feature description

Syncthing should be capable to throttle the resource usage and adapt it to current system workload.

For example never go over 20% CPU and disable syncing when general system load goes over 50% CPU, things like that. Different rules could be applied if the user is present of if the computer is idle.

Similarly Syncing should not drain HardDisk down to 0 bytes left, but stop the sync on when fiesystem free space is less than a given %.

The order of the sync folders in the UI could also be used to give some sense of priority to the tasks. Even some tasks could be ticket as low priority.

I could be possible to boost resource usage for that 1% of situations in which you actually need a sync file to arrive. In that case the boost period could be automatically finished when sync is complete or after a given period. Boosting particular syncs could also be good.

Posts: 2

Participants: 2

Read full topic

Connection Error, while syncing, don't know why :/

$
0
0

@PeterT wrote:

Hi everyone, and first of all, thanks for your valuable time that you spend on helping others. :slight_smile:

I recently changed from FreeNAS to Ubuntu Server. I use Syncthing to backup the Camera folders from the phones of my family. I installed Syncthing, and when a client is connected, and the synchronization process starts, i get a connection error. Sometimes it disappears for a few seconds, then comes out again. The client status alternate between connnected / disconnected and the folder status synced / out of sync. It sync some files every time, and eventually, makes some progress, but it errors out, and restarting the process. ( or at least seems like to me that’s happening) But, when it’s not syncing (my phone is off), there is no problem at all the GUI is responsive, but when a sync is in progress, the error message comes out.

So, the things I tried, reinstalled the server on the NAS, reinstalled the client app on my OnePlus 6. Disabled the firewall on the NAS. Changed the complete disk’s permissions to 777. Tried a different folder to sync. Tried a different client to sync from. Tried reinstallign it with a snap package. Tried with the default sync folder, that is on the boot drive and not on a mounted disk.

Can anybody help me figure this thing out? I would really appreciate it.

I read on some posts, maybe the errors in the browser console may help to get it diagnosted, so I attach some pictures of it. ( NAS : v0.14.43-ds1, Linux (64 bit) & Android app is the latest)

The error message: error1

The error from the browser’s console that is present all the time, no matter client is connected or not:

error3

The errors that comes out when a client is trying to sync:

error2

Thank You :wink:

Posts: 5

Participants: 2

Read full topic

Viewing all 6321 articles
Browse latest View live