hi,
nodebb does not work , example ; i can not create new topic button does not work, there is no edit buttons, themes does not load etc.
i tried reset. but i got this error.
root@ip-172-174:/opt/nodebb# ./nodebb reset
/opt/nodebb/node_modules/mongodb/lib/utils.js:123
process.nextTick(function() { throw err; });
^TypeError: Invalid data, chunk must be a string or buffer, not function
at WriteStream.Socket.write (net.js:654:11)
at /opt/nodebb/src/reset.js:58:19
at /opt/nodebb/src/database/mongo.js:108:5
at /opt/nodebb/node_modules/mongodb/lib/db.js:1566:5
at handleCallback (/opt/nodebb/node_modules/mongodb/lib/utils.js:120:56)
at _callback (/opt/nodebb/node_modules/mongodb/lib/db.js:1482:5)
at /opt/nodebb/node_modules/mongodb/lib/db.js:1525:7
at /opt/nodebb/node_modules/mongodb-core/lib/connection/pool.js:736:7
at /opt/nodebb/node_modules/mongodb-core/lib/connection/pool.js:714:11
at finish (/opt/nodebb/node_modules/mongodb-core/lib/auth/scram.js:160:16)
logs;
root@ip-172-74:/opt/nodebb# ./nodebb log
Hit Ctrl-C to exit
at ServerResponse.render (/opt/nodebb/node_modules/express/lib/response.js:971:7)
at content (/opt/nodebb/src/middleware/render.js:70:15)
at /opt/nodebb/node_modules/async/dist/async.js:3830:24
at replenish (/opt/nodebb/node_modules/async/dist/async.js:946:17)
at /opt/nodebb/node_modules/async/dist/async.js:950:9
at eachOfLimit (/opt/nodebb/node_modules/async/dist/async.js:975:24)
at /opt/nodebb/node_modules/async/dist/async.js:980:16
at eachOf (/opt/nodebb/node_modules/async/dist/async.js:1051:5)
at _parallel (/opt/nodebb/node_modules/async/dist/async.js:3829:5)
at Object.parallelLimit [as parallel] (/opt/nodebb/node_modules/async/dist/async.js:3912:5)
EDIT: Now i can not logis as admin , it says Forbidden.
chrome console;
Uncaught SyntaxError: missing ) after argument list
acp.min.js:9 Uncaught ReferenceError: config is not defined
at acp.min.js:9
acp.min.js:2 jQuery.Deferred exception: Cannot read property 'logout' of undefined TypeError: Cannot read property 'logout' of undefined
at HTMLDocument.<anonymous> (http://mydomain/assets/src/admin/admin.js?v=3mtr5v3lv2h:42:44)
at c (http://mydomain/assets/acp.min.js?v=3mtr5v3lv2h:1:31427)
at u (http://mydomain/assets/acp.min.js?v=3mtr5v3lv2h:1:31766) undefined
v.Deferred.exceptionHook @ acp.min.js:2
acp.min.js:2 Uncaught TypeError: Cannot read property 'logout' of undefined
at HTMLDocument.<anonymous> (admin.js:42)
at c (acp.min.js:1)
at u (acp.min.js:1)
ace.js Failed to load resource: the server responded with a status of 404 (Not Found)
acp.min.js:9 Uncaught Error: Script error for "ace/ace"
at F (acp.min.js:9)
at HTMLScriptElement.onScriptError (acp.min.js:9)
mousetrap.js Failed to load resource: the server responded with a status of 500 (Internal Server Error)
acp.min.js:9 Uncaught Error: Script error for "mousetrap"
http://requirejs.org/docs/errors.html#scripterror
at F (acp.min.js:9)
at HTMLScriptElement.onScriptError (acp.min.js:9)
instance.js Failed to load resource: the server responded with a status of 404 (Not Found)
acp.min.js:9 Uncaught Error: Script error for "admin/modules/instance"
http://requirejs.org/docs/errors.html#scripterror
at F (acp.min.js:9)
at HTMLScriptElement.onScriptError (acp.min.js:9)
search.js Failed to load resource: the server responded with a status of 404 (Not Found)
acp.min.js:9 Uncaught Error: Script error for "admin/modules/search"
http://requirejs.org/docs/errors.html#scripterror
at F (acp.min.js:9)
at HTMLScriptElement.onScriptError (acp.min.js:9)
thanks.