• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Can't delete an Account (not content)

Scheduled Pinned Locked Moved Bug Reports
3 Posts 2 Posters 207 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • NormandoN Offline
    NormandoN Offline
    Normando
    wrote on last edited by
    #1

    I deleted an user clicking "Delete Account". Then the user still there. When I go to the user profile and click again "Delete Account", I get a message with "User does not exist".

    How I can delete the account manually? Maybe with a mongod command? The user ID is 4076

    Thanks

    1 Reply Last reply
    0
  • NormandoN Offline
    NormandoN Offline
    Normando
    wrote on last edited by
    #2

    Well, I was deleted all documents from db that queried as

    _key: /^user:4076/
    

    Thanks

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #3

    That will remove most of the user data but you should also remove 4076 from some sorted sets like users:joindate users:reputation users:postcount

    https://github.com/NodeBB/NodeBB/blob/master/src/user/delete.js#L72-L84

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development