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

Look for the Syncthing config file in new default location #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

acolomb
Copy link

@acolomb acolomb commented Mar 3, 2024

Syncthing in version 1.27.0 changed the default UNIX location for its configuration and database directory to $XDG_STATE_HOME according to the XDG Base Directory Specification. On the basis that these files are not really "configuration" as in user preferences, but they describe the state of the Syncthing setup for a specific device. Especially they cannot be shared between devices.

Thus the extension would fail to connect on newer installations because it cannot find the config file and therefore is missing the API key. Add the new default path to the list of directories tried.

Syncthing in version 1.27.0 changed the default UNIX location for its
configuration and database directory to $XDG_STATE_HOME according to
the XDG Base Directory Specification.  On the basis that these files
are not really "configuration" as in user preferences, but they
describe the state of the Syncthing setup for a specific device.
Especially they cannot be shared between devices.

Thus the extension would fail to connect on newer installations
because it cannot find the config file and therefore is missing the
API key.  Add the new default path to the list of directories tried.
@acolomb acolomb mentioned this pull request Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant