• Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

    Custom menus disappeared

    User help
    3
    7
    649
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mseverin last edited by

      I had a problem where my events table had got really big so I couldn't log in (it kept timing out). Using the H2 Console I was able to delete everything from the events table but now I have no custom pages or menu structure.

      If I edit the latest json backup, it looks like the menu structure is there but I get nothing except for Data Point Details, Events, Watch lists and the Administration section, even after re-importing the json file.

      I also don't see any errors in the ma.log except for a server key validation issue regarding CloudConnect.

      Any help would be greatly appreciated.

      1 Reply Last reply Reply Quote 0
      • MattFox
        MattFox last edited by MattFox

        First off, I would advise re-importing your last configuration backup if possible, even the one prior to that. Go in to the edit menu page and see if you can re-add your menu items.
        Next, I strongly recommend seeing what's causing all of these events. If there enough to cause your system to slow to a grinding halt then wiping them is only a temporary measure if it's happening quickly.
        You shouldn't have been able to wipe jsondata if your target was the events database table.

        Do not follow where the path may lead; go instead where there is no path.
        And leave a trail - Muriel Strode

        1 Reply Last reply Reply Quote 0
        • CraigWeb
          CraigWeb last edited by

          Hi mseverin

          Can you confirm that you have not lost your dashboard data, just the menu items?
          If you go to the edit menu items page. Are the menu items that you used to have still on the table or have the disappeared from that page as well?
          When you register a menu item on the edit menu page it gets stored in the JSON store named: mangoUI-menu. Can you confirm that the data is still there?

          1 Reply Last reply Reply Quote 0
          • M
            mseverin last edited by

            Because I'm running Mango in a vm, I restored a snapshot to just prior to purging the events and have determined that things disappeared after I did the purge of events using the H2 Console.

            Do to the large number of events, I couldn't get logged in long enough to purge them thru system settings, so I connected to the H2 console and ran "delete from events".

            Is there a better way that I should have used?

            1 Reply Last reply Reply Quote 0
            • CraigWeb
              CraigWeb last edited by

              delete from events is the correct command to run. You UI menu items are stored in the JSONData table. So they will not be affected. I would redo the procedure and look in the browser's console if there are any errors or API error code and confirm the information I requested above.

              1 Reply Last reply Reply Quote 0
              • M
                mseverin last edited by

                Sorry.

                I have lost my dashboard data as well. When I go to the edit menu items page, I don't see any of my custom menus.

                If I create a new menu and try to point it to my custom pages, there are no pages there to point it to.

                If I look in the JSON, there are no custom menu items.

                1 Reply Last reply Reply Quote 0
                • CraigWeb
                  CraigWeb last edited by

                  There is no explainable reason why you would lose your JSON data by deleting your events data. I highly doubt it was caused by that. I would start mango up with a fresh DB and restore to one of your backed up versions where the JSON data is still there and then try to delete the events again.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post