Can edit a username value
-
I obviously can in the DB and I did, but now the /users/newvalue goes to 404, and the user is not showing in the search results, even if I search for an exact match.
I tried restarting, editing the nodebbusersearch:{id}, ...I
-
sweet Thanks ! yea, i used the
util.slugify
and changed that too in the db -
note to self:
never run:
NODE_END=development
node app.js- run
/debug/reindex
in production
I ended up
cd NodeBB/src/database node > var redis = require('./redis'); > redis.searchRemove('user', 12345); > redis.searchIndex ('user' , 'newusername', 12345);
-
Search now works, however, accessing via
/user/newuserslug
route is still 404ing but/user/olduserslug
works? where is that value in the DB ? -
@julian --> http://cdn.memegenerator.net/instances/500x/9689481.jpg
@baris awesome thanks!
Copyright © 2024 NodeBB | Contributors