discourse/README.reset-admin-passwort

44 lines
755 B
Plaintext

# ----
# Creating a new account with admin privileges
# ---
#see also
# https://meta.discourse.org/t/create-an-admin-account-from-the-console/17274
# Accessing the console
#
# Connect to your Discourse server using SSH,
#
ssh dc-opp.oopen.de
# Become root
#
sudo -i
# Switch to your Discourse directory:
#
cd /var/discourse
# Enter the Docker container:
#
./launcher enter app
# Creating a new account with admin privileges
#
# Inside the console, run the following command:
#
rake admin:create
# Enter the email of the existing account. If the user exists, you will be asked
# if you want to reset the password. Press Enter to proceed. Provide and confirm
# the new password.
#
#If it worked, you'll see 'Account updated successfully!.'