Resetting Discourse Instance

Hello,
I am to know if there is an option to reset a discourse instance (currently installed at Digital Ocean). I need to have a clean and standalone install of discourse without having to get a fresh install again altogether.

Many Thanks

1 Like

This will delete all data including the database and recreate the Docker container.

cd /var/discourse
./launcher stop app
rm -rf shared/standalone
./launcher rebuild app
7 Likes

Thank you so much sincerely for caring so much to answer my query!
Would you also share some insight on as how to change the admin email id registered while installing Discourse instance via command line?

1 Like

This might help you. You can do a lot of this kind of thing with the Rails console:

2 Likes

Thank you for your prompt response to the question.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.