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
10 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?

2 Likes

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

https://meta.discourse.org/t/account-stuck-on-we-sent-an-activation-mail-to-new-wrong-email/69946/2?u=merefield

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.