We are getting this error when deleting accounts
Error Removing User speakgre
Script output: /usr/local/directadmin/scripts/custom/user_destroy_pre.sh
Traceback (most recent call last):
File "/opt/alt/python37/lib64/python3.7/logging/config.py", line 563, in configure
handler = self.configure_handler(handlers[name])
File "/opt/alt/python37/lib64/python3.7/logging/config.py", line 736, in configure_handler
result = factory(**kwargs)
File "/opt/alt/python37/lib64/python3.7/logging/__init__.py", line 1087, in __init__
StreamHandler.__init__(self, self._open())
File "/opt/alt/python37/lib64/python3.7/logging/__init__.py", line 1116, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/var/log/cloudlinux/hooks/info.log'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/share/cloudlinux/hooks/directadmin/user_destroy_pre", line 27, in
main()
File "/usr/share/cloudlinux/hooks/directadmin/user_destroy_pre", line 19, in main
setup_logger_and_sentry()
File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/public_hooks/__init__.py", line 65, in setup_logger_and_sentry
dictConfig(config)
File "/opt/alt/python37/lib64/python3.7/logging/config.py", line 800, in dictConfig
dictConfigClass(config).configure()
File "/opt/alt/python37/lib64/python3.7/logging/config.py", line 571, in configure
'%r' % name) from e
ValueError: Unable to configure handler 'default_file_handler'
Any help would be appreciated.
Error Removing User speakgre
Script output: /usr/local/directadmin/scripts/custom/user_destroy_pre.sh
Traceback (most recent call last):
File "/opt/alt/python37/lib64/python3.7/logging/config.py", line 563, in configure
handler = self.configure_handler(handlers[name])
File "/opt/alt/python37/lib64/python3.7/logging/config.py", line 736, in configure_handler
result = factory(**kwargs)
File "/opt/alt/python37/lib64/python3.7/logging/__init__.py", line 1087, in __init__
StreamHandler.__init__(self, self._open())
File "/opt/alt/python37/lib64/python3.7/logging/__init__.py", line 1116, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/var/log/cloudlinux/hooks/info.log'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/share/cloudlinux/hooks/directadmin/user_destroy_pre", line 27, in
main()
File "/usr/share/cloudlinux/hooks/directadmin/user_destroy_pre", line 19, in main
setup_logger_and_sentry()
File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/public_hooks/__init__.py", line 65, in setup_logger_and_sentry
dictConfig(config)
File "/opt/alt/python37/lib64/python3.7/logging/config.py", line 800, in dictConfig
dictConfigClass(config).configure()
File "/opt/alt/python37/lib64/python3.7/logging/config.py", line 571, in configure
'%r' % name) from e
ValueError: Unable to configure handler 'default_file_handler'
Any help would be appreciated.