当前位置:论坛首页 > Linux面板 > 求助

【待反馈】网站监控报表报错

发表在 Linux面板2022-1-12 18:04 [复制链接] 5 2109

插件:网站监控报表
报错:IP统计功能。


Traceback (most recent call last):

File "class/flask_sockets.py", line 30, in __call__
handler, values = adapter.match()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "class/panelPlugin.py", line 1968, in a
return eval(execStr)
File "", line 1, in
File "plugin/total/total_main.py", line 3395, in get_ip_stat
fields, flow_fields = self.get_data_fields(query_date)
File "plugin/total/total_main.py", line 3296, in get_data_fields
_, last_month_days = calendar.monthrange(year, month-1)
File "/www/server/panel/pyenv/lib/python3.7/calendar.py", line 124, in monthrange
raise IllegalMonthError(month)
calendar.IllegalMonthError: bad month number 0; must be 1-12
使用道具 举报 只看该作者 回复
发表于 2022-1-12 18:28:57 | 显示全部楼层
大炮运维V587 发表于 2022-1-12 18:19
您好,您修复下面板版本后,更新下监控报表插件

更新修复之后
提示:
请求接口IP统计异常:bad month number 0; must be 1-12

应该是记录的时候出错的
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表