I’m having some trouble finalizing some SMTP issues on a server and want to move forward with finalizing the installation manually while I sort out the other issues since another team member would like to continue on with effort that doesn’t pertain to the SMTP server issues.
I was able to activate
the admin user manually by doing this:
cd /var/discourse
./launcher enter app
rails c
# Inside Rails with Pry:
> u = User.find_by_username_or_email('admin_user@domain.tld')
> u.activate
> u.save
> quit
However when I visit the site, (eg domain.tld
) I still get the “Congratulations, you installed Discourse!” page. I can still only press the [Register] button.
How do I manually trigger the system to move past this step so that normal system usage can begin?