• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. AldoRamos
    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
    • Profile
    • Following 1
    • Followers 0
    • Topics 39
    • Posts 126
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by AldoRamos

    • AldoRamosA

      Trouble logging in to Mango

      MangoES Hardware
      • • • AldoRamos
      2
      0
      Votes
      2
      Posts
      410
      Views

      AldoRamosA

      P.S. I also purged the /work directory, just to eliminate variables

    • AldoRamosA

      MangoGT running out of memory?

      MangoES Hardware
      • memory • • AldoRamos
      3
      0
      Votes
      3
      Posts
      454
      Views

      terrypackerT

      Either get more memory or try this env property:

      #Set the number of files the database can have open at one time db.nosql.maxOpenFiles=500

      It will close/unmap files at the expense of cpu use. If this problem persists then try another stream type:

      #Query Performance Tuning, File Access Type:Available[INPUT_STREAM,FILE_CHANNEL,RANDOM_ACCESS_FILE,MAPPED_BYTE_BUFFER] db.nosql.shardStreamType=MAPPED_BYTE_BUFFER
    • AldoRamosA

      Mango display unit conversion math

      Mango feedback
      • • • AldoRamos
      8
      0
      Votes
      8
      Posts
      764
      Views

      AldoRamosA

      Has anyone been able to duplicate this? Any other thoughts or theories? Suggestions, what should I try?

    • AldoRamosA

      MangoES H2 error

      Mango feedback
      • • • AldoRamos
      9
      0
      Votes
      9
      Posts
      918
      Views

      AldoRamosA

      After some more experience, going through this several more times, I seem to have found a pattern.

      Apparently, this kind of problem arises when I reboot the MangoGT without explicitly stopping Mango first.

      Having examined the output from systemctl show mango.service -p TimeoutStopUSec which shows TimeoutStopUSec=1min 30s it appears the service file is correctly configured; however, my experience suggests there is a failure somewhere in there. Additionally, a reboot command seems to execute immediately, too soon to properly shut down.

      What do you think?

    • AldoRamosA

      UpgradeCheck Invalid response code 302 causing Mango to die at startup

      User help
      • • • AldoRamos
      2
      0
      Votes
      2
      Posts
      672
      Views

      AldoRamosA

      I purged the work directory, and the 302 error went away. Turns out the fact that it was the last message didn't connect it to the cause of the crash.

      I have sent the database and log files separately. Hopefully we can learn what's going on.

      Aldo

    • AldoRamosA

      MangoNOSQL documentation/tutorial

      User help
      • • • AldoRamos
      1
      0
      Votes
      1
      Posts
      625
      Views

      No one has replied

    • AldoRamosA

      Global Scripts import only imports the first script

      Scripting general Discussion
      • • • AldoRamos
      5
      0
      Votes
      5
      Posts
      1.4k
      Views

      AldoRamosA

      That's about what I expected. Glad it was simple and isolated.

    • AldoRamosA

      Creating Mango Persistent TCP publisher causes fatal error

      Mango feedback
      • • • AldoRamos
      2
      0
      Votes
      2
      Posts
      569
      Views

      terrypackerT

      @AldoRamos it looks like the database was corrupted. I would restore from a backup if possible. If not there are h2 tools to attempt recovery. Might want to just check you disk isn't full.

      Here is one such post by Phillip,

      https://forum.infiniteautomation.com/topic/4073/corrupt-h2-database

    • AldoRamosA

      maUiDateBar documentation, setting autoUpdate

      User help
      • • • AldoRamos
      5
      0
      Votes
      5
      Posts
      1.2k
      Views

      Jared WiltshireJ

      @AldoRamos Services prefixed with maUi were originally not intended for public use, this is why it is not documented.

      The service code is actually located here - https://github.com/infiniteautomation/ma-dashboards/blob/main/UI/web-src/ui/services/dateBar.js

      This should do the trick:

      maUiDateBar.autoUpdate = true; maUiDateBar.updateIntervals = 10; maUiDateBar.updateIntervalPeriod = 'MINUTES';
    • AldoRamosA

      Overriding point update frequency on Mango/Angular page

      User help
      • • • AldoRamos
      5
      0
      Votes
      5
      Posts
      1.2k
      Views

      AldoRamosA

      Yes, that's what I'd figured I would do if needed, but this is good enough for now to solve my issue, move forward and be productive.

      This instance is running Mango 3.5.6; will be upgraded soon.

    • AldoRamosA

      Are values in converted unit available to scripts?

      Scripting general Discussion
      • • • AldoRamos
      6
      0
      Votes
      6
      Posts
      1.7k
      Views

      AldoRamosA

      @phildunlap Excellent! That's really useful information.

    • AldoRamosA

      Selecting display units at run-time

      How-To
      • • • AldoRamos
      1
      0
      Votes
      1
      Posts
      504
      Views

      No one has replied

    • AldoRamosA

      Accumulator has downward steps

      Scripting general Discussion
      • • • AldoRamos
      4
      0
      Votes
      4
      Posts
      1.1k
      Views

      phildunlapP

      I could see how on my.pointValueBefore(my.time) could run into issues in a history generation without use of the cache control, so my.pointValueBefore(my.time, true)

      If the logic you want is return my.value + (power.past(MINUTE,1).average/60); I think we should approach from why this would not be working. Have you tried generating history for return (power.past(MINUTE,1).average/60); to ensure you're getting the positive values? That simple form is what I think would be the right way to write it.

    • AldoRamosA

      Latest version (3.5.5) appears to fail rendering data

      Dashboard Designer & Custom AngularJS Pages
      • • • AldoRamos
      19
      0
      Votes
      19
      Posts
      4.0k
      Views

      MattFoxM

      That will likely be it, thanks Phil!

    • AldoRamosA

      BACnet issue with multiple default routes

      User help
      • • • AldoRamos
      2
      0
      Votes
      2
      Posts
      1.1k
      Views

      AldoRamosA

      I didn't find this earlier when searching, but this seems to be similar to unable to discover a bacnet device on my network, specifically in the brief window of apparently successful operation when saving or enabling the publisher.

    • AldoRamosA

      Graphic view controls showing hourglass for some users

      Mango Automation general Discussion
      • • • AldoRamos
      3
      0
      Votes
      3
      Posts
      1.2k
      Views

      AldoRamosA

      Bingo! Good call!

    • AldoRamosA

      Persistent TCP from 2.8 publisher to 3.2 Data Source: Broken pipe (Write failed)

      Mango Automation general Discussion
      • • • AldoRamos
      6
      0
      Votes
      6
      Posts
      1.5k
      Views

      phildunlapP

      Yeah, sorry, that was a bug. Got the fix in, though.

    • AldoRamosA

      NoSQL migration crashes mango with no log message

      Mango Automation general Discussion
      • • • AldoRamos
      7
      0
      Votes
      7
      Posts
      1.8k
      Views

      AldoRamosA

      The good news: I finally migrated the data. I think.

      The bad news: I still don't know why java crashes

      In frustration, I finally ran the migration with 1 low-priority thread, and in about 15 minutes, it finally completed — sort of.

      I tried updating java to 1.8.0_152; no effect
      Added 4GB swap (in addition to the 1GB already configured): no effect
      I executed the migration on a VirtualBox VM: no problem, success in about 3 minutes

      Finally, migrated on the server in question with 1 low-priority thread, It executed for 923 seconds — then stopped. I feared it had crashed again, but I noticed mango was still alive, so I checked a few things.

      That's when it got interesting.

      The migration page was seemingly stalled at 19648161 of 38879054
      0_1513389336077_migrate-success.png
      But in the log file, it claimed to have successfully completed:

      INFO 2017-12-15T16:03:36,024 (com.infiniteautomation.nosql.maint.MangoNoSqlMigrationWorkItem.execute:70) - Starting Data Migration, please wait... INFO 2017-12-15T16:18:59,072 (com.infiniteautomation.nosql.maint.MangoNoSqlMigrationWorkItem.execute:151) - Migrated 19648161 point values. INFO 2017-12-15T16:18:59,072 (com.infiniteautomation.nosql.maint.MangoNoSqlMigrationWorkItem.execute:155) - Finished Data Migration, 19648161 point values migrated to Time Series Datastore took 923.048s

      Eventually my eye caught that the 19648161 was (approximately) the same number I had seen in my successful simulation on the VirtualBox instance:
      0_1513391609589_migrate-aldarch.png
      But a quick query on the original db shows:

      MariaDB [mango]> SELECT COUNT(*) FROM pointValues; +----------+ | COUNT(*) | +----------+ | 38879054 | +----------+

      Curiously, the “successful” migrations show about half the total. I also notice (especially on the actual server) that the total changes a few times during the migration.

      So please help me understand: did the data migrate? Or only half? What am I not understanding?

      The crashing seems obvious to be a java problem, but I can't glean any diagnostic information to pursue further. Note that this instance is running on an Arm architecture, so that might be a factor as well.

    • AldoRamosA

      error migrating data to NoSQL: Errcode: 28 "No space left on device"

      Mango Automation general Discussion
      • • • AldoRamos
      7
      0
      Votes
      7
      Posts
      3.5k
      Views

      phildunlapP

      I meant to say it will use the NoSQL if installed. That's what I meant by prefer. I don't believe we created any tools to covert existing reportInstanceData tables to the NoSQL data store. So, I would expect any old report instances you have don't have their data available.

    • AldoRamosA

      Missing Event Handler

      Mango Automation general Discussion
      • • • AldoRamos
      8
      0
      Votes
      8
      Posts
      1.7k
      Views

      AldoRamosA

      Understood, but there was no such file. There is a file named com.serotonin.m2m2.db.upgrade.Upgrade17.log but it's empty

      -rw-r--r-- 1 mango mango 0 Nov 22 14:44 com.infiniteautomation.mango.scheduling.db.upgrade.Upgrade4.log -rw-r--r-- 1 mango mango 0 Nov 22 12:58 com.serotonin.m2m2.db.upgrade.Upgrade13.log -rw-r--r-- 1 mango mango 35 Nov 22 12:58 com.serotonin.m2m2.db.upgrade.Upgrade14.log -rw-r--r-- 1 mango mango 0 Nov 22 12:58 com.serotonin.m2m2.db.upgrade.Upgrade15.log -rw-r--r-- 1 mango mango 0 Nov 22 12:58 com.serotonin.m2m2.db.upgrade.Upgrade16.log -rw-r--r-- 1 mango mango 0 Nov 22 12:58 com.serotonin.m2m2.db.upgrade.Upgrade17.log

      The one file which isn't completely empty only reads:

      Updated 0 user comments with XIDs.