The problem maybe i can't activate 'Allow HTML' in Markdown Plugin Settings.
Save Settings button not working and I don't know why!
[Solved] node app --upgrade error || topic not found
-
Hi,
On the branch master :
I'm typing
node app --upgrade
and i got this error
How can i fix that ?
On the branch v0.3.x :
Other error : I can't view any topics
Topic tid '8' not found
Maybe my db is corrupted ?
-
-
Do you have access to the mongo database? If so can you check to see if there is a key named
topics:tid:old
. -
@baris Yes i have access
-
Try renaming it to
topics:tid
withdb.objects.update({_key: 'topics:tid:old'}, {$set:{_key: 'topics:tid'}});
and see if you can get the topics. -
Ok done,
but same errors (on both branches master and v0.3.x)Which branch should i use ?
Edit :
Other error when i use the admin panel (hope it helps)
-
That error sounds like this https://github.com/designcreateplay/NodeBB/issues/702.
Did you try to upgrade again after renaming the key?
Which branch should i use ?
Update to latest on master.
-
@baris said:
That error sounds like this https://github.com/designcreateplay/NodeBB/issues/702.
No, it's not a auth error
I switched to the master, pulled it, and upgrade it.
I don't have error, but i can't load any topic on the forum.White board and progress bar fixed at ~80% :
-
If upgrade ran again, it might have renamed the key again, check for that.
-
Ok, I ran nodebb upgrate again.
I have no results when i run
db.objects.find({_key: 'topics:tid:old'});
All keys are updated, i don't need to update again.
I notice something :
I can only access topic by GET (pressing F5 button) on the URI.
-
Any errors in browser console or server when you can't access it?
-
@baris Yes
TypeError: e is not a function (nodebb.min.js line 8 )
The last GET Method is never ending...
-
Try running in development mode so js files aren't minified that should give a more useful error message.
-
-
Hmm not sure why you are getting an error in translator, does the forum work fine if you switch back to english and restart? Maybe @julian or @psychobunny might have a better idea.
-
Hm... I'm trying to visit your forum, but it seems to be crashing. When you run your forum in dev mode (
./nodebb dev
), what errors do you see when attempting to browse the site? -
@baris I found what causes trouble.
I switched from Lavender to an other theme, and it works...
I tested all others themes, the problem comes from Lavender.
Thanks for helping me