文字部分全文:
REQUEST_DATE: 2021-12-12 21:21:48
PAN_VERSION: 7.7.0
OS_VERSION: Red Hat Enterprise Server 7.9 (Maipo) aarch64(Py3.7.8)
REMOTE_ADDR: 168.138.171.168
REQUEST_URI: POST /crontab?action=modify_crond
REQUEST_FORM: {'id': '1', 'name': "续签Let's Encrypt证书", 'type': 'day', 'where1': '', 'hour': '0', 'minute': '10', 'week': '', 'sType': 'toShell', 'sBody': '/www/server/panel/pyenv/bin/python -u /www/server/panel/class/acme_v2.py --renew=1', 'sName': '', 'backupTo': 'localhost', 'save': '', 'urladdress': '', 'save_local': '0', 'notice': '0', 'notice_channel': ''}
USER_AGENT: Mozilla/5.0 (Linux; Android 10; LIO-AN00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Mobile Safari/537.36 EdgA/96.0.1054.41
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 1640, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1588, in run
result = getattr(toObject,get.action)(get)
File "class/crontab.py", line 165, in modify_crond
self.remove_for_crond(cronInfo['echo'])
File "class/crontab.py", line 346, in remove_for_crond
if conf.find(str(echo)) == -1: return True
AttributeError: 'bool' object has no attribute 'find' |