Zooey
(Zeta)
20 Junio, 2018 12:28
1
I seem to be running with mailing errors after a local install with docker (I want to tamper with discourse, planning to use it on some sites in the future).
The problem is that it requires mail to create admin. I’ve checked last threads about the issue to no avail.
So I’d want to know if it is possible to generate logs about mailing to discover what might be failing.
Thanks!!
I don’t think You’re supposed to run docker install locally.
If you’re interested in development, install using discourse for development guide.
There are ways to retrieve logs by entering the container and looking for relevant logs (search for where are all the logs on this forum)
Zooey
(Zeta)
20 Junio, 2018 13:22
3
Maybe… I still tried haha, I know there’s people who’ve done it successfully.
For example:
Anyways… Isn’t there any command to generate logs internally at console level?
There may be! but I’m not aware of it!
1 me gusta
Zooey
(Zeta)
20 Junio, 2018 13:27
5
okay thanks. Will keep searching and if I find a way I’ll post it here, might be useful for somebody else!
1 me gusta
pfaffman
(Jay Pfaffman)
20 Junio, 2018 14:04
6
Search for
rake admin:create
Edit: Breakfast was calling. Glad this was enough to solve your problem!
4 Me gusta
Zooey
(Zeta)
20 Junio, 2018 14:09
7
that actually solved the login problem!!! thanks!!
So you want to create/grant Admin privileges or reset user password from console? Great, let’s get started!
Access Console
Connect to your Droplet via SSH, or use Putty on Windows:
ssh root@192.168.1.1
Replace 192.168.1.1 with the IP address of your Droplet.
Switch to your Discourse folder:
cd /var/discourse
Enter the container:
./launcher enter app
Create New Account with Admin Privileges
Run this command from console:
rake admin:create
instructions for multisite If you have a multisit…
4 Me gusta