[GH-ISSUE #541] deleting a user which has created hosts makes ui unusable #458

Closed
opened 2026-02-26 06:32:55 +03:00 by kerem · 2 comments
Owner

Originally created by @a575606 on GitHub (Aug 2, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/541

Thanks for your work on this much needed project. I just came across a bug which you may have missed, and just wanted to mention it.

I created some hosts to test out the software and get it working. Afterwards, I decided to create a new admin user, deleting the old admin after logging in with the new credentials.

The user was deleted, but hosts and certificates created by that user were now pointing to an unknown user id, creating errors on those pages. I had to log in to the mysql database to change those items to the new user's id before the ui was usable.

Originally created by @a575606 on GitHub (Aug 2, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/541 Thanks for your work on this much needed project. I just came across a bug which you may have missed, and just wanted to mention it. I created some hosts to test out the software and get it working. Afterwards, I decided to create a new admin user, deleting the old admin after logging in with the new credentials. The user was deleted, but hosts and certificates created by that user were now pointing to an unknown user id, creating errors on those pages. I had to log in to the mysql database to change those items to the new user's id before the ui was usable.
kerem 2026-02-26 06:32:55 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@cal940 commented on GitHub (Apr 24, 2021):

yes, I know the problem. I think an option to transfer the ownership for all referenced objects of a user (by deleteion) could be helpfull here. Wordpress for example (and of course other software) have a feature like this.

<!-- gh-comment-id:826117395 --> @cal940 commented on GitHub (Apr 24, 2021): yes, I know the problem. I think an option to transfer the ownership for all referenced objects of a user (by deleteion) could be helpfull here. Wordpress for example (and of course other software) have a feature like this.
Author
Owner

@chaptergy commented on GitHub (May 12, 2021):

I'll group this with https://github.com/jc21/nginx-proxy-manager/issues/541

<!-- gh-comment-id:839911428 --> @chaptergy commented on GitHub (May 12, 2021): I'll group this with https://github.com/jc21/nginx-proxy-manager/issues/541
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#458
No description provided.