Upgraded the version of aaplan to 7.0.9 and installed the mail server. The prompt “An error occurred while the panel was running!
REQUEST_DATE: 2024-09-20 11:36:18
VERSION: Alma 9.4 (Seafoam Ocelot) x86_64(Py3.12.3) - 7.0.9
REMOTE_ADDR: 114.37.203.196
REQUEST_URI: POST /v2/plugin?action=a&name=mail_sys&s=get_roundcube_status
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/plugin/mail_sys/mail_sys_main.py", line 520, in init
self.check_black()
File "/www/server/panel/plugin/mail_sys/mail_sys_main.py", line 532, in check_black
self.recipient_blacklist_open(False)
File "/www/server/panel/plugin/mail_sys/mail_sys_main.py", line 4607, in recipient_blacklist_open
match = re.search(r"smtpd_recipient_restrictions\s=\s(.+)", result)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/re/init.py", line 177, in search
return _compile(pattern, flags).search(string)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'bool'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/www/server/panel/class_v2/panel_plugin_v2.py", line 2297, in a
return public.run_plugin_v2(get.name, get.s, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/public/common.py", line 8289, in run_plugin_v2
res = PluginLoader.plugin_run(plugin_name, def_name, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: returned a result with an exception set
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 2545, in publicObject
return run_exec().run(toObject, defs, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 2491, in run
result = getattr(toObject, get.action)(get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class_v2/panel_plugin_v2.py", line 2299, in a
return public.get_error_object(None, plugin_name=get.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/public/common.py", line 1280, in get_error_object
result = readFile('{}/BTPanel/templates/default/plugin_error.html'.format(get_panel_path())).format(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'plugin name'