-
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 lists #1038
Comments
looks like I fixed it by doing the following; Installed DB Browser SQLite (Windows) No more error and the users are back. I couldn't find how to connect to the sql via docker but this way seemed to work so not sure if this is still a bug when deleting a user. Still might need looking into though but this above works. |
Issue closed because I feel like it's resolved with the above fix after further testing. If I have done it wrong or there may be another way for future reference please comment here. Thanks for the NPM, love it! |
I think you should reopen this issue because it need to be fixed by the developpers. I've did the same error as deleting users with existing hosts. |
Thanks @chaptergy 👍 |
Some technical notes on this: The user record is only soft-deleted, It should hopefully be as easy as ensuring there isn't a check for The idea of soft deletion is so you can see whom created those objects even after they are dead to you. |
I think this should be reopened as indeed this is a bug, even though some sort of workaround exists. |
+1 to me, still facing the bug in proxy_hosts also, is there a way to reassign ownership? |
This stupid bug still exist and making us unable to change anything. Deleting one user effects all , very bad design , please look into it. |
Happened with me today. Still bugged. |
I didn't reopen it because I decided not to use it any more. It was a pretty series bug that caused me no end of problems. I'm shocked this hasn't been fixed by now. |
This happened to me today. You saved me thanks a million. |
the same error happened to me today. Solved by following the instructions here: #230 (comment) @jc21 is this bug on the agenda for the near future? |
The issue started when i reset the user using these command: apt update && apt install sqlite3 -ysqlite3 /data/database.sqlitesqlite> UPDATE user SET is_deleted=1; exitThen after login using the default email/password; i returned to the command line and run: sqlite3 /data/database.sqlitesqlite> UPDATE user SET is_deleted=0; exit |
This error message happens when deleting a user which created hosts.
"Cannot read property 'avatar' of null"
Are you in the right place? - I hope so, if not sorry.
If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit.
If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask.
If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the right place.
Checklist
jc21/nginx-proxy-manager:latest
docker image? - NoDescribe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Got error when deleting user to a created redirection host, not sure what I should be seeing but it's broken I think.
Screenshots
Screenshots attached.
Operating System
Additional context
Docker Engine - 20.10.6
The text was updated successfully, but these errors were encountered: