-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
API key is not saved when using a new one #183
Comments
This seems specific to the macOS wrapper which is a separate project, I will transfer the issue. |
It seems indeed setting the API key from the preferences window doesn't save it anymore.
We need to investigate why this problem exists. |
I am having this issue on Mac OS Sierra 10.12.6 I used the defaults write command to write the API key and now syncthing will not start either withe the latest version or with 1.19.2-1 Do I need to generate a new API key or is there something else I need to do to remedy? |
I am going to try upgrading to 10.13 and see if that helps. |
Hi @garrett-bane-by. Syncthing saves its application files to Or use the terminal with some commandline-fu:
Then set it from the commandline with:
Reinstallation will not help as the state of the syncting macOS is preserved. Hope this helps! |
In the same folder is also a logfile ( |
updating to 10.13.6 High Sierra seems to have solved the issue for now. Thank you! |
I didn't expect it to work, but glad it is working for you again |
Uninstall syncthing-macos via https://github.com/syncthing/syncthing-macos?tab=readme-ov-file#uninstallation and reinstall it, the api goes down. |
I am using Syncthing 1.19.2 on Mac OSX High Sierra
(Note I've tried 1.20 on High Sierra without any success.
After I installed Syncthing 1.19.2 and set it to start at login, it worked perfectly syncing to two other Macs.
At some point I generated a new API Key (in the Web Gui Settings) and expected Syncthing to start at login and go Online with the green dot however Syncthing would not go online and showed the yellow Offine Indicator and the menu bar showed an exclamation mark on the Syncthing icon. After generating the new API Key, every time I started Syncthing it showed the old API key in the Preferences, even though the Web Gui Settings showed the new API Key, and stayed Offline. This mismatch between the preferences API key and the Web Gui settings API key is the issue stopping Syncthing going online.
The workaround for this issue I found was as follows
So I there is a bug that when the API is re-generated the new API key does not get updated into the com.github.xor-gate.syncthing-macosx.plist in ~/Library/Preferences.
Hope this helps other Mac Syncthing users.
The text was updated successfully, but these errors were encountered: