Skip to content

[FIX] Can't get to the admin panel using pip-installed khoj #1123

Closed
@raphaelventura

Description

@raphaelventura

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:

  • I deleted and re-created the pgsql database in order to go through the initial configuration again and ensure my login/password were set as expected.
  • Same behavior from chromium and firefox, although if I try using an empty firefox profile, I don't have this error, but instead I get a 302 code and I'm stuck on the login page!
  • I had tried to use the docker images at first so maybe there is still something messing with the python install?
  • I removed my firefox navigation data + cache just in case

To Reproduce

Platform

  • Server:
    • Cloud-Hosted (https://app.khoj.dev)
    • Self-Hosted Docker
    • Self-Hosted Python package
    • Self-Hosted source code
  • Client:
    • Obsidian
    • Emacs
    • Desktop app
    • Web browser
    • WhatsApp
  • OS:
    • Windows
    • macOS
    • Linux
    • Android
    • iOS

If self-hosted

  • Server Version [e.g. 1.0.1]: 1.36.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixFix something that isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions