Skip to content

"Failed initial scan" error when changing folder settings #10363

Closed

Description

@tomasz1986

What happened?

Image
  1. Start Syncthing.
  2. While still in a "Waiting to Scan" state, go to "Edit Folder" and change something in the folder's configuration.
  3. Save the changes.
  4. The GUI displays "Failed initial scan" error messages.

Is there any actual reason for these messages to be displayed at all? Of course, the initial scan (or rather "waiting to scan" 😅) was interrupted (by making changes to the folder), but this was done by the user on purpose, and the error pop-up seems excessive. I believe this may be something new to Syncthing v2 and its changes to the logger, as I don't remember seeing these in the past.

Syncthing version

v2.0.6

Platform & operating system

N/A

Browser version

N/A

Relevant log output

Activity

  1. added theissue type on Sep 4, 2025
  2. added
    bug
    needs-triage
    and removed
    needs-triage
    on Sep 4, 2025
  3. calmh commented on Sep 5, 2025

    @calmh
    Member

    We have a few places where we skip reporting context cancelled errors for this reason, I guess we missed one here.

  4. added a commit that references this issue on Jun 21, 2026
    f7f2e7c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions