wekan: Error: title is required

Issue

Server Setup Information:

  • Deployment Method(snap/sandstorm/mongodb bundle): Docker

  • Http frontend (Caddy, Nginx, Apache, see config examples from Wekan GitHub wiki first): Nginx

  • MongoDB Version: 3.2.19

Problem description: I am running wekan as docker container. Had 0.63 and now updated to 0.80. When starting the container, the following error occurs:

wekan-app  | Presence started serverId=kCvFwNiwpgTjAH7Dr
wekan-app  | > Starting add-checklist-items migration.
wekan-app  | /build/programs/server/node_modules/fibers/future.js:280
wekan-app  | 						throw(ex);
wekan-app  | 						^
wekan-app  | 
wekan-app  | Error: Title is required
wekan-app  |     at getErrorObject (packages/aldeed_collection2-core.js:480:15)
wekan-app  |     at ns.Collection.doValidate (packages/aldeed_collection2-core.js:462:13)
wekan-app  |     at ns.Collection.Mongo.Collection.(anonymous function) [as insert] (packages/aldeed_collection2-core.js:214:25)
wekan-app  |     at packages/matb33_collection-hooks.js:127:46
wekan-app  |     at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:15)
wekan-app  |     at Object.directOp (packages/matb33_collection-hooks.js:47:27)
wekan-app  |     at Object.self.direct.(anonymous function) [as insert] (packages/matb33_collection-hooks.js:126:30)
wekan-app  |     at _.sortBy.forEach (server/migrations.js:195:29)
wekan-app  |     at Array.forEach (<anonymous>)
wekan-app  |     at Checklists.find.forEach.checklist (server/migrations.js:194:39)
wekan-app  |     at SynchronousCursor.forEach (packages/mongo/mongo_driver.js:1053:16)
wekan-app  |     at Cursor.(anonymous function) [as forEach] (packages/mongo/mongo_driver.js:875:44)
wekan-app  |     at Object.Migrations.add [as migrationCallback] (server/migrations.js:192:21)
wekan-app  |     at packages/idmontie_migrations.js:238:17
wekan-app  |     at Function.time (/build/programs/server/profile.js:309:28)
wekan-app  |     at /build/programs/server/boot.js:423:13

Downgrading the container to 0.75 fixes it and wekan runs normally. It seems as if an migration had not run here?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 15 (12 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks a lot @xet7 🎉