Locked out of syncthing for synology, no username or password in xml

I am currently locked out of my syncthing webui panel and I know I set my username and password correctly but it is not working. I was able to find my config.xml file in the /var/packages/syncthing/var folder but nowhere in it is a username or password field to remove so I am currently stuck without being able to login.

Am I missing something more to this or is there a different file that would contain the username and password fields to remove? I would really appreciate any guidance on this, thank you!

This is what my congif.xml shows:

<configuration version="37">
    <folder id="redacted="" path="/redacted" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" fsWatcherTimeoutS="0" ignorePerms="true" autoNormalize="true">
        <filesystemType>basic</filesystemType>
        <device id="redacted" introducedBy="">
            <encryptionPassword></encryptionPassword>
        </device>
        <device id="redacted" introducedBy="">
            <encryptionPassword></encryptionPassword>
        </device>
        <minDiskFree unit="%">1</minDiskFree>
        <versioning>
            <cleanupIntervalS>3600</cleanupIntervalS>
            <fsPath></fsPath>
            <fsType>basic</fsType>
        </versioning>
        <copiers>0</copiers>
        <pullerMaxPendingKiB>0</pullerMaxPendingKiB>
        <hashers>0</hashers>
        <order>random</order>
        <ignoreDelete>false</ignoreDelete>
        <scanProgressIntervalS>0</scanProgressIntervalS>
        <pullerPauseS>0</pullerPauseS>
        <maxConflicts>10</maxConflicts>
        <disableSparseFiles>false</disableSparseFiles>
        <disableTempIndexes>false</disableTempIndexes>
        <paused>true</paused>
        <weakHashThresholdPct>25</weakHashThresholdPct>
        <markerName>.stfolder</markerName>
        <copyOwnershipFromParent>false</copyOwnershipFromParent>
        <modTimeWindowS>0</modTimeWindowS>
        <maxConcurrentWrites>2</maxConcurrentWrites>
        <disableFsync>false</disableFsync>
        <blockPullOrder>standard</blockPullOrder>
        <copyRangeMethod>standard</copyRangeMethod>
        <caseSensitiveFS>false</caseSensitiveFS>
        <junctionsAsDirs>false</junctionsAsDirs>
        <syncOwnership>false</syncOwnership>
        <sendOwnership>false</sendOwnership>
        <syncXattrs>false</syncXattrs>
        <sendXattrs>false</sendXattrs>
        <xattrFilter>
            <maxSingleEntrySize>1024</maxSingleEntrySize>
            <maxTotalSize>4096</maxTotalSize>
        </xattrFilter>
    </folder>
    <folder id="redacted" label="" path="redacted" type="sendonly" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" fsWatcherTimeoutS="0" ignorePerms="true" autoNormalize="true">
        <filesystemType>basic</filesystemType>
        <device id="redacted" introducedBy="">
            <encryptionPassword></encryptionPassword>
        </device>

The config.xml as posted is incomplete and is missing most of its content. The fields you’re looking for are named <user> and <password> located as subattributes in <gui>.

Also see the FAQ for visuals and alternative methods to remove the password:

https://docs.syncthing.net/users/faq.html#how-do-i-reset-the-gui-password

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