./nodebb start only. It's pretty stable
W
wellenreiter
@wellenreiter
Posts
-
How you running NodeBB ? -
[nodebb-plugin-shoutbox] Shoutbox pluginI just updated to the new version and all errors in the log files are gone.
Really great
-
Lost all my data ? Help please -
My nodeBB website is not working anymore@MJ
Check your redis logs or the syslog for such an entry:Nov 11 11:26:05 web02 redis[3992]: WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
Basically it tells you what to do to avoid the problem.
We had the problem twice in two days, applied that setting and the forum is running fine for nearly a week now -
Update from v1.10.x to v1.12.x upgrade script fails on redis schema updateI'm trying to update nodebb from v1.10.x to 1.12.x.
Installed node version: v10.16.3 Installed npm version: 6.12.0 Installe redis-server: Redis server v=5.0.6 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=9260170b247e88b
When I run the 'nodebb upgrade' it fails with the following error:
4. Updating NodeBB data store schema... ...... ...... OK | 15 script(s) found, 63 skipped → [2018/10/11] Fix category topic zsets... [ ] (1/9543) 0% 2019-10-13T09:27:38.996Z [4567/27784] - error: uncaughtException: db.parseIntFields is not a function TypeError: db.parseIntFields is not a function at modifyTopic (/home/forum/nodebb/src/topics/data.js:106:5) at topics.forEach.topic (/home/forum/nodebb/src/topics/data.js:33:29) at Array.forEach (<anonymous>) at /home/forum/nodebb/src/topics/data.js:33:12 at nextTask (/home/forum/nodebb/node_modules/async/dist/async.js:5324:14) at next (/home/forum/nodebb/node_modules/async/dist/async.js:5331:9) at /home/forum/nodebb/node_modules/async/dist/async.js:969:16 at /home/forum/nodebb/node_modules/async/dist/async.js:473:16 at next (/home/forum/nodebb/node_modules/async/dist/async.js:5329:29) at /home/forum/nodebb/node_modules/async/dist/async.js:969:16 {"error":{},"stack":"TypeError: db.parseIntFields is not a function\n at modifyTopic (/home/forum/nodebb/src/topics/data.js:106:5)\n at topics.forEach.topic (/home/forum/nodebb/src/topics/data.js:33:29)\n at Array.forEach (<anonymous>)\n at /home/forum/nodebb/src/topics/data.js:33:12\n at nextTask (/home/forum/nodebb/node_modules/async/dist/async.js:5324:14)\n at next (/home/forum/nodebb/node_modules/async/dist/async.js:5331:9)\n at /home/forum/nodebb/node_modules/async/dist/async.js:969:16\n at /home/forum/nodebb/node_modules/async/dist/async.js:473:16\n at next (/home/forum/nodebb/node_modules/async/dist/async.js:5329:29)\n at /home/forum/nodebb/node_modules/async/dist/async.js:969:16","exception":true,"date":"Sun Oct 13 2019 10:27:38 GMT+0100 (British Summer Time)","process":{"pid":27784,"uid":1001,"gid":1001,"cwd":"/home/forum/nodebb","execPath":"/usr/bin/node","version":"v10.16.3","argv":["/usr/bin/node","/home/forum/nodebb/nodebb","upgrade"],"memoryUsage":{"rss":134868992,"heapTotal":98246656,"heapUsed":65464224,"external":885721}},"os":{"loadavg":[0.46044921875,0.2705078125,0.3525390625],"uptime":258020},"trace":[{"column":5,"file":"/home/forum/nodebb/src/topics/data.js","function":"modifyTopic","line":106,"method":null,"native":false},{"column":29,"file":"/home/forum/nodebb/src/topics/data.js","function":"topics.forEach.topic","line":33,"method":"topic","native":false},{"column":null,"file":null,"function":"Array.forEach","line":null,"method":"forEach","native":false},{"column":12,"file":"/home/forum/nodebb/src/topics/data.js","function":null,"line":33,"method":null,"native":false},{"column":14,"file":"/home/forum/nodebb/node_modules/async/dist/async.js","function":"nextTask","line":5324,"method":null,"native":false},{"column":9,"file":"/home/forum/nodebb/node_modules/async/dist/async.js","function":"next","line":5331,"method":null,"native":false},{"column":16,"file":"/home/forum/nodebb/node_modules/async/dist/async.js","function":null,"line":969,"method":null,"native":false},{"column":16,"file":"/home/forum/nodebb/node_modules/async/dist/async.js","function":null,"line":473,"method":null,"native":false},{"column":29,"file":"/home/forum/nodebb/node_modules/async/dist/async.js","function":"next","line":5329,"method":null,"native":false},{"column":16,"file":"/home/forum/nodebb/node_modules/async/dist/async.js","function":null,"line":969,"method":null,"native":false}]}
I have no idea how to solve that.
Any Ideas?