Closed crespum closed 9 years ago
After installation, once you create the superuser, you have to validate your email. For that, it is necessary that, right after everything has been set up by the installation script, you have to run the server and log in with the superuser credentials at the main interface.
Once you log in, the system should automatically send you an email to validate your email address.
Have you already tried this?
Yes. That is exactly what I do. Is it possible that secrets/email.py is wrong but I am not seeing any error message?
Check that in "secrets/email.py" you have the following configuration:
EMAIL_USE_TLS = True
# EMAIL_FILE_PATH = '/tmp/email-messages/'
... with "EMAIL_USE_TLS = True" and the "EMAIL_FILE_PATH" variable commented or absent.
I confirm that I have the same mistakes. The system doesn't allow me to log into my account.
When I tried to create a new user through the web interface I get a duplicate key error.
Yes, apparently this is a problem that I already found out for a commit in the unsecure_3k branch but that I thought that it will not affect to the main development_3k branch:
https://github.com/satnet-project/server/commit/b29648f6cf79c2c8fd08ebe8954009d2de97b44b
I have also posted this issue in Stackoverflow:
I will fix it right away for the main branch.
The last push should have solved this issue. I have a clean installation up and working in a virtual machine now.
Please let me know if the update works.
Now it looks like the server tries to send a confirmation email but it never arrives. I don't see any error message in the terminal. In the browser I see We have sent an e-mail to you for verification. Follow the link provided to finalize the signup process. Please contact us if you do not receive it within a few minutes.
When I logged with my credentials the system gave me an authentication error. After a quick find I found that Google had rejected the connection due to a security issue.
When I reduced the security level of my account at this website, https://www.google.com/settings/security/lesssecureapps, the error disappeared.
It works now. Be careful to use smtp.gmail.com
instead of smtp.google.com
at secrets/email.py
To be honest, this error appeared after migrating everything to Python 3.3 and Django 1.7. I still have not identified which one of the migrations was the real cause, but with Python 2.7 and Django < 1.7 this was not happening... I expected a better answer to my Stack Overflow issue (http://stackoverflow.com/questions/30604423/inheritance-in-django-child-class-updates-parent-with-empty-fields), but nobody ever gave me a more detailed explanation. Apparently, it is the way it works.
After a clean installation I cant log in to SatNet with the username/password created with
createsuperuser
. The steps I follow are:The message I obtain is after trying to log in is
The e-mail address and/or password you specified are not correct.
Furthermore, if I try to create a new user using the web interface I get the following error: