-
-
Notifications
You must be signed in to change notification settings - Fork 26
Adding a new forum admin
Charles de Beauchesne edited this page Jul 29, 2021
·
4 revisions
Ask to a forum admin
# Connect
ssh <username>@compose0.exoscale.infra.camptocamp.org
# Is it useful ?
source /opt/c2corg-docker/server-list.env
# go to forum folder
cd /opt/c2corg-docker/composition/production/discourse/
# Set forum address as docker host (Marc, can you confirm?)
export DOCKER_HOST=tcp://159.100.253.91:2376
# connect to forum docker
docker exec -it c2corg_discourse bash
# go to discourse folder
cd /var/www/discourse/
# Launch the script
rake admin:create
# If you have this message, try later...
# PG::ConnectionBad: FATAL: remaining connection slots are reserved for non-replication superuser connections
# You will be asked for Email
# => enter the email of existing account.
# Now you will be asked:
# User with this email already exists! Do you want to reset the password for this email? (Y/n).
# => Press n then enter.
#
# Now you will be asked: Do you want to grant Admin privileges to this account? (Y/n).
# Press enter to continue.
⛰️ Production UI • Production API • Prod 🧗♀️
- 🏠 Home
- 📖 Changelog
- 🛠️ Dev tips
- 🍪 Production Recipes
- 🚀 Deployment
- 👨🎓 Useful informations
- ☠️ Legacy