Access to Sourcegraph is forbidden because no authentication provider is set in site configuration

239 Views Asked by At

I was configuring authentication for a third party in Sourcegraph and did a SAVE when it told me I needed to have enterprise version. I then deleted the authentication provider section in administration and saved it. Did a restart and received message 'Access to Sourcegraph is forbidden because no authentication provider is set in site configuration.' on the web page. I deleted DOCKER, deleted docker folder in /var/lib, Reinstalled docker and then did another quickstart of sourcegraph. Received the raph.same message again when I went to web page for sourcegraph. I must not be getting a fresh copy of something. Any suggestions?

1

There are 1 best solutions below

1
On

I determined that there is a .sourcegraph directory in the home directory of root (the user I was logged inas when sourcegraph was installed) that contains configuration data. Wiped out that directory and then reinstalled and everything worked.