Hiddify-Manager icon indicating copy to clipboard operation
Hiddify-Manager copied to clipboard

خطا موقع رفرش حجم

Open h-behgam opened this issue 2 years ago • 1 comments

Internal Error Stacktrace:

Error Message: Object of type datetime is not JSON serializable

Traceback (most recent call last):
  File "/opt/hiddify-manager/.venv/lib/python3.10/site-packages/flask/app.py", line 870, in full_dispatch_request
    rv = self.dispatch_request()
  File "/opt/hiddify-manager/.venv/lib/python3.10/site-packages/flask/app.py", line 855, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
  File "/opt/hiddify-manager/.venv/lib/python3.10/site-packages/flask_classful.py", line 303, in proxy
    response = view(**request.view_args)
  File "/opt/hiddify-manager/.venv/lib/python3.10/site-packages/flask_classful.py", line 271, in inner
    return fn(*args, **kwargs)
  File "/opt/hiddify-manager/.venv/lib/python3.10/site-packages/hiddifypanel/auth.py", line 130, in decorated_view
    return fn(*args, **kwargs)
  File "/opt/hiddify-manager/.venv/lib/python3.10/site-packages/hiddifypanel/panel/admin/Actions.py", line 185, in update_usage
    out_msg=f'<pre class="ltr" style="color:{color};">{json.dumps(usage.update_local_usage(),indent=2)}</pre>',

Details:

Hiddify Version: 10.50.4 Python Version: 3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0] OS: Linux-5.15.0-113-generic-x86_64-with-glibc2.35 User Agent: Unknown

h-behgam avatar Jul 22 '24 08:07 h-behgam

1.Make a backup 2. rebuild server to ubuntu 22.04 3. install latest version of the panel 4.restore backup you can follow all learning's material about the panel here: hiddify.com/manager hiddify.com/fa/manager

litoosh13 avatar Oct 03 '24 19:10 litoosh13