• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. mohd
    3. Topics

    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 Mango 5 Documentation Website
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 11
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by mohd

    • M

      Import H2 database from MangoES 2.5.2 to MangoES 2.7.10

      Mango Automation general Discussion
      • • • mohd
      9
      0
      Votes
      9
      Posts
      3.4k
      Views

      phildunlapP

      It could be a typeo in a variable name, or perhaps a point was deleted that was in the context of a meta point. Something like...

      p1 = random numeric, script:

      return p7.value*2
    • M

      Full Storage issue on MangoES

      Mango Automation general Discussion
      • • • mohd
      4
      0
      Votes
      4
      Posts
      2.1k
      Views

      phildunlapP

      Hi Mohammad,

      There are a few ways to do it.

      Through Mango:
      There is a button, "Purge all events" in the "Purge Settings" section on the system settings page. If your events table is large, this could take a while.

      Through the SQL console:
      delete from userEvents;
      delete from events;

      And my suggestion would be to do it from the database shell, since this will be very very fast regardless of table size:

      Navigate to /opt/mango/bin/ Edit h2-web-console.sh to add the -webAllowOthers argument as instructed by the comment near the bottom, such that you can access it from your other computer. sudo ./h2-web-console.sh In your browser, navigate to the port defined in h2-web-console.sh, probably <Mango IP>:8081 Log in, your connection string will be /opt/mango/databases/mah2 and the username and password are probably blank, but if not they will be explicit in the H2 section of your env.properties, at either Mango/overrides/properties/ or Mango/classes Run the following command: SET FOREIGN_KEY_CHECKS=0; CREATE TABLE eventsNewTable LIKE events; DROP TABLE events; RENAME TABLE eventsNewTable TO events; CREATE TABLE userEventsNewTable LIKE userEvents; DROP TABLE userEvents; RENAME TABLE userEventsNewTable TO userEvents; SET FOREIGN_KEY_CHECKS=1;

      It's good to have Mango off while doing that, but not required as the operations are so fast (but some database errors will probably be thrown by Mango right when the command is run).
      7. Ctrl + c the h2-web-console.sh

      And you're done!

    • M

      Can not upgrdae MangoES 2.7.2 to version 2.7.10

      Mango Automation Installation
      • • • mohd
      3
      0
      Votes
      3
      Posts
      2.1k
      Views

      M

      Hi JoelHagger,
      Thanks for the response. I just changed the DNS IP address on MangoES, and it workes.
      Cheers

    • M

      Mango does not come up after upgrading to the new version

      Mango Automation Installation
      • • • mohd
      5
      0
      Votes
      5
      Posts
      2.6k
      Views

      M

      Hi Phildunlap,
      The third solution redolved the issue. Thanks for your help and appreciate it.
      Cheers,
      Mohammad