Skip to content

REST API documentation page references commandline option that does not exist anymore on the commandline options page #969

Open

Description

@93-infinity

What happened?

The page is - https://docs.syncthing.net/rest/system-reset-post.html

The text is Caution: See --reset-database for .stfolder creation side-effect and caution regarding mountpoints.

--reset-database is not referenced here - https://docs.syncthing.net/users/syncthing.html

But it was in the 1.x pages - https://docs.syncthing.net/v1.30.0/users/syncthing.html#cmdoption-reset-database

Syncthing version

v2.0.10

Platform & operating system

Linux (64-bit Intel/AMD Container)

Browser version

No response

Relevant log output

Activity

  1. added theissue type on Oct 30, 2025
  2. added theissue type on Oct 30, 2025
  3. acolomb commented on Oct 30, 2025

    @acolomb
    Member

    This is really a bit more involved. Looking at the history, I think #901 removed too much. The syncthing [serve] --reset-database command is now syncthing cli debug reset-database. And syncthing [serve] --reset-deltas was renamed to syncthing [serve] --debug-reset-delta-idxs.

    Given the link here points to the option docs for the explanation about .stfolder recreation and being cautious with that, it's not simply fixed by pointing to a different option. The whole paragraph (although helpful) was simply removed.

    I think the content should be added back in an appropriate location, e.g. under the syncthing cli commands description. And of course, the now dangling links for renamed / removed options must be fixed. @calmh (as author of #901 and syncthing/syncthing#10007), would you mind reintegrating / updating the relevant sections?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions