• phildunlap

    Unfortunately I wouldn't expect either of those to resolve. I do not believe that package source is still online.

    posted in MangoES Hardware read more
  • phildunlap

    Hi gquiroz,

    In Mango 2.8 you need to have the "dashboards" module installed for the Excel Reports module to work. You can install that on your modules page, or download it from the store: https://store.infiniteautomation.com/module/dashboards

    posted in User help read more
  • phildunlap

    Hi cor, welcome to the forum!

    It looks as though the first few lines of your script could be touched up. A single = is the assignment operator, where == is a comparison operator. Also I realize you are taking the regex from the previous examples, but if you just need to see if the value is 0 or 1 you can simply compare upon the value itself, like,

    var info = p20.value == 1 ? "off" : "on"; //set the value off only if p20.value is 1
    

    or if you don't want anything but a 1 to mean 'on' you could do,

    var info;
    if(p20.value == 1)
      info = "off";
    else if(p20.value == 2)
      info = "on";
    else
      throw "Unusable value in p20: " + p20.value; //cause a script error since bad input
    

    Everything else seems like it'd be the same as in Mark's usage.

    posted in How-To read more
  • phildunlap

    Try Chrome. You can check the "Preserve log" checkbox (see my screenshot) and it will definitely keep the request in view of the network tab. You have to have the developer tools open before you request the page.

    posted in Mango Automation general Discussion read more
  • phildunlap

    Hmm...

    I would try,

    1. Requesting the page with the developer tools open, on the network tab, to see if there is any information in the 500 response

    0_1537389783187_networkTools.png

    1. With Mango stopped, move your Mango/databases directory somewhere for safe keeping. Then start Mango on a fresh database. Do you still have this issue?

    If this is the same instance as in the other thread where the manual upgrade went awry, then you should resolve the duplicate jar situation before troubleshooting this as having multiple versions of the jar files could produce a variety of runtime exceptions.

    But, I really would have expected some output to stderr or stdout from a 500 exception. There are no errors in your log file?

    posted in Mango Automation general Discussion read more
  • phildunlap

    I would guess you did not follow proper manual upgrade instructions and delete your Mango/lib/* files before unzipping the upgrade. So now you have two mango-x.y.z.jar (and duplicates of other jar files, too) files in your Mango/lib/ directory. You can find the manual upgrade instructions here: https://help.infiniteautomation.com/how-to-upgrade-mango/

    posted in Mango Automation general Discussion read more
  • phildunlap

    Definitely try launching Mango on the command line then, so that we can see if the message is getting to stderr. You said it's ubuntu so this means cd Mango/bin; ./ma.sh start

    You could try deleting your Mango/work directory, but I would have expected an error caused by that to be logged.

    posted in Mango Automation general Discussion read more
  • phildunlap

    Hi Antonio,

    If you are on Mango 2.8.8, you would see a checkmark above the 'Do Upgrade' button on the /modules.shtm page for showing major version updates, which would show some modules are probably not compatible (but this shouldn't be an issue). Be aware that your license will become invalid, and you will need to purchase an upgrade license for the new 3.x instance.

    posted in Mango Automation general Discussion read more
  • phildunlap

    Can you try requesting the /ui/login URL directly? Maybe there is some issue with redirecting. You could try clearing your browser cache and the cookies for that host, too.

    Edit: Having seen your other post, if this is 2.8.x you would want to try to navigate to /login.htm directly.

    posted in Mango Automation general Discussion read more