req.user is set on login.
How to unistall nodeBB completely?
reaon last edited by
I deleted nodeBB folder and cloned the latest version for a fresh installation. when I was installing nodeBB, it recognize the old database and used it!
What is the right way to remove nodeBB fully: database, files, etc?
Sp4rkR4t last edited by Sp4rkR4t
You need to clear the database you are using, for redis you could use the
flushdbcommand and for mongodb I believe it
If you used Redis in the first install, deleting the DB file in /var/lib/redis should do the trick.
@planner Important to note that if Redis is running, then the
.rdbfile is a disk-persisted backup, so even if deleted, if the redis server is running, it will eventually save back the same database data into the .rdb file.
Good to know.