Upgrade from 4.3 to 4.4

    1. Optional: remove the node from load-balancer
    2. Stop the node, (e.g. , systemctl stop emqx)
    3. Backup ‘data’ and ‘etc’ directories. (more details below)
    4. Uninstall v4.3
    5. Install v4.4, and restore the backup directories for ‘data’ and ‘etc’
    6. Optional: add the node back to the load-balancer
    • Where the environment variable EMQX_NODE__DATA_DIR points to
    • Where the config key points to in emqx.conf
    • /opt/emqx/data when running in docker (typically a mounted volume)
    • <install-path>/data when installed from zip package extraction
    • /var/lib/emqx/data when installed from RPM or DEB packages
    • Taking RPM installation for example
    1. ## Inspect the current installation
    2. rpm -e emqx-4.3.x-x.x86_64
    • Taking RPM installation for example
    • Restore the data and config from backup
    1. cp -r ~/emqx-backup/etc/ /etc/emqx/
    2. cp -r ~/emqx-backup/data/ /var/lib/emqx/
    • Taking systemctl for example
    • Check clustering status
    • Inspect the logs to make sure everything is working as expected
    • Check EMQX dashboard to see if the node is running as expected.