Before Upgrading
There are a few steps you should take before you upgrade to Mango 4.
- Remove all old startup scripts
- e.g. rm /etc/init.d/mango
- Install Mango as a systemd service. A guide on this can be found here.
Upgrading
-
When upgrading you will you will be taken back to the 3.x login screen, the new 4.x login screen will not appear.
-
All users should close all their browser tabs which have Mango open and reopen them. Alternatively hold shift and press refresh (Chrome), note that this may not work if you have multiple tabs open.
-
Receiving the following error means that maWatchListParameters needs a ng-model attribute.
Error: [$compile:ctreq] Controller 'ngModel', required by directive 'maWatchListParameters', can't be found!
- Hardcoded URLs in dashboards like
/rest/v2/file-stores/default/hvac/duct_al_right_down_v1.4.png
should be changed to/file-stores/default/hvac/duct_al_right_down_v1.4.png
.
Example
<ma-watch-list-get ng-model="designer.watchList" parameters="designer.parameters" on-points-change="designer.points = $points" id="bd876e46-b407-4347-af77-0a7ea5cddbf5" watch-list-xid="WL_7530b0fe-d104-4929-a514-c583ce5d66ac"></ma-watch-list-get>
<ma-watch-list-parameters id="88cceba4-e1b5-4d4d-9aae-06bd4b1b937b" watch-list="designer.watchList" parameters-changed="designer.parameters = $parameters" style="position: absolute; width: 100%; left: 0px; top: 0px;"></ma-watch-list-parameters>
changes to:
<ma-watch-list-get ng-model="designer.watchList" parameters="designer.parameters" on-points-change="designer.points = $points" id="45426aa4-19dd-483b-881c-d4d0913e7068" watch-list-xid="WL_113995"></ma-watch-list-get>
<ma-watch-list-parameters id="d8e9bf6b-f457-4f43-8279-fff366d2c771" ng-model="designer.parameters" watch-list="designer.watchList" style="position: absolute; width: 100%; left: 218px; top: 175px;"></ma-watch-list-parameters>