-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] Can't get to the admin panel using pip-installed khoj #1123
Comments
I am getting the CSRF error using the Docker install and I am using the localhost URL. Has anyone found any other fixes for this? |
same here |
I was able to remove the CSFR error with a Docker install setting KHOJ_NO_HTTPS=false and KHOJ_DOMAIN and KHOJ_ALLOWED_DOMAIN with my local IP. However, I still can not log in, admin account always not valid even having changed KHOJ_ADMIN_EMAIL and KHOJ_ADMIN_PASSWORD in docker-compose.yml |
Same here with Docker. Fixed by deleting container and volumes, redeploying, and reconfiguring. Works now! |
Hi folks, this issue has turned into a mix of multiple issues. So I'm going to break it down. Original IssueI found an issue in 5a3c7b1 that was (incorrectly) requiring folks to set I've pushed a fix for that issue to the mainline. If you're using the khoj docker image you can try it out by using the pre-release docker image (i.e Issue 2@lumisoft, if admin username, password is showing as invalid, you'd need to do something similar to @CHANTXU64. That is,
Admin email, password should only be set before the first (ever) run of khoj. It can only be changed by deleting the khoj db (i.e delete the Thanks for the detailed bug report @raphaelventura. I'm marking this issue as resolved for now. Reopen it if the original issue persists. For folks facing the invalid admin username, password issue, feel free to open a new issue to track that if you still cannot login to your admin panel after following the suggestions above. |
Describe the bug
I'm trying to access the admin panel, but I get the CSRF bug mentioned in the docs, although I'm using
localhost
to access it.Note that:
To Reproduce
Platform
If self-hosted
The text was updated successfully, but these errors were encountered: