@julian Thank you Julian.
Tried to debug the recentreplies.js and found that it tries to access value of category that is undefined and all other fields of the post is set to null.
The idea is to try fix it in redis before upgrading.
If you would have a chance to advice me a correct direction where I should dig in in order to delete this corrupted data in db it will be super helpful.
admin/advanced/events send me an error
-
Hello,
I've got a problem on a fresh install.
When I try to acces this adress :http://IP_ADRESS:4567/admin/advanced/events
I also got the same type of error withhttp://IP_ADRESS:4567/admin/advanced/database
I got this error :
I also got those error on the javascript session :
I've tried everything I could think of.
I've desactivated cloudflare, nginx, everything.If you have any idee what might cause this, I would love to hear it, i'm tired of all this =/
You will also find below the error that I got with
./nodebb log
and my install commands.21/10 03:38 [12749] - error: TypeError: Cannot read property 'uid' of undefined at /var/www/nodebb/src/events.js:104:18 at Array.forEach (native) at /var/www/nodebb/src/events.js:103:15 at /var/www/nodebb/node_modules/async/lib/async.js:726:13 at /var/www/nodebb/node_modules/async/lib/async.js:52:16 at done (/var/www/nodebb/node_modules/async/lib/async.js:246:17) at /var/www/nodebb/node_modules/async/lib/async.js:44:16 at /var/www/nodebb/node_modules/async/lib/async.js:723:17 at /var/www/nodebb/node_modules/async/lib/async.js:167:37 at fireFilterHook (/var/www/nodebb/src/plugins/hooks.js:103:11) at Object.Plugins.fireHook (/var/www/nodebb/src/plugins/hooks.js:87:5) at modifyUserData (/var/www/nodebb/src/user/data.js:141:11) at /var/www/nodebb/src/user/data.js:62:4 at /var/www/nodebb/src/database/mongo/hash.js:136:4 at handleCallback (/var/www/nodebb/node_modules/mongodb/lib/utils.js:96:12) at /var/www/nodebb/node_modules/mongodb/lib/cursor.js:839:16 at handleCallback (/var/www/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:159:5) at setCursorDeadAndNotified (/var/www/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:501:3) at nextFunction (/var/www/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:652:7) at Cursor.next [as _next] (/var/www/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:693:3) at fetchDocs (/var/www/nodebb/node_modules/mongodb/lib/cursor.js:835:10) at /var/www/nodebb/node_modules/mongodb/lib/cursor.js:858:7 TypeError: Cannot read property 'uid' of undefined at /var/www/nodebb/src/events.js:104:18 at Array.forEach (native) at /var/www/nodebb/src/events.js:103:15 at /var/www/nodebb/node_modules/async/lib/async.js:726:13 at /var/www/nodebb/node_modules/async/lib/async.js:52:16 at done (/var/www/nodebb/node_modules/async/lib/async.js:246:17) at /var/www/nodebb/node_modules/async/lib/async.js:44:16 at /var/www/nodebb/node_modules/async/lib/async.js:723:17 at /var/www/nodebb/node_modules/async/lib/async.js:167:37 at fireFilterHook (/var/www/nodebb/src/plugins/hooks.js:103:11) at Object.Plugins.fireHook (/var/www/nodebb/src/plugins/hooks.js:87:5) at modifyUserData (/var/www/nodebb/src/user/data.js:141:11) at /var/www/nodebb/src/user/data.js:62:4 at /var/www/nodebb/src/database/mongo/hash.js:136:4 at handleCallback (/var/www/nodebb/node_modules/mongodb/lib/utils.js:96:12) at /var/www/nodebb/node_modules/mongodb/lib/cursor.js:839:16 at handleCallback (/var/www/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:159:5) at setCursorDeadAndNotified (/var/www/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:501:3) at nextFunction (/var/www/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:652:7) at Cursor.next [as _next] (/var/www/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:693:3) at fetchDocs (/var/www/nodebb/node_modules/mongodb/lib/cursor.js:835:10) at /var/www/nodebb/node_modules/mongodb/lib/cursor.js:858:7 21/10 03:38 [12749] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised. 21/10 03:38 [12749] - info: [app] Database connection closed. 21/10 03:38 [12749] - info: [app] Web server closed to connections. 21/10 03:38 [12749] - info: [app] Shutdown complete. [cluster] Child Process (12749) has exited (code: 1, signal: null) [cluster] Spinning up another process... 21/10 03:38 [27519] - info: Time: Fri Oct 21 2016 03:38:26 GMT-0400 (EDT) 21/10 03:38 [27519] - info: Initializing NodeBB v1.2.1 21/10 03:38 [27519] - info: [database] Checking database indices. 21/10 03:38 [27519] - info: NodeBB Ready 21/10 03:38 [27519] - info: Enabling 'trust proxy' 21/10 03:38 [27519] - info: NodeBB is now listening on: 0.0.0.0:4567
apt-get update apt-get install -y curl apt-get install -y wget curl -sL https://deb.nodesource.com/setup_4.x | bash - apt-get install -y nodejs apt-get install -y build-essential echo 'deb http://packages.dotdeb.org jessie all' > /etc/apt/sources.list.d/dotdeb.list echo 'deb-src http://packages.dotdeb.org jessie all' >> /etc/apt/sources.list.d/dotdeb.list wget http://www.dotdeb.org/dotdeb.gpg apt-key add dotdeb.gpg apt-get update apt-get install -y redis-server imagemagick git build-essential apt-get install -y nginx git clone -b v1.x.x https://github.com/NodeBB/NodeBB.git /var/www/nodebb cd /var/www/nodebb npm install ./nodebb setup ./nodebb upgrade ./nodebb start