Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect local state and "Remote devices syncing" forever #8372

Open
Harrywang55666 opened this issue Jun 1, 2022 · 10 comments
Open

Incorrect local state and "Remote devices syncing" forever #8372

Harrywang55666 opened this issue Jun 1, 2022 · 10 comments
Labels
bug A problem with current functionality, as opposed to missing functionality (enhancement)

Comments

@Harrywang55666
Copy link

Does your log mention database corruption?

no

Include required information

Please be sure to include at least:

  • which version of Syncthing and what operating system you are using
  1. iMac(5BV65U): v1.20.1, macOS (64-bit Intel/AMD)
  2. MacBook(MFPHMV): v1.20.1, macOS (64-bit Intel/AMD)
  3. Windows PC(4S5PAK): v1.20.1, Windows (64-bit Intel/AMD)
  • browser and version, if applicable
    MicroSoft Edge 101.0.1210.53
  • what happened,
  1. Devices configuration
    Windows<--->iMac<--->MacBook
  2. Folder configuration
    Each device share one folder with ID "macmac"
  3. The number of files and folders and the total size is double times of the other devices
  4. "Remote devices syncing" seems would be running forever without any increasing of progress by checking "Remote devices" from iMac
  • what you expected to happen instead, and
  • any steps to reproduce the problem.
    Sorry, I have no idea about reproducing the problem. Even I have reset database and reset deltas.

Some snapshots

  1. Folder "macmac" from iMac

Snipaste_2022-06-01_21-12-35

2. Remote Device MacBook from iMac

Snipaste_2022-06-01_20-44-09

3. Remote Device Windows from iMac

Snipaste_2022-06-01_20-44-41

4. Folder "macmac" from MacBook

Snipaste_2022-06-01_21-15-38

5. Remote Device iMac from MacBook

Snipaste_2022-06-01_21-16-28

6. Folder "macmac" from Windows

Snipaste_2022-06-01_21-17-14

7. Remote Device iMac from Windows

Snipaste_2022-06-01_21-18-05

@Harrywang55666 Harrywang55666 added bug A problem with current functionality, as opposed to missing functionality (enhancement) needs-triage New issues needed to be validated labels Jun 1, 2022
@tomasz1986
Copy link
Contributor

What happens if you either remove all ignore patterns or connect all devices together? Because ignore patterns are in action, and the devices aren't all inter-connected, I'd suspect it's probably the same issue as #7474.

@Harrywang55666
Copy link
Author

Harrywang55666 commented Jun 2, 2022

@tomasz1986
I don't think I would remove all ignore patterns because it has to ignore some OS generated files like ".DS_Store", "Icon\r" or some temporary files, and all all of the devices has the same ignore patterns.
I've also tried to connect all devices together but it seems doesn't work.

@Harrywang55666
Copy link
Author

@tomasz1986
I've follow your suggestions but it seems doesn't work. Here are some snapshots.

  1. Folder "macmac" from iMac

Snipaste_2022-06-02_09-37-09

2. Remote Device MacBook from iMac

Snipaste_2022-06-02_09-39-36

3. Remote Device Windows from Windows

Snipaste_2022-06-02_09-40-59

4. Folder "macmac" from MacBook

Snipaste_2022-06-02_09-42-02

5. Remote Device iMac from MacBook

Snipaste_2022-06-02_09-43-31

6. Remote Device Windows from MacBook (New!)

Snipaste_2022-06-02_09-47-06

7. Folder "macmac" from Windows

Snipaste_2022-06-02_09-48-21

8. Remote Device iMac from Windows

Snipaste_2022-06-02_09-52-55

9. Remote Device MacBook from Windows (New!)

Snipaste_2022-06-02_09-50-55

@tomasz1986
Copy link
Contributor

Not really sure what's going on then, but unless you either can reliably reproduce the issue and provide steps to do it, or provide debug logs from your system with the issue-related lines recorded there, I'd suggest to move further troubleshooting to https://forum.syncthing.net, as it's usually done.

@MarvinMep
Copy link

Exactly the same issue here (Debian 12 /Android 12/Windows 10). The problem is in the Debian/Android sync (when I connect Android/Windows on another network, everything is fine). I have many folders N'sync, all of them "Up to date", but I still get "Syncing 99% 38,2 MiB" and "815 out of sync items" on remote device (it shows up on Android about Debian and vice versa). When I click on the link to the out of sync items (on Debian) a window pop up with no item listed.

@MarvinMep
Copy link

Since I suspected a specific folder to be the problem, I unshared it, removed it from syncthing in Debian and then reshared it. The following error appeared:

2022-09-15 08:06:34: Error on folder "XXXXXXXX" (#####-#####): folder marker missing (this indicates potential data loss, search docs/forum to get information about how to proceed)

Now there are 1630 out of sync items and the folder is "stopped". Now the list - on the folders section - shows them, but i don't now what to do about it.

@Xelbayria
Copy link

Xelbayria commented Apr 22, 2023

I had a similar problem with just one folder. I've managed to fix it by doing this in:
Edit Folder (Foldername) -> Advanced -> Ownership -> Sync Ownership (enabled) & send Ownership (enabled)

then turn it off again (similar to what one would do is restart the synctrayzor | syncthing)
that seems to do the trick. Let me know if that solved your problem or not.


EDIT:

okay that's interesting. There are a few conflicts I had to resolve myself. just 6.. and 1 exactly same file (workspace.json) (a second time). I'll be finding out more later in the day.

@calmh calmh removed the needs-triage New issues needed to be validated label Sep 25, 2023
@haw-haw
Copy link

haw-haw commented Nov 4, 2023

What happens if you either remove all ignore patterns or connect all devices together? Because ignore patterns are in action, and the devices aren't all inter-connected, I'd suspect it's probably the same issue as #7474.

The same issue at my android phone.

@kuanyui
Copy link

kuanyui commented Feb 24, 2024

I had a similar problem with just one folder. I've managed to fix it by doing this in: Edit Folder (Foldername) -> Advanced -> Ownership -> Sync Ownership (enabled) & send Ownership (enabled)

then turn it off again (similar to what one would do is restart the synctrayzor | syncthing) that seems to do the trick. Let me know if that solved your problem or not.

EDIT:

okay that's interesting. There are a few conflicts I had to resolve myself. just 6.. and 1 exactly same file (workspace.json) (a second time). I'll be finding out more later in the day.

Also encounters this issue on v1.27.3, Linux (64-bit Intel/AMD), and your trick really resolve some of stuck Syncing. Still don't know the reason...

I'm installing & setting up Syncthing on a fresh-new Linux computer. After synchronizing, according to the statistics shows in "This Device" it seems most of files are already fetched from the Remote Devices, but lots of Remove Devices still show "Syncing":

shit

@digital-spinner
Copy link

I think I have the same issue here: #9482

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A problem with current functionality, as opposed to missing functionality (enhancement)
Projects
None yet
Development

No branches or pull requests

8 participants