Giter VIP home page Giter VIP logo

Comments (8)

xor-gate avatar xor-gate commented on May 27, 2024 2

This means the tray application is unable to communicate with the Syncthing process. I run Sonoma now myself on one machine and have no problems. There is at least one issue with the API key synchronisation between Syncthing and the Syncthing macOS tray application. See #183.

I have thought about issue #183. But it should repair itself when the API key has changed between the Syncthing macOS default variable store and the Syncthing configuration XML file. I think to manually fix it is as follows (for now):

  1. Stop Syncthing
  2. Open a Terminal
  3. Run cat ~/Library/Application\ Support/Syncthing/config.xml | grep api
  4. Copy the API key
  5. Run defaults write com.github.xor-gate.syncthing-macosx ApiKey "<copied API key>"
  6. Start Syncthing

from syncthing-macos.

xor-gate avatar xor-gate commented on May 27, 2024 2

I'm considering all flows why this did go wrong at your side, but i'm out of ideas. But indeed I have created a backup of ~/Library/Application Support/Syncthing and copied it back on a fresh install. What Syncthing macOS does it read the config.xml when ApiKey default key-value is not present (first start). But afterwards it doesn't touch the ApiKey anymore. I think it would be good if Syncthing macOS detects a difference in ApiKey macOS defaults value and the XML file it can notify the user if an update is necessary. This is more intuitive than doing the steps I given you ;-). I will leave this issue open, it should be a quick fix.

Luckily it is working for you now without problems!

from syncthing-macos.

deeplook avatar deeplook commented on May 27, 2024

Maybe this helps? #206

from syncthing-macos.

ctismer avatar ctismer commented on May 27, 2024

Unfortunately not.

from syncthing-macos.

ctismer avatar ctismer commented on May 27, 2024

@xor-gate Oh whow, you are really the guru! Thanks so much, how wonderful. 🎉 🎁

I run Sonoma now myself on one machine and have no problems.

Maybe you did it like I did it first: By cloning an older machine to Sonoma. This works.
But then I erased syncthing and installed it anew, and that gave the problem.

from syncthing-macos.

ctismer avatar ctismer commented on May 27, 2024

Would be interesting to know why this happens. Sonoma is also for other reasons a PITA: My PySide builds do not work, and I have to play tricks to install Command Line Tools 14. I would love to downgrade, but Sonoma on the M3 MBP refuses that.

from syncthing-macos.

xor-gate avatar xor-gate commented on May 27, 2024

I'm also cross referencing to the forum as it is related: https://forum.syncthing.net/t/macos-can-t-find-out-what-notification-is-or-what-caused-it

from syncthing-macos.

aleksfadini avatar aleksfadini commented on May 27, 2024

This means the tray application is unable to communicate with the Syncthing process. I run Sonoma now myself on one machine and have no problems. There is at least one issue with the API key synchronisation between Syncthing and the Syncthing macOS tray application. See #183.

I have thought about issue #183. But it should repair itself when the API key has changed between the Syncthing macOS default variable store and the Syncthing configuration XML file. I think to manually fix it is as follows (for now):

  1. Stop Syncthing
  2. Open a Terminal
  3. Run cat ~/Library/Application\ Support/Syncthing/config.xml | grep api
  4. Copy the API key
  5. Run defaults write com.github.xor-gate.syncthing-macosx ApiKey "<copied API key>"
  6. Start Syncthing

I cloned an old machine to a new machine (in Sonoma) and was getting the error. Tried to delete local files, remove app, reinstalled, nothing worked. Following the steps above solved everything. Thank you!!

from syncthing-macos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.