Skip to content
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

Create upgrade script #3

Open
alexkiro opened this issue Mar 14, 2017 · 0 comments
Open

Create upgrade script #3

alexkiro opened this issue Mar 14, 2017 · 0 comments

Comments

@alexkiro
Copy link
Contributor

We should create an command line upgrade script that handles installing and upgrading:

Upgrading

  • Checks if there is a version already installed
  • Unzip the currently installed version
  • Checks the version from the currently installed version and checks if there is a newer one available
  • If there is a currently installed version it saves the configuration XML from the unzip packages
  • Downloads the latest version
  • Puts the current configuration file in the new version
  • Creates a zip based on the new version
  • Installs the new version
  • Deploys the new version:
/opt/zimbra/bin/zmzimletctl deploy /opt/zimbra/zimlets/com_zimbra_spamexperts.zip

Other notes

  • We should update the KB with instructions on using the upgrade script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant