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.
Mango wont start with > 300 data points
-
Our mango server will not start as it seems it has reached its maximum data point limit. From the ma.log
ERROR 2018-11-16T15:54:42,888 (com.serotonin.m2m2.Main.main:138) - Error during initialization com.serotonin.m2m2.LicenseViolatedException: You have reached the maximum number of data points permitted for your 'Free' license: 300Is it possible to remove data points from the terminal or otherwise salvage the installation/database so we can prune it as required?
-
Hi James, welcome to the forum!
You could use the Mango/bin/h2-web-console script to launch the H2 web console, then after logging in with the credentials from the H2 section of your Mango/overrides/properties/env.properties file (or Mango/classes/env.properties) to login and
DELETE FROM dataPoints WHERE id=(SELECT MAX(id) FROM dataPoints);You can find more about the web console here: https://help.infiniteautomation.com/about-the-h2-databaseOr you could move your Mango/databases/ directory, then start with a clean database and restore a backup. That should give you a little time to poke around before it shuts down due to too many points.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login