Is it possible to roll back a latest UI update to the previous version???
-
Is it possible to roll back a latest UI update to the previous version???
-
Hi Phillip,
It is possible, but it may take a little hunting on your part.
You'll want to go to the sqlConsole.shtm page and run
SELECT id, objectId, REPLACE(context, '<', '<') FROM audit WHERE typename='JSON_DATA' ORDER BY id DESC LIMIT 25;
And you can see the markup. objectId for a JSON_DATA item would be the id of the page in the jsonData table. You can hopefully find the place in history you're looking for. Note that this will only work if you were using the "dashboard designer" or "edit pages" designers on the page in question.
Edit: I misunderstood the question. I gave instructions on how to recover a previous saved state of a designed dashboard. We always encourage people to backup their Mangoes prior to updating so that they can supply themselves with anything they need should something go wrong in the process. Both 3.2.7 and 3.2.6 are currently available for download in the store: https://store.infiniteautomation.com/module/mangoUI
-
Under the new Administration > System Status, you can actually view the whole Audit database and pull out the JSON of any of your previous dashboard version and then go to your Administration > JSON Store manager page and restore the JSON from the audit history.
-
thanks guys, I updated the first of our latest cloned ES systems to mangoUI 3.2.7 code and the now designer and edit pages freeze the browser solid so I was hoping to revert to
its previous version and hopefully that will restore the UI functionality. So how exactly do I get mangoUI 3.2.5 from the store and back into this ES? -
@Phillip-Weeks As I posted in the other thread its probably just the page that is opening up that has errors on it. Rolling back your UI module will not fix it. Check your console for errors.
If you clear your browser storage in developer tools for your Mango URL then it wont open that page when you click "edit pages" / "Dashboard designer"
-
OK I cleared all site storage from the console but the issue has not gone away.
when I click on the designer or the edit pages It streams errors in the developer console and locks up not only the current window but also the legacy window! -
This post is deleted! -
On the second clearing attempt it has worked and I have gotten back in and removed the malformed ma-calc directive which caused the issue. Thanks for the direction.