# Update & Upgrade

Updates and upgrades are one of the maintenance tasks for sytem. Programs that are not upgraded for a long time, like buildings that are not maintained for a long time, will accelerate aging and gradually lose functionality until they are unavailable.

You should know the differences between the terms Update and Upgrade(Extended reading (opens new window))

  • Operating system patching is Update, Ubuntu16.04 to Ubuntu18.04 is Upgrade
  • MySQL5.6.25 to MySQL5.6.30 is Update, MySQL5.6 to MySQL5.7 is Upgrade

For Metabase maintenance, focus on the following two Update & Upgrade jobs

  • Sytem update(Operating System and Running Environment)
  • Metabase upgrade

# System Update

Run an update command to complete the system update:

#For Centos&Redhat
yum update -y

#For Ubuntu&Debian
apt update && apt upgrade -y

This deployment package is preconfigured with a scheduled task for automatic updates. If you want to remove the automatic update, please delete the corresponding Cron

# Metabase Upgrade

Follow the steps below to complete the upgrade:

  1. Log in Metabase, go to Admin->Setting->Updates, the system will give you a reminder if there is a new upgrade package Metabase updates reminder

  2. Click the Upgrade button, go to the Metabase Install (opens new window) page

  3. The deployment package we provide is in the jar package installation mode, so on the installation page we select the Custom install mode. Metabase install

  4. Download teh Metabase.jar pakage and upload to your instance's directory /data/wwwroot/metabase Metabase upload

  5. Overwrite existing files and reload the Metabase