If you are updating from the 1.x version of Portainer you must first update to 2.0.0 before updating to the newest version or you will run into issues

If you are updating from the 1.x version of Portainer you must first update to 2.0.0 before updating to the newest version or you will run into issues
