◄ ► | Muuda | Home | Admin | en de fr et | Sign in

#3642 (hobbit not sending error emails.)

by tonis · in Hosting (system administration) · assigned to tonis

Kokkuvõte

Children

Kommentaarid

  • 6 aastat, 5 kuud ago by tonis about #3642 (hobbit not sending error emails.) : Working for real now. Seems that the issue that caused Hobbit to fail was that we didn't update the static conig in lino_local to point to env/static_root. After updating the settings in lino_local.py, the lino_local settings work for hobbit. Going to also update jane's wsgi. Froinde seems to work...
  • 6 aastat, 5 kuud ago by tonis about #3642 (hobbit not sending error emails.) : Not sure, seems that there's an issue with using the froinde wsgi that uses the:
    import sys ; sys.path.append('/usr/local/python') from lino_local import setup_wsgi ; setup_wsgi(globals(), 'lino_sites.froinde.settings')
    method rather than what hobbit did do: import os, sys sys.path.insert(0, '/usr/...
  • 6 aastat, 5 kuud ago by Luc Saffre about #3642 (hobbit not sending error emails.) : Great. You mean I was too quick with #3649 ;-) But I don't regret it, I still feel that we should move at least our noi sites to the new server hetz1. Unless somebody has an opposite feeling. But it gets less urgent, of course. Actually we can use this situation for the Noi May sprint : the data mig...
  • 6 aastat, 5 kuud ago by khchine5 about #3642 (hobbit not sending error emails.) : Great @tonis
  • 6 aastat, 5 kuud ago by tonis about #3642 (hobbit not sending error emails.) : Addapted the wsgi file from froinde, and it works now... great.
  • 6 aastat, 5 kuud ago by tonis about #3642 (hobbit not sending error emails.) : test
  • 6 aastat, 5 kuud ago by tonis about #3642 (hobbit not sending error emails.) : test
  • 6 aastat, 5 kuud ago by tonis about #3642 (hobbit not sending error emails.) : In debug prints I find that in django's core.mail, settings.ADMINS = []... even thought its set right in pm shell.
    Tried adding the data to settings.py to not rely on lino_local.py to configure that setting. Now the value is there, and it's getting further, but nothing showing up on mail logs yet. ...
  • 6 aastat, 5 kuud ago by tonis about #3642 (hobbit not sending error emails.) : Tested locally with a RS of teamReact with debug False. Seems that even then it's working... going to continue to print debug my way through the log code... maybe there's something there.
  • 6 aastat, 5 kuud ago by Luc Saffre about #3642 (hobbit not sending error emails.) : This is so weird... I imagine that you must make a reproducible error situation, set a breakpoint in the logging module and then try to find why the error message is not being dispatched to the admin_email handler...
  • 6 aastat, 5 kuud ago by tonis about #3642 (hobbit not sending error emails.) : Jane is also not ending error emails.
    After switching Froinde to DEBUG=False, it IS sending error emails. The DEFAULT_LOGGING values for sites are the same except that froinde has a lino_amici and jane as lino_noi loggers... Atleast we have a working site on the same server we can use for testing ra...
  • 6 aastat, 5 kuud ago by tonis about #3642 (hobbit not sending error emails.) : Had another go at troubleshooting, and still no luck. Thought perhaps it's due to using a asgi server... but even after turning off websocksts and the chats module, it's still not sending any error messages...
  • 6 aastat, 5 kuud ago by tonis about #3642 (hobbit not sending error emails.) : Also note that the few error emails from avanti : : Internal Server Error: /choices/contacts/Persons/countr
    Are caused by me purposefully messing up the request to cause an error
  • 6 aastat, 5 kuud ago by tonis about #3642 (hobbit not sending error emails.) : Well this is odd... Not getting hobbit or jane or any SR lino instance to send a error email.
    Tried switching the email host to localhost rather than the ovh relay... and SR's linos still worked sending notifiation emails to us, but no errors...
    Can't seem to see anything wrong in the logging. It ...
  • 6 aastat, 5 kuud ago by tonis about #3642 (hobbit not sending error emails.) : test