-
Notifications
You must be signed in to change notification settings - Fork 3
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
RFE: Downgrade script from ianw1974 builds #3
Comments
@halfgaar I've just seen your script on the Zimbra forums. Well, my implementation can be found here: tagged-zimbra-downgrade.sh. Differences with your script:
This is still a work-in-progress and I pretend to add an option for -v10.0.7, -v10.0.8 and so on so that we can add more config values in the future. I have also thought about:
It would be nice if you could test the current version on your snapshot VM, here there is how you would use it:
Thank you! |
Yeah, I can test it. I made a backup of my snapshot pre-changes, for easy retrying. I'll get to it. Your script is more elaborate than mine, nice work. I just put an hour of work in it when I saw one can source the ldap passwords into the env. Some comments, relevant or not:
I really like the idea of a preview of changes, and/or making a backup first. I know people should have a full machine backup, but still, it's a nice addition. Edit: oh, and I recommend |
Hopefully that's the case.
Yeah.
Well, I could rename it to
Each time I release a new version I should update add an
Ok.
Nice to know. |
I'm currently working on a set of instructions that let you recover your borked system after ./install.sh fails because right now the only way of avoiding these problems is removing those additional attributes before ./install.sh. I'm not sure I will be able to get away with it. |
So I have managed to fix this after the installation fails thanks to an updated tagged-zimbra-downgrade. Here's how you use before I make public all of this in the main branch:
and, well, then you are supposed to restart the installation/upgrade ( Feedback is welcome! |
My note about I tested the first one you asked ( Neither of our scripts touch The |
What I understand (without actually knowing too much about ldap) is that when the installation is done the Tagged Zimbra Ldap Schema is forced. Those capital letters attributes might be unrecognized attributes (instead of the usual non-capitalised letter ones) which are output as such (in capital letters). However you cannot re-import them as such that's why you have to removed them. |
Something else. Our scripts only modifies
Do you think we need to go over all trees to look for these attributes? I'm assuming most if not all code will ignore attribute values for my user that don't correspond with a setting, but I can't be sure. |
Why don't you set it to true in one account and you set it to false in another account, then upgrade and see what happens? Also do those extra settings for those accounts disappear after the upgrade? |
I tried making a slapcat dump after the upgrade:
So, I think we do have to remove these. The commands |
You are going through the same experience I did. |
I don't quite understand what state LDAP is in at that point. When I do this on my current live server (with
I get all There may be a specific order they need to be deleted in. |
I still haven't been able to fix the For me, when I run Reinstalling |
ianw1974 builds are made from develop branch which I will refer as zimbra-next.
Well, an script that eases a downgrade from zimbra-next to normal zimbra based on versions built on tags could be handy for admins that wish to switch to Maldua builds.
The script would accept a target Maldua version as an argument.
A rough draft of what the script would do:
Useful links:
The text was updated successfully, but these errors were encountered: