wekan: Upgrading docker container to 6.29 fails

Issue

I tried upgrading my wekan docker container to 6.29 but sadly the container fails.

Server Setup Information

  • Operating System: Ubuntu 20.04.4 LTS
  • Deployment Method (Snap/Docker/Sandstorm/bundle/source): Docker (20.10.3)
  • MongoDB Version: 4.4.14

Problem description

When upgrading docker image from 6.28 to 6.29 the wekan container crashes with the following log error.

Reproduction Steps

Logs

wekan-app  | node[1]: ../src/node_platform.cc:61:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
wekan-app  |  1: 0xa3ac10 node::Abort() [node]
wekan-app  |  2: 0xa3ac8e  [node]
wekan-app  |  3: 0xaab44e  [node]
wekan-app  |  4: 0xaab516 node::NodePlatform::NodePlatform(int, v8::TracingController*) [node]
wekan-app  |  5: 0xa0330d node::InitializeOncePerProcess(int, char**) [node]
wekan-app  |  6: 0xa03831 node::Start(int, char**) [node]
wekan-app  |  7: 0x7f55fe5c2d90  [/lib/x86_64-linux-gnu/libc.so.6]
wekan-app  |  8: 0x7f55fe5c2e40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
wekan-app  |  9: 0x98c58c  [node]

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 28 (16 by maintainers)

Commits related to this issue

Most upvoted comments

I’m currently building new WeKan release 6.30, it has fix for uploading attachments.

@m-brangeon

At what hosting provider or datacenter your server is? Maybe they have restricted kernel settings.

On my own centos7 server. I pasted the workaround in the other issue the one I created first, maybe you could have a closer look at it ? (I would do it myself, but I dont now nodejs at all). It did the trick so start the app:

    security_opt:
      - seccomp:unconfined

Confirmed working, @xet7 🥳 Thank you so much!

@BabyFnord

Please try WeKan 6.30 . Thanks!

This same error is with newest Node.js 14.20.0

@BabyFnord

It seems same error is at all WeKan versions, like Bundle/Source/Docker etc. That replace function/method does not exist or work anymore. I don’t know yet is it because of new version of:

  • ostrio:files
  • mongodb
  • something else?

https://github.com/wekan/wekan/blob/v6.29/models/attachments.js#L26

@mfilser What do you think ?

WeKan is only compatible with MongoDB 5, versions are listed at https://wekan.github.io Download section.

1. Please [Backup](https://github.com/wekan/wekan/wiki/Backup) your previous install with mongodump, using your current version of MongoDB.

2. Delete all docker containers and data with:
git clone https://github.com/wekan/docker-cleanup-volumes
cd docker-cleanup-volumes
3. Add ROOT_URL etc settings to newest docker-compose.yml from https://github.com/wekan/wekan

4. `docker-compose up -d`

5. [Restore](https://github.com/wekan/wekan/wiki/Backup)

I dont understand as it happened between the move from tag 6.28 to 6.29 for me. In 6.29 Changelog I dont see that it introduced mongo 5, so I assumed that 6.28 was already mongo5.