-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to upgrade from 5.1.0 to 5.4.3 using mongodb 4.4 #93
Comments
Ok, I tried the same process as above but using mongodb 5.0. That failed as well. First it had the same problem with the non-existing configmap. So I added it now to my deployment. However, now the pre-update pod fails to execute:
The reason is, that the user
So, how is this supposed to work? |
Next iteration: I've setup a test pod using the same image as the pre-update pod:
logged into it, created the
However, on the mongodb pod I actually CAN use the
But even IF that would work, the helm chart doesn't use the
But even THEN it doesn't work:
So, please help me, the whole thing looks hopeless to me! Thanks in advance, |
PS: I found a way to get the verify Script executed:
The important thing here is that I am not using the |
It continues: Now that I know that in principle upgrading mongodb from 4.4 to 5.0 seems to be supported and since I deployed the configmap myself anyway, I replaced the JS code with a bare However, now I'm getting this error from the rocketchat pod:
However - rocketchat comes up anyway without further errors and seems to work. |
Howdy,
my deployment is unfortunately a little outdated, so I thaught it might be a good idea to upgrade rocketchat first, keep mongodb version and upgrade that later.
So I specified helm chart version
5.1.0
but mongodb image tag4.4.11-debian-10-r12
and deployed.The chart then tried to deploy an upgrade pod, which failed to start:
The problem was, that said configmap first appeared in 5.4.3, so it's not installed here, but the pre-upgrade pod just expects it to be there.
My next try was to just manually deploy that script (this would be required only once anyway). Now the pre-upgrade pod came up, but failed with:
because
mongosh
seems not to be installed in the 4.4 image.My next try will be to directly upgrade to mongodb 5.0 and see what happens. But I think this behavior should be fixed anyway somehow.
The text was updated successfully, but these errors were encountered: