GithubHelp home page GithubHelp logo

Comments (11)

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

Stop syncthing, and remove the Syncthing folder under ~/Library/Application Support with Finder -> Go -> Go to folder. Then start again and see what happens.

from syncthing-macos.

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

The config.xml in that folder did contain for some odd reason the user and password properties. Which is not default.

    <gui enabled="true" tls="false" debugging="false">
        <address>0.0.0.0:8384</address>
        <user>jerry</user>
        <password>$2a$10$rA9nA5378muXjCngW1iyeu66esWdNtKJarO1vZ.R/wtnWML2Pe4eD</password>
        <apikey>PNNh6CJzTNAGyp7zYsxFXizJdRDwxdVg</apikey>
        <theme>default</theme>
    </gui>

from syncthing-macos.

slfhstr avatar slfhstr commented on May 28, 2024

Thank you.
Deleted folder, restarted app.
Folder regenerated.
App starts but shows error in its icon in Mac menu
Trying to open GUI throws up auth box, but blank values not accepted
No info on how to set the username and password

from syncthing-macos.

slfhstr avatar slfhstr commented on May 28, 2024

The regenerated folder and config.yml have no entries in section for username and password.

from syncthing-macos.

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

Try to open the config.xml with TextEdit and look for the gui section, then remove the user and password properties. The syncthing macos tray shows error because the API key has changed. It should be set from the apikey property in the config.xml in the Tray icon -> Preferences -> API Key. Then syncthing must be stopped and started again. Hope this helps

from syncthing-macos.

slfhstr avatar slfhstr commented on May 28, 2024

I ran through loop of quitting app. deleting folder, starting again, checking config.yml username / password properties, trying with no entries for these and then manually creating them with a crypt hash.
Nothing worked (well, app ran but no login to GUI page was possible)

Checked the logs ...
It seems the app defaults to https://127.0.0.1:8384 as URL for GUI.
BUT .... the logs show that GUI is available on a different port 127.0.0.1:58209

If this port is used, I can access the GUI with manually created username and password.

But I can't set the port through the GUI preferences - reverts to :8384 all the time.
No save button in Preferences.
Can't see where to set it in config.yml.

Working now (subject to actually testing sync between devices)

Can I suggest/request enhancement to standardise on port used

from syncthing-macos.

slfhstr avatar slfhstr commented on May 28, 2024

It seems the Open under the menu dropdown and also the Open Synching Web Interface are hard-coded to :8384
Even if the Preferences shows :58209

from syncthing-macos.

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

You should use the Test button when setting the URI to a different IP/port then 127.0.0.1:8384. Then it saves when the circle is green.

from syncthing-macos.

slfhstr avatar slfhstr commented on May 28, 2024

Thank you
Did that by luck !

from syncthing-macos.

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

If it works I close the issue, feel free to comment when something is still unclear.

from syncthing-macos.

JoeWoodward avatar JoeWoodward commented on May 28, 2024

Be aware that deleting the ~/Library/Application Support/Syncthing folder removes the whole configuration. If you forgot your password and trying to reagain access it may be better to try deleting the user/password entries first, I can't confirm because I've now unfortunately nuked my whole config.

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.