Exception from sub activities id ... Error: Match error: Expected boolean, got undefined
See original GitHub issueIssue
Impacted version: 0.47 (tried 0.37 as well, same issue)
Server Setup Information:
- Operating System: Centos 7.3
- Deployment Method(tar/sandstorm/snap/docker/etc /http frontend (nginx, httpd, …)): tar, httpd
- Node Version: 4.8.4
- MongoDB Version: 3.2.17
- ROOT_URL environment variable (Is there a subfolder?): no subfolder
Problem description:
Hi,
I have a wekan 0.10.1 and I try to migrate it’s database under the latest wekan 0.47.
So I just dumped the database with mongodump and restored it on the new server with --noIndexRestore.
I got the following exception in the log:
Oct 9 08:37:29 wekan Wekan: Exception from sub activities id djFzCbxnu3jDgojNF Error: Match error: Expected boolean, got undefined Oct 9 08:37:29 wekan Wekan: at exports.check (packages/check.js:57:15) Oct 9 08:37:29 wekan Wekan: at [object Object].<anonymous> (server/publications/activities.js :12:3) Oct 9 08:37:29 wekan Wekan: at packages/matb33_collection-hooks.js:307:21 Oct 9 08:37:29 wekan Wekan: at [object Object]._.extend.withValue (packages/meteor.js:1122:17) Oct 9 08:37:29 wekan Wekan: at [object Object]._handler (packages/matb33_collection-hooks.js:306:28) Oct 9 08:37:29 wekan Wekan: at packages/check.js:130:16 Oct 9 08:37:29 wekan Wekan: at [object Object]._.extend.withValue (packages/meteor.js:1122:17) Oct 9 08:37:29 wekan Wekan: at Object.exports.Match._failIfArgumentsAreNotAllChecked (packages/check.js:129:41) Oct 9 08:37:29 wekan Wekan: at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1734:18) Oct 9 08:37:29 wekan Wekan: at [object Object]._.extend._runHandler (packages/ddp-server/livedata_server.js:1035:17) Oct 9 08:37:29 wekan Wekan: at [object Object]._.extend._startSubscription (packages/ddp-server/livedata_server.js:853:9) Oct 9 08:37:29 wekan Wekan: at [object Object]._.extend.protocol_handlers.sub (packages/ddp-server/livedata_server.js:625:12) Oct 9 08:37:29 wekan Wekan: at packages/ddp-server/livedata_server.js:559:43 Oct 9 08:37:29 wekan Wekan: Sanitized and reported to the client as: Match failed [400] Oct 9 08:38:06 wekan Wekan: Exception from sub activities id eE4kNksFEHkJnoa7S Error: Match error: Expected boolean, got undefined Oct 9 08:38:06 wekan Wekan: at exports.check (packages/check.js:57:15) Oct 9 08:38:06 wekan Wekan: at [object Object].<anonymous> (server/publications/activities.js:12:3) Oct 9 08:38:06 wekan Wekan: at packages/matb33_collection-hooks.js:307:21 Oct 9 08:38:06 wekan Wekan: at [object Object]._.extend.withValue (packages/meteor.js:1122:17) Oct 9 08:38:06 wekan Wekan: at [object Object]._handler (packages/matb33_collection-hooks.js:306:28) Oct 9 08:38:06 wekan Wekan: at packages/check.js:130:16 Oct 9 08:38:06 wekan Wekan: at [object Object]._.extend.withValue (packages/meteor.js:1122:17) Oct 9 08:38:06 wekan Wekan: at Object.exports.Match._failIfArgumentsAreNotAllChecked (packages/check.js:129:41) Oct 9 08:38:06 wekan Wekan: at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1734:18) Oct 9 08:38:06 wekan Wekan: at [object Object]._.extend._runHandler (packages/ddp-server/livedata_server.js:1035:17) Oct 9 08:38:06 wekan Wekan: at [object Object]._.extend._startSubscription (packages/ddp-server/livedata_server.js:853:9) Oct 9 08:38:06 wekan Wekan: at [object Object]._.extend.protocol_handlers.sub (packages/ddp-server/livedata_server.js:625:12) Oct 9 08:38:06 wekan Wekan: at packages/ddp-server/livedata_server.js:559:43 Oct 9 08:38:06 wekan Wekan: Sanitized and reported to the client as: Match failed [400]
And Nodejs go up to 100% CPU usage, wekan slows down and then gives http error 504.
Can you please help me?
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (7 by maintainers)
Wekan is only compatible with MongoDB 3.2.x, that does still receive updates to new versions.
We welcome all code contributions and bounties for fixing it.
It looks like having MongoDB 3.4 work is not at Roadmap or BountySource yet. So all of those are to be done before trying to have MongoDB 3.4 work.
Yes. Wekan does not support MongoDB 3.4.x, because uploading images will then crash Wekan.
Wekan only supports MongoDB 3.2.x.