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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved cannot start : shell and server versions do not match

    Wekan
    mongodb
    3
    4
    385
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rmdes
      rmdes last edited by girish

      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 })

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @rmdes last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by girish

          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.

          ruihildt 1 Reply Last reply Reply Quote 0
          • ruihildt
            ruihildt @girish last edited by

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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB