Will do
wellenreiter
Posts
-
Update from v1.10.x to v1.12.x upgrade script fails on redis schema update -
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?
-
Built-in Reward Essential doesn't work@jiayizhang
I have the same problem since upgrading to v1.6x
It seems, that the api has changed and I also have the impression, that the rewards module is not maintained at the moment. -
plugin-assign-new-user-to-group not working after upgrade from v1.5.x to v1.6.x@baris
no, just I got an empty pull down menu when I clicked Topic Tools.Today I tried again, and got the pull down popolated.
Strange....
-
plugin-assign-new-user-to-group not working after upgrade from v1.5.x to v1.6.xI have implemented your changes manually to my installation and assign-new-user-to group works fine again.
Many thanks
P.S: I can't flag the problem as solved. can you do it?
-
plugin-assign-new-user-to-group not working after upgrade from v1.5.x to v1.6.xlol,
ok. Forgive my lack of lagnuage skills.I have a github account, and of course know what a pull request is.
No experience with nodebb so...
-
plugin-assign-new-user-to-group not working after upgrade from v1.5.x to v1.6.xTo bad,
where to send a PR for this one?
-
plugin-assign-new-user-to-group not working after upgrade from v1.5.x to v1.6.xOh sorry, my fault.
This is the right link.
-
plugin-assign-new-user-to-group not working after upgrade from v1.5.x to v1.6.xThanks a lot
Can the changed hook also be the cause for this problem I have?
Sorry for asking more noob questions
-
plugin-assign-new-user-to-group not working after upgrade from v1.5.x to v1.6.xSorry for my ignorance, but isn't it enough to open an issue on Github?
Also where to sent a PR and how?Sorry again, I'm not yet familiar with the handling
-
plugin-assign-new-user-to-group not working after upgrade from v1.5.x to v1.6.xI opened an issue on github:
https://github.com/pichalite/nodebb-plugin-assign-newuser-to-group/issues/2
Can anybody help?
-
[nodebb-rewards-essentials] after upgrade: ErrorIllegal reward - no inputs found!What I tried in the mean time:
did a fresh install of nodebb on my test system with
git clone [email protected]:NodeBB/NodeBB.git -b v1.6.x
run through the setup procedure , but kept the redis database.
The problem remained.
Then I
- stopped nodebb
- stopped redis
- deleted the redis database files
- started redis
- run nodebb setup
That way I got a clean install without data and with default settings.
The problem still exists:
When you define a new reward the forms and pull downs are populated.
After saving the rewards, leaving the page and coming back, the pull down menus for existing rewards are not populated and empty, while creating a new reward works well.
After saving and reloading the rewards page, the error 'illegal reward. no inuts found' is displayed.Last but not least, no rewards are awarded to users.
-
[nodebb-rewards-essentials] after upgrade: ErrorIllegal reward - no inputs found!did that already.
https://github.com/NodeBB/nodebb-rewards-essentials/issues/11looking at the issue list and checking the modification dates of the code, it seems, that the module hasn't been maintained for a while.
As the module is a default module for Nodebb I hope, that someone picks up the problems and starts maintaining the module again.
Unfortunatelly my knowledge of Nodebb is not good enough to fix any problems
-
[nodebb-rewards-essentials] after upgrade: ErrorIllegal reward - no inputs found!In the mean time I upgraded to V1.6.1, but still the same problem.
is @psychobunny still active?
It seems he/she maintained the module
-
v1.6.0 Suspected Nginx ProblemOne possible reason may be, that your noddebb doesn't listen on localhost:4567, but on the local lan interface IP address only.
You can check that with 'netstat -nlp | more'
-
[nodebb-rewards-essentials] after upgrade: ErrorIllegal reward - no inputs found!After upgrading to v1.6.0 I get the following message displayed, when accessing the rewards admin page.
Error Illegal reward - no inputs found!
The pull down menues for the then selection are empty.
Here is a dump of the html code for one reward:
#code block
<form class="main inline-block">
<div class="well inline-block">
<label for="condition">If User's</label><br />
<select name="condition" data-selected="essentials/user.postcount"> <option value="essentials/user.reputation">Reputation</option>
<option value="essentials/user.postcount">Post Count</option>
<option value="essentials/user.lastonline">Last Logged in Time</option>
<option value="qanda/question.accepted">Times questions accepted</option>
</select>
</div>
<div class="well inline-block">
<label for="condition">Is:</label><br />
<select name="conditional" data-selected="greaterorequalthan">
<option value="greaterthan">></option>
<option value="greaterorequalthan">>=</option>
<option value="lesserthan"><</option>
<option value="lesserorequalthan"><=</option>
<option value="string">string:</option>
</select>
<input type="text" name="value" value="1" />
</div>
<div class="well inline-block">
<label for="condition">Then:</label><br />
<select name="rid" data-selected="essentials/add-to-group">
<option value=""></option>
</select>
</div>
</form>As you can see the option field generating the pull down is empty
I use the same rewards-essentials code I used on v1.4.x
Any ideas? -
Nodebb -> nodemailer Nodebb restarts, when trying to send emailsSince some weeks, possibly after upgrading to 1.4.5 the modemailer causes nodebb to restart.
Does anybody else have that problem?Here are the log entries:
27/4 06:36:52 [19664] - [31merror[39m: TypeError: this.message.messageId is not a function at MailComposer.compile (/home/forum/nodebb/node_modules/nodemailer/node_modules/mailcomposer/lib/mailcomposer.js:90:18) at module.exports (/home/forum/nodebb/node_modules/nodemailer/node_modules/mailcomposer/lib/mailcomposer.js:7:35) at Nodemailer.<anonymous> (/home/forum/nodebb/node_modules/nodemailer/lib/nodemailer.js:286:24) at Nodemailer._processPlugins (/home/forum/nodebb/node_modules/nodemailer/lib/nodemailer.js:352:16) at Nodemailer.sendMail (/home/forum/nodebb/node_modules/nodemailer/lib/nodemailer.js:280:10) at Object.Emailer.sendViaFallback (/home/forum/nodebb/src/emailer.js:136:21) at /home/forum/nodebb/src/emailer.js:114:14 at fn (/home/forum/nodebb/node_modules/async/lib/async.js:746:34) at /home/forum/nodebb/node_modules/async/lib/async.js:1213:16 at /home/forum/nodebb/node_modules/async/lib/async.js:166:37 at /home/forum/nodebb/node_modules/async/lib/async.js:706:43 at /home/forum/nodebb/node_modules/async/lib/async.js:167:37 at Immediate.<anonymous> (/home/forum/nodebb/node_modules/async/lib/async.js:1206:34) at runCallback (timers.js:666:20) at tryOnImmediate (timers.js:639:5) at processImmediate [as _immediateCallback] (timers.js:611:5) 27/4 06:36:52 [19664] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
-
Is it possible to recover a deleted user account?Then it's bad luck for him.
-
Is it possible to recover a deleted user account?One of my users accidentally has deleted his account.
As he was/is a member with many good posts it would be helpful, if I could recover his account.
Currently all his posts are listed under 'guest' , which is confusing to the readers.
May be there is a possibiity to create his account again and then 'assign' the guest posts in the database to that account? -
nodebb-plugin-imgbed doesn't work with v1.0.0After upgrading to v1.0.0 the nodebb-plugin-imgbed caused nodebb to shut down.
I needed to disable it in order to get nodebb up and running again after the upgradeunfortunately I lost the logs, so I can't specify the error message.