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

Deletion of users does stuff up the database schema #25

Closed
ariandcir opened this issue Feb 24, 2023 · 6 comments
Closed

Deletion of users does stuff up the database schema #25

ariandcir opened this issue Feb 24, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@ariandcir
Copy link

In my situation: I have an inbound with the following setting : vless + ws + tls. When I delete a user from this inbound, the panel does correctly try to enforce the proper DB schema on all the users of the inbound though it forgets to add "decryption": "None" for vless. hence I do get the error below after deleting users:
Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: VLESS settings: please add/set "decryption":"none" to every settings

I would imagine similar situations might happen in other settings but I am not aware of as I do not deal with them

@alireza0
Copy link
Owner

Yesterday I replaced the lat version with fixed bug version. Did you update it?

@ariandcir
Copy link
Author

yes I did

@alireza0
Copy link
Owner

Then you need to just edit the inbound and save it ( even without change )
And it will fix the problem. Isn't it?

@ariandcir
Copy link
Author

Just tried saving the inbound with no changes and it worked, though is it a normal behaviour?

@alireza0
Copy link
Owner

No, it was about a bug in golang or modules which made some problems in last version.
This problem remained in your database till something like save changes in the correct way happens.
It is fixed now in last version and if any problem exists in databade from last version affetcs, it will fix it automatically by edit and save.

@alireza0 alireza0 added the bug Something isn't working label Mar 1, 2023
@alireza0
Copy link
Owner

alireza0 commented Mar 2, 2023

@ariandcir New release is ready.
Please check and feedback.

Thanks again

@alireza0 alireza0 closed this as completed Mar 2, 2023
mlulinX pushed a commit to mlulinX/sn-ui that referenced this issue Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants