-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question: reset password / email notification #566
Comments
Hello @eugen666-wq, Thank you for your kind message. You can run the following commands: cd /opt/zou
. zou/bin/activate
zou set_default_password email@studio.com The user password will be back to default. |
Fantastic ! Thank you very much.
Any Hints why the email Notification possibly could not work ?
My Logs from the Error while posting a comment with Notification ON looks
like this:
My[2020-11-05 14:01:01,367] ERROR in __init__: Traceback (most recent call
last):
File "/opt/zou/zouenv/lib/python3.6/site-packages/flask/app.py", line
1949, in full_dispatch_request
rv = self.dispatch_request()
File "/opt/zou/zouenv/lib/python3.6/site-packages/flask/app.py", line
1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File
"/opt/zou/zouenv/lib/python3.6/site-packages/flask_restful/__init__.py",
line 458, in wrapper
resp = resource(*args, **kwargs)
File "/opt/zou/zouenv/lib/python3.6/site-packages/flask/views.py", line
89, in view
return self.dispatch_request(*args, **kwargs)
File
"/opt/zou/zouenv/lib/python3.6/site-packages/flask_restful/__init__.py",
line 573, in dispatch_request
resp = meth(*args, **kwargs)
File
"/opt/zou/zouenv/lib/python3.6/site-packages/flask_jwt_extended/view_decorators.py",
line 103, in wrapper
return fn(*args, **kwargs)
File
"/opt/zou/zouenv/lib/python3.6/site-packages/zou/app/blueprints/comments/resources.py",
line 88, in post
created_at
File
"/opt/zou/zouenv/lib/python3.6/site-packages/zou/app/services/comments_service.py",
line 83, in create_comment
_manage_subscriptions(task, comment, status_changed)
File
"/opt/zou/zouenv/lib/python3.6/site-packages/zou/app/services/comments_service.py",
line 138, in _manage_subscriptions
task, comment, change=status_changed
File
"/opt/zou/zouenv/lib/python3.6/site-packages/zou/app/services/notifications_service.py",
line 108, in create_notifications_for_task_and_comment
recipient_id, author_id, comment, task
File
"/opt/zou/zouenv/lib/python3.6/site-packages/zou/app/services/emails_service.py",
line 102, in send_comment_notification
send_notification(person_id, subject, messages)
File
"/opt/zou/zouenv/lib/python3.6/site-packages/zou/app/services/emails_service.py",
line 30, in send_notification
subject, email_message + get_signature(), person["email"]
File
"/opt/zou/zouenv/lib/python3.6/site-packages/zou/app/utils/emails.py", line
21, in send_email
mail.send(message)
File "/opt/zou/zouenv/lib/python3.6/site-packages/flask_mail.py", line
491, in send
with self.connect() as connection:
File "/opt/zou/zouenv/lib/python3.6/site-packages/flask_mail.py", line
144, in __enter__
self.host = self.configure_host()
File "/opt/zou/zouenv/lib/python3.6/site-packages/flask_mail.py", line
158, in configure_host
host = smtplib.SMTP(self.mail.server, self.mail.port)
File "/usr/lib/python3.6/smtplib.py", line 251, in __init__
(code, msg) = self.connect(host, port)
File "/usr/lib/python3.6/smtplib.py", line 336, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/usr/lib/python3.6/smtplib.py", line 307, in _get_socket
self.source_address)
File "/opt/zou/zouenv/lib/python3.6/site-packages/gevent/socket.py", line
101, in create_connection
sock.connect(sa)
File "/opt/zou/zouenv/lib/python3.6/site-packages/gevent/_socket3.py",
line 407, in connect
raise error(err, strerror(err))
ConnectionRefusedError: [Errno 111] Connection refused Log looks like this:
…On Fri, 6 Nov 2020 at 10:51, Frank Rousseau ***@***.***> wrote:
Hello @eugen666-wq <https://github.com/eugen666-wq>,
Thank you for your kind message. You can run the following commands:
cd /opt/zou. zou/bin/activate
zou set_default_password ***@***.***
The user password will be back to default.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#566 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARSB3I5GSTXUISQEUZPWET3SOPBJHANCNFSM4TL6AMTQ>
.
--
—
—
emd3000 *GmbH*
electric minds department
—
—
Eugen Danzinger / *Managing Director*
Telefon +41 78 621 65 16 Mail eugen.danzinger@emd3000.com
emd3000 GmbH, Giesshübelstrasse 62I, 8045 Zürich c/o 8 Horses GmbH
*www.emd3000.com <http://www.emd3000.com/>*
—
|
It seems you don't have set email variables properly. Did you refer to the documentation? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello , since i never managed to properly install email notification/ smtp config, but started using kitsu on my first project already , i now got really worried that my team or me looses the password . so my question is: is there a way to reset a password of a certain user via terminal within zou / kitsu ? Or if not ...can someone point me into the right direction to successfull enable email notfication ? i tried with gmail and another provider .... but just doesn not work. tried ssl tsl .. etc .
not sure what i am doing wrong.
so infact its 2 questions :)
in any case , thank you for this wonderfull tool ! its great work .
The text was updated successfully, but these errors were encountered: