Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.

SOLVED cannot start : shell and server versions do not match

  • Since last app package upgrade it seems Wekan cannot start after the upgrade :

    Nov 09 15:43:54 MongoDB shell version v3.6.3
    Nov 09 15:43:54 connecting to: mongodb://mongodb:27017/c700f370-3683-415d-ad33-e4c9fd933be3
    Nov 09 15:43:54 MongoDB server version: 4.0.19
    Nov 09 15:43:54 WARNING: shell and server versions do not match
    Nov 09 15:43:54 WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 0 })

  • Staff

    @rmdes Ah good catch. The issue here is that the app's docker container has mongodb 3.6.x client packages installed whereas the mongodb server on Cloudron is a more recent 4.0.x.

    Fix is to update the mongodb client packages on the base image to 4.0.x.

  • Staff

    I have fixed this for the next base image release (whenever that is). For the moment, the warning can be ignored since the shell is compatible.

  • I found restarting Mongodb service manually fixes the error. Or maybe it was just a coincidence.