• GitHub
  • Documentation
  • Discord
  • Donate
search
  • chevron_right Threads
  • label Support

Issues logging on.

Imagineer99
Aug. 27, 2023
chat_bubble_outline 7
  • check_circle
  • link
    Imagineer99
    Members 8 posts
    Aug. 27, 2023, 5:26 p.m. Aug. 27, 2023, 5:26 p.m.
    link

    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 on Aug. 27, 2023.

    image.png

    PNG, 9.6 KB, uploaded by Imagineer99 on Aug. 27, 2023.

  • link
    rafalp
    Project Lead 1770 posts
    Aug. 27, 2023, 8:52 p.m. Aug. 27, 2023, 8:52 p.m.
    link

    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.

  • link
    Imagineer99
    Members 8 posts
    Aug. 27, 2023, 9:06 p.m. Aug. 27, 2023, 9:06 p.m.
    link

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

    @rafalp has written:

    What kind of customizations did you perform?

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

    @rafalp has written:

    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.

    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.

  • link
    rafalp
    Project Lead 1770 posts
    Aug. 27, 2023, 9:08 p.m. Aug. 27, 2023, 9:08 p.m.
    link

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

  • link
    Imagineer99
    Members 8 posts
    Aug. 27, 2023, 9:11 p.m. Aug. 27, 2023, 9:11 p.m.
    link

    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.

  • link
    rafalp
    Project Lead 1770 posts
    Aug. 27, 2023, 9:14 p.m. Aug. 27, 2023, 9:14 p.m.
    link
    check_box

    Marked as best answer by Aug. 27, 2023, 9:23 p.m..

    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.

  • link
    Imagineer99
    Members 8 posts
    Aug. 27, 2023, 9:21 p.m. Aug. 27, 2023, 9:21 p.m.
    link

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

    Is Misago-Docker difficult to set up?

  • link
    rafalp
    Project Lead 1770 posts
    Aug. 27, 2023, 9:22 p.m. Aug. 27, 2023, 9:22 p.m.
    link

    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.

arrow_upward Go to top
  • This site uses cookies to gather statistical data for use in traffic analysis. Header photo by Joanna Malinowska.
  • GitHub
  • Documentation
  • Discord
  • Donate
  • Terms of service
  • Privacy policy
powered by misago