upgrade.rst 648 B

123456789101112131415161718192021222324252627282930313233
  1. .. _upgrade:
  2. =======
  3. Upgrade
  4. =======
  5. .. _upgrade_1.1.2:
  6. ----------------
  7. Upgrade to 1.1.2
  8. ----------------
  9. .. NOTE:: 1.0+ releases can be upgraded to 1.1.2 smoothly
  10. Steps:
  11. 1. Download and install emqttd-1.1.2 to the new directory, for example::
  12. Old installation: /opt/emqttd_1_0_0/
  13. New installation: /opt/emqttd_1_1_2/
  14. 2. Copy the 'etc/' and 'data/' from the old installation::
  15. cp -R /opt/emqttd_1_0_0/etc/* /opt/emqttd_1_1_2/etc/
  16. cp -R /opt/emqttd_1_0_0/data/* /opt/emqttd_1_1_2/data/
  17. 3. Copy the plugins/{plugin}/etc/* from the old installation if you loaded plugins.
  18. 4. Stop the old emqttd, and start the new one.