Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal server error: invalidate_all #4506

Closed
DgAronn opened this issue Oct 8, 2024 · 2 comments
Closed

Internal server error: invalidate_all #4506

DgAronn opened this issue Oct 8, 2024 · 2 comments

Comments

@DgAronn
Copy link

DgAronn commented Oct 8, 2024

Internal Error Stacktrace:

Error Message: 'list' object has no attribute 'invalidate_all'

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_admin/base.py", line 69, in inner
    return self._run_view(f, *args, **kwargs)
  File "/opt/hiddify-manager/.venv/lib/python3.10/site-packages/flask_admin/base.py", line 369, in _run_view
    return fn(self, *args, **kwargs)
  File "/opt/hiddify-manager/.venv/lib/python3.10/site-packages/flask_admin/model/base.py", line 2100, in create_view
    model = self.create_model(form)
  File "/opt/hiddify-manager/.venv/lib/python3.10/site-packages/flask_admin/contrib/sqla/view.py", line 1165, in create_model
    if not self.handle_view_exception(ex):
  File "/opt/hiddify-manager/.venv/lib/python3.10/site-packages/flask_admin/contrib/sqla/view.py", line 1133, in handle_view_exception
    return super(ModelView, self).handle_view_exception(exc)
  File "/opt/hiddify-manager/.venv/lib/python3.10/site-packages/flask_admin/contrib/sqla/view.py", line 1162, in create_model
    self._on_model_change(form, model, True)
  File "/opt/hiddify-manager/.venv/lib/python3.10/site-packages/flask_admin/model/base.py", line 1570, in _on_model_change
    self.on_model_change(form, model, is_created)
  File "/opt/hiddify-manager/.venv/lib/python3.10/site-packages/hiddifypanel/panel/admin/DomainAdmin.py", line 244, in on_model_change
    hutils.proxy.get_proxies().invalidate_all()

Details:

Hiddify Version: 10.70.7
Python Version: 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0]
OS: Linux-5.15.0-91-generic-x86_64-with-glibc2.35
User Agent: Unknown

@DgAronn
Copy link
Author

DgAronn commented Oct 8, 2024

i have this

@litoosh13
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants