• Threads
  • Categories
  • Users
  • GitHub
  • Documentation
  • Discord
  • forum
  • group
  • search
  • chevron_right Threads
  • label Support
  • label Docker

Reset database

kristian
May 11, 2020
chat_bubble_outline 1
  • link
    kristian
    Members 3 posts
    May 11, 2020, 10:06 p.m. May 11, 2020, 10:06 p.m.
    link

    Is it possible to reset the database? I want to have a fresh start after trying out SSO.

  • link
    rafalp
    Project Lead 1623 posts
    May 12, 2020, 11:45 p.m. May 12, 2020, 11:45 p.m.
    link

    Hi,

    Try those commands in directory with appctl:

    docker-compose stop
    docker-compose down
    docker volume rm misago-database
    docker-compose run --rm misago python manage.py createsuperuser
    

    This will remove database, recreate it and ask you to create new admin.

There are no more posts in this thread.

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