Skip to content

Location of database may be different from config location #571

Closed

Description

@GermanCoding

I would love to file a PR instead of an issue, but I don't have the time today so let's file this first so that it isn't forgotten.

The config page currently states:

Syncthing uses a single directory to store configuration, crypto keys and index caches.

This not always true anymore. v1.5.0 decoupled database and config, the database may now be in a diffent location. Notably, two new locations werde added:

$XDG_DATA_HOME is set, use $XDG_DATA_HOME/syncthing.
If ~/.local/share/syncthing exists, use that location.

This new behavior should be mentioned somewhere in config/database related pages. The new command line arguments to set config and db independently should also be mentioned on the config page, since it currently only mentions the -home flag.

Activity

  1. added a commit that references this issue on Jan 22, 2021
    dda01db
  2. added a commit that references this issue on Mar 9, 2021
    a39ded3
  3. locked and limited conversation to collaborators on Jan 26, 2022
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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions