Thanks.
I set MAIL_ERROR_TO_WEBMASTER = True, and here are the results:
Error after upgrading to 3.8:
email subject line: bug: <class 'socket.error'>: [Errno 13] Permission denied (/)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
return self.handle()
File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
return self._delegate(fn, self.fvars, args)
File "/usr/lib/python2.7/site-packages/web/application.py", line 416, in _delegate
mod = __import__(mod, None, None, [''])
File "/var/www/iRedAdmin-Pro-LDAP-3.8/controllers/ldap/basic.py", line 9, in <module>
from libs import iredutils, sysinfo, form_utils
File "/var/www/iRedAdmin-Pro-LDAP-3.8/libs/sysinfo.py", line 13, in <module>
from libs.logger import log_traceback
File "/var/www/iRedAdmin-Pro-LDAP-3.8/libs/logger.py", line 30, in <module>
_handler = SysLogHandler(address=_server, facility=settings.SYSLOG_FACILITY)
File "/usr/lib64/python2.7/logging/handlers.py", line 761, in __init__
self._connect_unixsocket(address)
File "/usr/lib64/python2.7/logging/handlers.py", line 789, in _connect_unixsocket
self.socket.connect(address)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 13] Permission denied
Error after upgrading to 3.9:
email subject line: bug: <class 'socket.error'>: [Errno 13] Permission denied (/)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
return self.handle()
File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
return self._delegate(fn, self.fvars, args)
File "/usr/lib/python2.7/site-packages/web/application.py", line 416, in _delegate
mod = __import__(mod, None, None, [''])
File "/var/www/iRedAdmin-Pro-LDAP-3.9/controllers/ldap/basic.py", line 9, in <module>
from libs import iredutils, sysinfo, form_utils
File "/var/www/iRedAdmin-Pro-LDAP-3.9/libs/sysinfo.py", line 13, in <module>
from libs.logger import log_traceback
File "/var/www/iRedAdmin-Pro-LDAP-3.9/libs/logger.py", line 30, in <module>
_handler = SysLogHandler(address=_server, facility=settings.SYSLOG_FACILITY)
File "/usr/lib64/python2.7/logging/handlers.py", line 761, in __init__
self._connect_unixsocket(address)
File "/usr/lib64/python2.7/logging/handlers.py", line 789, in _connect_unixsocket
self.socket.connect(address)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 13] Permission denied
symlink for iredadmin set back to iRedAdmin-Pro-LDAP-3.7 and everything works properly
the only entries in the other logs are the same as before:
/var/log/messages:
Aug 15 05:26:37 mail systemd[1]: Stopping iRedAdmin daemon service...
Aug 15 05:26:38 mail systemd[1]: Stopped iRedAdmin daemon service.
Aug 15 05:26:38 mail systemd[1]: Starting iRedAdmin daemon service...
Aug 15 05:26:38 mail systemd[1]: Started iRedAdmin daemon service.
Aug 15 05:26:38 mail uwsgi[9797]: [uWSGI] getting INI configuration from /var/www/iredadmin/rc_scripts/uwsgi/rhel.ini
/var/log/nginx/access.log:
192.168.104.68 - - [15/Aug/2019:05:24:05 -0400] "GET /admin HTTP/1.1" 500 32 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0"
192.168.104.68 - - [15/Aug/2019:05:30:13 -0400] "GET /admin HTTP/1.1" 500 32 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0"
Does any of that make sense?
FYI, all updates have gone without a problem since the initial install of iRedAdmin-Pro-LDAP-3.1 up to 3.7. upgrades to 3.8 and 3.9 result in the internal server error.