• D
    Desmond

    @CraigWeb,
    Thank for your prompt reply.

    It will then be a wishlist to stack in Mango/Mozilla road map to implement ES6 for Rhino JS in the near future as functional programming languages have become more popular.

    By the way, anyone know the current version of Rhino JS used in Mango?

    Thanks & Regards

    posted in Scripting general Discussion read more
  • D
    Desmond

    Hi All,

    I am trying to do some code in Mango global script using arrow function in javascript.

    var func = (x, y) => { return x + y; }; 
    print(func(1,2));
    

    Result:

    <eval>:4:30 Expected : but found x var func = (x, y) => { return x + y; }; ^ in <eval> at line number 4 at column number 30<br/>at line: , column:
    
    

    However it does not evalute the expression. I am unsure the Mango scripting environment does support the ES6. Any feedback will be appreciated.

    Thanks & Best Regards

    posted in Scripting general Discussion read more
  • D
    Desmond

    After my attempt to shut down the MangoES and reboot it, now I see magic, It works!

    It is a false alarm and thank you @CraigWeb for your fast response.

    posted in Mango Automation general Discussion read more
  • D
    Desmond

    Hi, I have done the following steps as per documentation:
    1)edit env.properties file swagger.enabled=true in the mango/override/properties folder
    2)Restart Mango
    3)login as admin user

    However I encounter message prompt from the bottom of screen "connectivity lost, restoring connection".The mango instance restart again and again.

    Looking into the developer tools, I found the issue is the api connection.
    Next I disable the swagger.enabled=false, and login mango again. This time everything is back to normal without connectivity issue.

    May I know what could be wrong and any advise to enable mango api correctly?

    -mango core 3.4.5
    -mangoAPI 3.4.4

    Thanks & regards
    Desmond Luong

    posted in Mango Automation general Discussion read more
  • D
    Desmond

    My assumption is the datapoints have one to many relationship. If one fails, its behaviour like snowball effect, result in nuisance/repeated alarm and end up eating up your resources which lead to erratic behaviour in the system.
    Depend on the complexity of point configuration, it can easily slow down the system within hours if no action taken.

    posted in Mango Automation general Discussion read more
  • D
    Desmond

    I agree with @mattfox. I see great benefits to have an added mechanism to control the nuisance alarm.

    posted in Mango Automation general Discussion read more
  • D
    Desmond

    @phildunlap
    After several unsuccessful attempts, may I request that Mango to investigate into the root cause? I am willing to send you the details to access into the web server remotely.

    My main concern is that I do not wish to make it worse by doing something wrongly to the system or if other errors occurred, it is difficult to isolate the problem. Besides, I am under pressure to start setting up of this MangoES unit for a demo presentation.

    Let me know your comments.

    Thanks

    posted in Mango Automation Installation read more
  • D
    Desmond

    @phildunlap
    I have followed your instruction steps to perform the upload enterprise bundle and restart but it does not resolve the startup issue.

    part of console screen terminal:
    [mango@mangoES3508 ~]# cd /opt/mango/bin; ./ma.sh start
    MA_HOME is /opt/mango
    Archive: /opt/mango/m2m2-core-3.4.4.zip
    ........
    Total output of 1.03 MB was truncated at 97.66 kB.
    [mango@mangoES3508 bin]# cd /opt/mango/bin; ./ma.sh start
    MA_HOME is /opt/mango
    MA already running with Process ID: 1015
    ma-start: MA done

    Below is the console screen terminal for the java version :

    [mango@mangoES3508 bin]# cd /opt/mango/bin; ./ma.sh start
    MA_HOME is /opt/mango
    MA already running with Process ID: 1015
    ma-start: MA done
    [mango@mangoES3508 bin]# java -version
    java version "1.8.0_131"
    Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
    Java HotSpot(TM) Client VM (build 25.131-b11, mixed mode)
    [mango@mangoES3508 bin]#

    Pls note that I have been troubled with this issue since the purchased on the feb2018. Currently I am using trial version to do the application development.
    I need your support to look into it as I am about to due for a presentation with the new MangoES.

    Thank you in advance.

    posted in Mango Automation Installation read more
  • D
    Desmond

    @phildunlap

    I have removed the advancedComponents module as per your comment. Then I run ma-start command or url://IP address, it does not launch the login page in chrome as per expected.

    Below i have attached the ma and ma-script file for your action.

    [shareable link](https://drive.google.com/file/d/12T4HlRaWmeiX5cFB7JBxGrYm47GODaiu/view?usp=sharing
    https://drive.google.com/file/d/166ladCzcLizSWdM57FTOBXjA37mF2dhF/view?usp=sharing)

    Hope you can look into it and give me guidance to resolve it.

    Thank you in advance.

    posted in Mango Automation Installation read more
  • D
    Desmond

    @phildunlap
    I have managed to see the directory of mango now. For your information running the command cd /opt/mango/bin; ./ma.sh start give the result as per photo.
    0_1524467011328_error1.jpg

    I tried to login locally via the url give the result as per photo.
    0_1524467450565_error2.jpg.
    The IP address 192.168.1.12 response with the ping command and I can login the wed server.

    This is the new purchased unit on feb2018 and I have not done nothing else other than upgrading the web admin and mangoES. It used to be login without issue before upgrade.

    Pls help as I am not familiar with administering the web server. I cant figure out what need to be done.

    Thank you in advance.

    posted in Mango Automation Installation read more