Config username/password changes not being recognized by rebooted Syncthing

I went to the config.xml file and changed the username and password:

was:

<gui enabled="true" tls="false" debugging="false" sendBasicAuthPrompt="false">
        <address>192.168.1.130:8384</address>
        <user>edthewino@gmail.com</user>
        <password>$2a$10$HAsR0lkU2RkhtlccRqNUdu.KDyKUktREhtyaGyQxzZbSpHgzZFfne</password>
        <apikey>NTMhmamGi9sZn5CWGCc3ZqYCsGZChizK</apikey>
        <theme>dark</theme>

changed to:

<gui enabled="true" tls="false" debugging="false" sendBasicAuthPrompt="false">
        <address>192.168.1.130:8384</address>
        <user>ed</user>
        <password>ed</password>
        <apikey>NTMhmamGi9sZn5CWGCc3ZqYCsGZChizK</apikey>
        <theme>dark</theme>

It will not recognize my new password & username nor reverting back it will not respond to the old password & username. Does this mean something is corrupted or a reinstall is necessary? What other avenues are available short of a reinstall? thanks… Mister Ed

Can always first try to just remove the <user> and <password> elements, so you can reach the GUI without authentication. Followed by setting the username and password again via the GUI.

1 Like

You can’t set a plaintext password in the config file like that, it needs to be a hash. You can remove it from the config and set it via the gui, or you can set it from the cli using the generate command.

Are you saying just make those field entries blank:

<user></user>
 <password></password>

???

When you say remove do you mean:

 <address>192.168.1.130:8384</address>
        <user></user>
        <password></password>

or:

 <address>192.168.1.130:8384</address>
        

I don’t need a password/username for this setup. So just getting rid of it is the probably the best solution.

10-4… deleted from config & used GUI to set new credentials… thank you…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.