question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception from sub activities id ... Error: Match error: Expected boolean, got undefined

See original GitHub issue

Issue

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:closed
  • Created 6 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
xet7commented, Oct 17, 2017

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.

1reaction
xet7commented, Oct 9, 2017

Yes. Wekan does not support MongoDB 3.4.x, because uploading images will then crash Wekan.

Wekan only supports MongoDB 3.2.x.

Read more comments on GitHub >

github_iconTop Results From Across the Web

VueJs: Invalid prop:Expected Boolean, got Undefined
Issues here are two: required property is referenced but not defined; invalid property type. define the required prop.
Read more >
Error when creating a new department · Issue #14208 - GitHub
I am currently getting the error message Match error: Expected boolean, got string in field enabled when creating a department.
Read more >
Resolve template validation or template format errors in ... - AWS
I receive an error message when I try to create my AWS ... of the template" errors, see the Validate logical IDs and...
Read more >
Match error: Expected string, got object - Meteor forums
I have got the error when I'm trying to remove the Document from Customers Collection. Then I've got the error below: Exception while...
Read more >
Top 10 errors from 1000+ Ruby on Rails projects ... - Rollbar
1. ActionController::RoutingError · 2. NoMethodError: undefined method '[]' for nil:NilClass · 3. ActionController::InvalidAuthenticityToken · 4.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found