• Threads
  • Categories
  • Users
  • Documentation
  • GitHub
  • Discord
  • forum
  • group
  • search
  1. Threads
  2. Problems and issues
chevron_left Problems and issues

Reset database

  • forum 1 reply
  • last reply by rafalp May 12, 2020
  • Last
  • 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 1415 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.
  • Documentation
  • GitHub
  • Discord
  • Terms of service
  • Privacy policy
powered by misago