Ok I did a reset plugins and now it's fixed.
I can't save settings in the ACP, though.
see this https://community.nodebb.org/topic/1508/bug-can-t-save-settings#11378
Hello guys, this morning I was welcomed with a blank homepage on my local install... what could it be?
Giorgio
I also noticed this some times (within the last weeks), but always forget to view js-console...
@frissdiegurke Sorry I meant on my local install
@Giorgio-Chiodi Noticed on both local and this site
Hm... let me know what javascript errors you get. Also make sure you're on the latest version
how do I...?
ah there it is:
Uncaught SyntaxError: Unexpected string nodebb.min.js:1
(anonymous function) nodebb.min.js:1
ue.extend.globalEval nodebb.min.js:1
ue.fn.extend.domManip nodebb.min.js:3
ue.fn.extend.append nodebb.min.js:3
(anonymous function) nodebb.min.js:3
ue.extend.access nodebb.min.js:1
ue.fn.extend.html nodebb.min.js:3
(anonymous function) nodebb.min.js:9
c.onPacket socket.io.js:2
d.onPacket socket.io.js:2
c.onPacket socket.io.js:2
c.onData socket.io.js:2
websocket.onmessage
You can grab the version hash by running git rev-parse HEAD
in console.
It looks like your nodebb.min.js was improperly parsed, so you can delete that file and run NodeBB again.
Alternatively, the latest version of NodeBB does away with that file altogether, so you can update to the latest version, if you'd like.
@julian mh now i'm getting
Uncaught SyntaxError: Unexpected string nodebb.min.js:1
(anonymous function) nodebb.min.js:1
ue.extend.globalEval nodebb.min.js:1
ue.fn.extend.domManip nodebb.min.js:3
ue.fn.extend.append nodebb.min.js:3
(anonymous function) nodebb.min.js:3
ue.extend.access nodebb.min.js:1
ue.fn.extend.html nodebb.min.js:3
(anonymous function) nodebb.min.js:9
c.onPacket socket.io.js:2
d.onPacket socket.io.js:2
c.onPacket socket.io.js:2
c.onData socket.io.js:2
websocket.onmessage
On the same version, yes? Hm... what happens if you try to run it in development mode? (./nodebb dev
)
nope... @julian
Uncaught SyntaxError: Unexpected string jquery.js:610
(anonymous function) jquery.js:610
jQuery.extend.globalEval jquery.js:611
jQuery.fn.extend.domManip jquery.js:6339
jQuery.fn.extend.append jquery.js:6105
(anonymous function) jquery.js:6233
jQuery.extend.access jquery.js:859
jQuery.fn.extend.html jquery.js:6198
(anonymous function) ajaxify.js:124
c.onPacket socket.io.js:2
d.onPacket socket.io.js:2
c.onPacket socket.io.js:2
c.onData socket.io.js:2
websocket.onmessage
To add to this, my nodebb.min.js
never gets created on last nights code. I'm on Windows.
@mr_waffle As of commits yesterday, the js minfile is no longer a real file
@giorgio-chiodi let me try to go back to your version and see...
@julian said:
@mr_waffle As of commits yesterday, the js minfile is no longer a real file
@giorgio-chiodi let me try to go back to your version and see...
Anyway, I was getting errors in the JS console of require
not being defined, and a bunch of followup errors, and was greeted with a blank page
Yeah, that issue should be fixed by upgrading to the latest version -- this might also be fixed in the latest version, actually. Could you give that a try @giorgio-chiodi ?
@julian so I stop everything and do a ./nodebb upgrade
?
@giorgio-chiodi Yes:
$ ./nodebb stop
$ git pull
$ ./nodebb upgrade
$ ./nodebb start
Remember, back up your database first!