config.xml location in FreeNAS/FreeBSD

I must have forgotten my password and need to reset everything. I read in another thread that the password can be reset through the config.xml file. I cannot for the life of me figure out where it is in my FreeNAS jail.

Can anyone point me in the right direction?

Check -help and -paths

Thanks for the response but I have no idea what your talking about.

What do you mean by check -help and -paths?

I found xml2-config in /usr/local/bin but when I try to open it with a text editor or nano, it appears encrypted. Is there any way around this or is it just not possible by design?

This doesn’t appear to be the Syncthing config file.

@AudriusButkevicius was referring to the commandline switches for Syncthing. If you run the executable with those options it will output the default location of the database and config.