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

مشکل برای بر گرداندن فایل پشتبانی #4198

Closed
8ehsan9 opened this issue Jun 15, 2024 · 1 comment
Closed

مشکل برای بر گرداندن فایل پشتبانی #4198

8ehsan9 opened this issue Jun 15, 2024 · 1 comment

Comments

@8ehsan9
Copy link

8ehsan9 commented Jun 15, 2024

Internal Error Stacktrace:

Error Message: Value sub_full_singbox_enable is not found in this enum type declaration

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/hiddifypanel/auth.py", line 114, in decorated_view
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/hiddifypanel/panel/admin/Backup.py", line 47, in post
    hiddify.set_db_from_json(json_data,
  File "/usr/local/lib/python3.10/dist-packages/hiddifypanel/panel/hiddify.py", line 230, in set_db_from_json
    bulk_register_configs(json_data["hconfigs"], commit=True, override_unique_id=override_unique_id)
  File "/usr/local/lib/python3.10/dist-packages/hiddifypanel/models/config.py", line 181, in bulk_register_configs
    add_or_update_config(commit=False, child_id=child_id, **conf)
  File "/usr/local/lib/python3.10/dist-packages/hiddifypanel/models/config.py", line 163, in add_or_update_config
    ckey = ConfigEnum(c)

Details:

Hiddify Version: 10.20.4
Python Version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
OS: Linux-5.15.0-107-generic-x86_64-with-glibc2.35
User Agent: Unknown

@Iam54r1n4
Copy link
Contributor

بکاپی شما مربوط به یک نسخه ی ازمایشی دولوپ هست که در حال حاضر روی نسخه ی ریلیز نمیتونید اون رو بازیابی کنید.
سه راه حل دارید:

  • تغییر دادن فایل بکاپ و حذف فیلد های sub_*_enable (برای بازیابی در ریلیز)
  • نصب نسخه ی دولوپ ( اپدیت به دولوپ) و بازیابی بکاپ
  • صبر برای انتشار نسخه ی بعدی ریلیز ( پیشنهادی)

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