• Imagineer99panorama_fish_eye
    9 posts
    a year ago

    Hello Misago Community,
    I'm having issues logging in to my forum when not through the Admin Panel, I have a suspicion there is something wrong with the sql database but migrations seems to work fine.

    If its possible someone could point me in the right direction as I've gone in circles with this error, I cant seem to solve it or identify what is wrong, It would be much appreciated for any hints or tips.

    Thank you.

    image.png

    PNG, 28.0 KB, uploaded by Imagineer99 a year ago.

    image.png

    PNG, 9.6 KB, uploaded by Imagineer99 a year ago.

  • rafalppanorama_fish_eye
    a year ago

    The error you are getting means one of those things:

    • There's no user with the username you are entering
    • User exists but the password you are entering for them is invalid

    Misago's auth code is very simple and limited as its just an extension for Django's auth, which is quite battletested. So maybe you are doing something very unusual? On screenshots thats not a default theme. What kind of customizations did you perform?

    I would start with registering new account and checking if credentials used to register their account also work on log in. If it does, I would look at what's your users username/email/password.

  • Imagineer99panorama_fish_eye
    9 posts
    a year ago

    Hey thank you for your reply, My installation is essentially naked I have just changed some of the .css code so far.

    The only customization I have is a work in progress .css theme but I have checked and the issue persists without the theme.

    I tried to make a new user account, copy pasted the input details but I still receive the same error despite triple checking the credentials are correct.
    Is there perhaps an issue with my database? I can log into the admin panel no issues.

    Edit: I have noticed I also get the error when I load up the domain even before I have attempted to log in.

  • rafalppanorama_fish_eye
    a year ago

    Is this a localhost installation? Or its misago-docker setup?

  • Imagineer99panorama_fish_eye
    9 posts
    a year ago

    Sorry I am not sure exactly, I follow the git from here: github.com/rafalp/Misago
    however I am using a cloud server and I use docker compose up and it hosts to localhost:8000 which I reverse proxy to external IP.

  • rafalppanorama_fish_eye
    a year ago
    check_box

    Marked as best answer by Imagineer99 a year ago.

    Ok. So you are using the code from main branch? This has few problems:

    • docker container on misago/main is setup for development and is not safe (or scalable) for production.
    • main branch can be randomly broken by different changes. Maybe login form is currently broken on master due to recent changes in JS?

    If you want to run live site, you have to use docker image from either misago-docker or alternative from community, eg. Misago image.

  • Imagineer99panorama_fish_eye
    9 posts
    a year ago

    Oh I think that's whats wrong. My mistake.

    Is Misago-Docker difficult to set up?

  • rafalppanorama_fish_eye
    a year ago

    There's a complete setup guide for misago-docker on Digital Ocean: misago.gitbook.io/docs/setup It takes ~15-30 minutes depending on experience to have production site setup.

  • rafalppanorama_fish_eye
    a year ago

    I've tried reproducing this bug but had no luck. For posterity's sake here's GH issue: #1640

  • Imagineer99panorama_fish_eye
    9 posts
    a year ago

    Not to worry I managed to get it all working, thank you for your help.

Search
  • Enter search query (at least 3 characters).

Your options