• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. MattFox
    3. Posts

    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 11
    • Topics 63
    • Posts 1,283
    • Best 93
    • Controversial 0
    • Groups 0

    Posts made by MattFox

    • RE: How do I reset localhost8080: username and password

      @LBryant are you using the H2 database or MySQL?
      One is harder than the other, if mysql, stop mango, make a fresh mango database setting then copy the password from the user generated in the new db and overwrite the password on your user in the original, that will set it to admin. Change back to your old db settings and log in.

      If H2, stop mango, rename database folder and restart, this will cause mango to generate a new h2 db. Stop mango and use the h2 web utility supplied in the mango/bin directory to access the new database, obtain the password from the admin user.

      Close then repeat with the old database and update the password.
      Rename database folder and restore the original folder back to database again.

      Log in with admin password

      Fox

      posted in User help
      MattFoxM
      MattFox
    • RE: Help defining Controller with Custom Dashboard and UserModule

      @mfitzgerald_wavetech sorry, face plate
      https://forum.mango-os.com/post/19718

      posted in Dashboard Designer & Custom AngularJS Pages
      MattFoxM
      MattFox
    • RE: Help defining Controller with Custom Dashboard and UserModule

      @mfitzgerald_wavetech

      var myDashboardModule = angular.module('myDashboardModule', ['maUiApp']);
      
          myDashboardModule.controller(
      

      Looks like you're making the same call twice to me
      Just wrap your controller in a function and return the function itself.

      Check out the component I wrote in the forum for 'faceplate'. Despite it being a component, you'd do it the same way for a controller.

      Hope that gives you something to work with

      Fox

      posted in Dashboard Designer & Custom AngularJS Pages
      MattFoxM
      MattFox
    • RE: Mango V4

      @paulolando91 where have you stored your images?
      It makes the most sense if you store your images in the filestore and use the redt api url to obtain them.
      If you don't want that and want it hard coded, you'll have to make the directory inside

      [Mango_home]/overrides/web/modules/mangoUI/web/store

      Fox

      posted in User help
      MattFoxM
      MattFox
    • RE: NoSQL requires license?

      @Faucon-Ngando sounds like a bug, raise it with radix. Your property settings are correct.
      Assuming you can log in to your MySQL db locally via the mango credentials

      Fox

      posted in User help
      MattFoxM
      MattFox
    • RE: NoSQL requires license?

      @Faucon-Ngando what version of mango?

      Fox

      posted in User help
      MattFoxM
      MattFox
    • RE: NoSQL requires license?

      @Faucon-Ngando he's using a docker-compose file to run both a postgres sql container and mango container inside a single network.
      The volume property maps the directories inside the docker images to real directories on the host system.

      For exporting you'll need to do a sql backup and a complete nosql backup (if applicable)
      These outputs should appear inside you /opt/mango-data/backups directory.
      If you're not using an external sql you should still be able to run using the same configs in that docker-compose file, minus the postgres related entry as all of your data and backups should exist in the mango-data directory...

      Fox

      posted in User help
      MattFoxM
      MattFox
    • RE: Mango 5 - bugs or user non-friendly things

      @ms_brunette happy to help, perhaps you can output your markup into some code blocks </> for me?
      Feel free to PM as well

      Fox

      posted in User help
      MattFoxM
      MattFox
    • RE: Change a data point with condition

      @tungthanh500 get rid of the runtime sleep call. Set the context point related to the data point you are validating and set the script to trigger from one of them for a start.
      Alternatively use a cron timer setting set to 15 seconds.

      Fox

      posted in Scripting general Discussion
      MattFoxM
      MattFox
    • RE: Annotation mode: Cannot add shapes

      @mhaluza yes

      posted in User help
      MattFoxM
      MattFox
    • RE: Annotation mode: Cannot add shapes

      @mhaluza looks like you're missing a height style attribute

      Can you please screenshot the dashboard viewer?

      Fox

      posted in User help
      MattFoxM
      MattFox
    • RE: Annotation mode: Cannot add shapes

      @mhaluza can you look at the web browser console to see if there are any 404 errors, if that's the case, you may have found a bug

      Fox

      posted in User help
      MattFoxM
      MattFox
    • RE: Reloading log4j2.xml without a Mango 3.7.12 restart

      @Pedro thanks for replying. As I recall, this reset didn't work for serial data sources so a manual reboot was needed. Also if radix bothered to answer these questions in the forum they wouldn't receive so many tickets.
      Majority are how to questions I'd wager

      Fox

      posted in User help
      MattFoxM
      MattFox
    • RE: Send publisher when datasource modbus fail

      @jcaballeroa given that the changes implemented appear to be mainly ui focused, I do not think you'll find a better way at this stage.

      Fox

      posted in How-To
      MattFoxM
      MattFox
    • RE: Reloading log4j2.xml without a Mango 3.7.12 restart

      @Pedro I don't recall this being possible for mango 3

      Fox

      posted in User help
      MattFoxM
      MattFox
    • RE: Invoke shell commands from a Scripting environment?

      @Jdiaz-co MA_JAVA_OPTS="$MA_JAVA_OPTS -Dnashorn.args=-scripting" will be the ticket then
      I see they've changed it a fair bit since then, I'm not near an install right this minute to compare
      Fox

      posted in Scripting general Discussion
      MattFoxM
      MattFox
    • RE: Invoke shell commands from a Scripting environment?

      @Jdiaz-co I never mentioned ext enabled. Form mango4 + mango uses start-options.sh
      navigate to your mango 5 installation and there should be a mango-data directory.
      Inside there is a start options.sh file
      add JAVAOPTS="$JAVAOPTS -Dnashorn.args=-scripting" to a new line in the file.

      once you've added it, restart mango then you can use the $EXEC command

      Fox

      posted in Scripting general Discussion
      MattFoxM
      MattFox
    • RE: Invoke shell commands from a Scripting environment?

      @Jdiaz-co add the java opts to start-options.sh in the mango-data directory.
      The rest should be the same

      Fox

      posted in Scripting general Discussion
      MattFoxM
      MattFox
    • RE: Errors when attempting to read

      @BigKING please create a new thread and reference this one. This one was solved over twelve years ago!

      Fox

      posted in BACnet4J general discussion
      MattFoxM
      MattFox