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
- - Fix checklists items migration error "title is required" Thanks to xet7 ! Closes #1576 — committed to wekan/wekan by xet7 6 years ago
- Fix error: title is required. Thanks to Shahar-Y ! Related https://github.com/wekan/wekan/commit/8d5cbf1e6c2b6d467fe1c0708cd794fd11b98a2e#commitcomment-28880774 Closes #1576 — committed to wekan/wekan by xet7 6 years ago
- - Fix "Error: title is required" by removing find() from all of migrations. Thanks to xet7 ! Closes #1576 — committed to wekan/wekan by xet7 6 years ago
- - To fix "title is required" fix only add-checklist-items and revert all other migration changes. Closes #1576, closes #1734 — committed to wekan/wekan by xet7 6 years ago
- - Fix [Title is required](https://github.com/wekan/wekan/issues/1576) by making [Checkist title optional](https://github.com/wekan/wekan/issues/1753). Thanks to xet7 ! Closes #1576, closes #1753 — committed to wekan/wekan by xet7 6 years ago
- - Fix Title is required by making Checklist title optional. Thanks to centigrade-kdk and xet7 ! Closes #1576, closes #1753 — committed to wekan/wekan by xet7 6 years ago
- - Fix Title is required by setting Checklist title during migration. Thanks to centigrade-kdk and xet7 ! Closes #1576, closes #1753 — committed to wekan/wekan by xet7 6 years ago
Thanks a lot @xet7 🎉