-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Hosts of a deleted user break the host list #2041
Comments
I can confirm this issue, after deleting an old admin user I get the error: Cannot read properties of null (reading 'avatar') @v3ss0n have you got a solution to restore the Hosts list? |
Only way is to go in and fix using SQL. |
OK I managed to enable the user by: So the issue depend on the avatar icon on the host list? The one with red spot is the undeleted user now only disabled. @jc21 I whant to delete a secondary administrator user, but there are some proxy-host owned by this one. |
I was able to reset the user by:
Upon logging in the deleted user is back along with their hosts. There is probably a better way. |
Thats shouldn't be the way , its a critical bug. We need a fix. |
That is dangerous, because it will restore the admin user with the default username and password!! (admin@example.com/changeme) |
Just encountered this very unfortunate issue. Was able to recover by assigning the affected entries to a different owner. This is also done directly in the database. In my case I was using SQLite.
SELECT id, name FROM user;
UPDATE proxy_host SET owner_user_id = 1;
UPDATE certificate SET owner_user_id = 1 where owner_user_id = 2; List all tables using Taken from here: Steps 1 through 3 can probably be done outside of the container, too, since the database should be bind mounted outside of the container. |
Still happening. i followed @etfz steps and fixed the problem, but of course the bug can happen again. |
Any update on this? |
Consider moving to traefik . This is such a deal breaker bug that dev choose to ignore ( along with severe CVEs). |
This worked for me! |
Same issue here... |
Can you elaborate on the CVE's? |
Issue is now considered stale. If you want to keep it open, please comment 👍 |
Added PR #4166 for this issue |
Re-issued #1038 Because it is not fixed , and owner of that issue is not reopening .
This annoying bug breaks NPM rendering anyone unable to change , very bad for production environment.
Please consider looking into it.
The text was updated successfully, but these errors were encountered: