[nodebb-plugin-poll] Poll plugin
-
I believe this was already reported and fixed, see: https://github.com/NodeBB/nodebb-plugin-poll/issues/96
Issue is, the fix was made to the master branch, si it is not in the latest release.
-
There are some errors after updating this plugin to the latest version:
2019-07-14T19:58:54.623Z [4567/28794] - info: Initializing NodeBB v1.12.2 https://domain.tld [benchpressjs] Unable to build or find a suitable native module, falling back to JS version 2019-07-14T19:58:56.613Z [4567/28794] - error: Your NodeBB schema is out-of-date. Please run the following command to bring your dataset up to spec: 2019-07-14T19:58:56.613Z [4567/28794] - error: ./nodebb upgrade [cluster] Child Process (28794) has exited (code: 0, signal: null)
OK, I tried to upgrade:
./nodebb upgrade Updating NodeBB... 1. Updating package.json file with defaults... OK 2. Bringing base dependencies up to date... started npm WARN [email protected] requires a peer of textcomplete@^0.14.2 but none is installed. You must install peer dependencies yourself. audited 5014 packages in 10.897s found 22 vulnerabilities (2 low, 4 moderate, 16 high) run `npm audit fix` to fix them, or `npm audit` for details 3. Checking installed plugins for updates... OK 4. Updating NodeBB data store schema...[benchpressjs] Unable to build or find a suitable native module, falling back to JS version Parsing upgrade scripts... OK | 1 script(s) found, 77 skipped → [2019/4/1] Convert all poll id votes and options votes to sorted sets... Error occurred Error occurred during upgrade: ReplyError: WRONGTYPE Operation against a key holding the wrong kind of value at parseError (/var/www/myforum.tld/nodebb/node_modules/redis-parser/lib/parser.js:193:12) at parseType (/var/www/myforum.tld/nodebb/node_modules/redis-parser/lib/parser.js:303:14) 2019-07-14T20:12:06.661Z [4567/28935] - error: uncaughtException: WRONGTYPE Operation against a key holding the wrong kind of value ReplyError: WRONGTYPE Operation against a key holding the wrong kind of value at parseError (/var/www/myforum.tld/nodebb/node_modules/redis-parser/lib/parser.js:193:12) at parseType (/var/www/myforum.tld/nodebb/node_modules/redis-parser/lib/parser.js:303:14) {"error":{"command":"ZCOUNT","args":["poll:1:options:2:votes","-inf","+inf"],"code":"WRONGTYPE"},"stack":"ReplyError: WRONGTYPE Operation against a key holding the wrong kind of value\n at parseError (/var/www/myforum.tld/nodebb/node_modules/redis-parser/lib/parser.js:193:12)\n at parseType (/var/www/myforum.tld/nodebb/node_modules/redis-parser/lib/parser.js:303:14)","exception":true,"date":"Sun Jul 14 2019 23:12:06 GMT+0300 (Eastern European Summer Time)","process":{"pid":28935,"uid":0,"gid":0,"cwd":"/var/www/myforum.tld/nodebb","execPath":"/usr/local/bin/node","version":"v10.15.3","argv":["/usr/local/bin/node","/var/www/myforum.tld/nodebb/nodebb","upgrade"],"memoryUsage":{"rss":126144512,"heapTotal":103751680,"heapUsed":68242168,"external":451882}},"os":{"loadavg":[1.353515625,0.51025390625,0.35888671875],"uptime":693319},"trace":[{"column":12,"file":"/var/www/myforum.tld/nodebb/node_modules/redis-parser/lib/parser.js","function":"parseError","line":193,"method":null,"native":false},{"column":14,"file":"/var/www/myforum.tld/nodebb/node_modules/redis-parser/lib/parser.js","function":"parseType","line":303,"method":null,"native":false}]}
Please, help me to fix this errors,
-
@almond those errors don't seem to be related to any specific plugin.
-
how to allow two polls in the same post or multiple questions in the same poll?
-
I think there is incompatibility issues with 1.12.2, because it does not let you create a poll; namely plugin did not work.
"restart required" warning because of poll plugin · Issue #105 · NodeBB/nodebb-plugin-poll
https://community.nodebb.org/topic/14174/restart-required-warning-does-not-go-away
GitHub (github.com)
Previously, we were having this issue about the plugin:
"Restart Required" warning does not go away
Restart Required warning on ACP does not go away. We have 3 ports open, and here is the log: 2019-08-10T02:17:38.705Z [4569/30622] - [32minfo[39m: [app] S...
NodeBB Community (community.nodebb.org)
-
There is another issue, we have forum installed at /forum subfolder. When I click the people who voted on the poll, it takes me to the
.com/user/ABC
rather than
.com/forum/user/ABC
so it gives error. FYI.
User directing error when forum is installed at /forum subfolder · Issue #107 · NodeBB/nodebb-plugin-poll
We have forum installed at /forum subfolder. When I click the people who voted on the poll, it takes me to: .com/user/ABC rather than; .com/forum/user/ABC so it gives error.
GitHub (github.com)
-
@julian said in [nodebb-plugin-poll] Poll plugin:
Looks like @bentael has fixed that up for you
yes, thanks @bentael
-
Hello.
One month ago I upgraded my forum from 1.10.1 to 1.12.2.
When the upgrade finished the forum didin't start. I tried to disable each plugin and discovered that without nodebb-plug-poll the forum started well.
Today I've seen the new plugin version and I've tried to upgrade it but when I've activated it the problem was the same.
It's this plugin incompatible with 1.12.2?
-
so just in case it might be related, I would like to update our situation...
After 1.12.2 upgrade, we had "restart required" problem because of poll plugin, you can see the post above...
But, currently we are using updated 0.3.3 version of the poll plugin and forum works fine and "restart required" error is also gone...
GitHub - NodeBB/nodebb-plugin-poll: Poll plugin for NodeBB.
Poll plugin for NodeBB. Contribute to NodeBB/nodebb-plugin-poll development by creating an account on GitHub.
GitHub (github.com)
-
Hi. Whilst this plugin works perfectly well, it interferes with Flatpickr in core - see https://community.nodebb.org/post/83288
-
I also noticed a strange bug. For some reason the plugin puts the answer choices in the wrong order when publishing. Maybe someone knows why this is so and if there is any way to fix it?
For example:
I create a survey in strict order
But I get the following result
-
@Shortround I'm tested this plugin, he work on my 3.0.0 version forum.
But it would be cool to update the possibilities of this plugin, there is very lack of the opportunity to insert several polls into one topic.
Multiples Poll's per thread · Issue #70 · NodeBB/nodebb-plugin-poll
Would be awesome to have multiples poll's per thread 👍 :)
GitHub (github.com)
-
@brazzerstop said in [nodebb-plugin-poll] Poll plugin:
there is very lack of the opportunity to insert several polls into one topic
Yes I miss that very much too!
I've noticed that polls aren't visible to guests, can that be changed in a way that guests can see that there is a poll? "Register to vote" or something.