You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main trouble is in non-starting hiddify-panel.
Because of this - not generating configs for all other modules.
Give those commands
cd /opt/hiddify-manager/hiddify-panel /opt/hiddify-manager/hiddify-panel/app.py
It will give you the error:
(MySQLdb.OperationalError) (1091, "Can't DROP INDEX 'name'; check that it exists")
[SQL: ALTER TABLE child DROP INDEX 'name';]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
Updating db from version 77 for node 0
Traceback (most recent call last):
File "/opt/hiddify-manager/hiddify-panel/app.py", line 6, in
bjoern.run(wsgi_app=hiddifypanel.create_app(), host="127.0.0.1", port=9000)
File "/usr/local/lib/python3.10/dist-packages/hiddifypanel/base.py", line 76, in create_app
init_db()
File "/usr/local/lib/python3.10/dist-packages/hiddifypanel/panel/init_db.py", line 692, in init_db
db_action(child.id)
File "/usr/local/lib/python3.10/dist-packages/hiddifypanel/panel/init_db.py", line 51, in _v78
root_child_unique_id = Child.query.filter(Child.name == "Root").first().unique_id
AttributeError: 'NoneType' object has no attribute 'unique_id'
Don't look at MySQL error, it's not a problem.
Main trouble is here:
File "/usr/local/lib/python3.10/dist-packages/hiddifypanel/panel/init_db.py", line 51, in _v78
root_child_unique_id = Child.query.filter(Child.name == "Root").first().unique_id
AttributeError: 'NoneType' object has no attribute 'unique_id'
If you look at mysql table "child" you will see that "name" has NULL value.
select name from child;
+------+
| name |
+------+
| NULL |
+------+
1 row in set (0.000 sec)
Because of this - not generating configs for all other modules.
Give those commands
cd /opt/hiddify-manager/hiddify-panel
/opt/hiddify-manager/hiddify-panel/app.py
It will give you the error:
Don't look at MySQL error, it's not a problem.
Main trouble is here:
If you look at mysql table "child" you will see that "name" has NULL value.
select name from child;
Just need to update it to "Root";
![Screenshot_10](https://private-user-images.githubusercontent.com/11003/322615818-a222d14c-75d1-4414-a027-9ed7f7e76f5e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyMzQxNDcsIm5iZiI6MTcxOTIzMzg0NywicGF0aCI6Ii8xMTAwMy8zMjI2MTU4MTgtYTIyMmQxNGMtNzVkMS00NDE0LWEwMjctOWVkN2Y3ZTc2ZjVlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI0VDEyNTcyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIyMjhhYjc1ODQyNjhjM2FiOTQ2NjQ3OGRjOGM0Njg2ZWZlM2JlMWUwMTcxYWExZjg0MmEyODcwNWFlMjU4MjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.WHxWuVaWwUc--Q9oxwjTY21QDZY5uto97HxQgObRr_o)
After this you can "Apply configs"
And "Upgrade".
The panel will make all configs and will start.
Somebody, need to fix it in the update script.
Originally posted by @atomic-dz in #3895 (comment)
The text was updated successfully, but these errors were encountered: