• D
    dovydasz

    Just install Teamviewer (https://www.teamviewer.com/ on PC with Mango. Teamviewer lets you to connect to PC remotely to see computers display and to control it as you be in front of it. Then customer should install the same on his home PC. Then customer could connect to PC with Mango from home PC. I think it's the easiest solution for you.

    Good luck!

    posted in User help read more
  • D
    dovydasz

    Hello,

    I'm trying to make different permission groups to separate datapoints and dashboards for different users.
    So now I created a user 'test' with permissions group 'user1', Added some datapoints for this group and edited my dashboard page "apzvalgine" to "Permissions required: user, user1" in Edit menu items window.
    Administration ->System settings -> Permissions: edited all fields with 'user' to 'user,user1', so the same settings for both groups.

    But after I login with this user 'test' I'm redirected to blank webpage with url:

    http://192.168.0.21/ui/not-found?path=%2Fui%2Fapzvalgine
    
    firefox console shows:
    https://pastebin.com/9cYPvsKb
    

    But if I go to http://192.168.0.21/point_details.shtm I can see all datapoints I gave for this usergroup.

    I think I'm missing some settings for MangoUI to be set..?

    Dovydas

    posted in User help read more
  • D
    dovydasz

    Thank you! It's working now :)

    posted in User help read more
  • D
    dovydasz

    Hello,

    I'm trying to make access to mango via Apache reverse proxy installed on the same machine, and after that I will try to use Let's Encrypt certificate.

    Now my apache .conf looks like:

    <VirtualHost *:80>
    
    RewriteEngine On
    RewriteCond %{HTTP:Connection} Upgrade [NC]
    RewriteCond %{HTTP:Upgrade} websocket [NC]
    RewriteRule /(.*) ws://127.0.0.1:8080/$1 [P,L]
    
    ProxyRequests off
    <Location />
        ProxyPass http://127.0.0.1:8080/
        ProxyPassReverse /
    </Location>
    
    </VirtualHost>
    

    Actually with this setup I can open Mango webpage, can see datapoints, but some my points are pictures (datasource: HTTP Images) which aren't loaded.

    Failed to load resource: net::ERR_CONNECTION_REFUSED
    http://127.0.0.1:8080/imageValue/1516192015304_110.jpg
    

    As you see they still have localhost address..

    Can you help me with this setup?

    posted in User help read more
  • D
    dovydasz

    Hello,

    I'm trying to make a copy of all Data Source (SNMP) with Data points inside but get an error:

    PreparedStatementCallback; SQL [INSERT INTO eventDetectors (xid,sourceTypeName,typeName,data,dataPointId) VALUES (?,?,?,?,?)]; Unique index or primary key violation: "EVENTDETECTORSUN1_INDEX_D ON PUBLIC.EVENTDETECTORS(XID) VALUES ( /* 83 */ CAST('ED_36ee074e-96d4-4fa2-a7ab-581e45afd47d_43' AS VARCHAR_IGNORECASE) )"; SQL statement:
    INSERT INTO eventDetectors (xid,sourceTypeName,typeName,data,dataPointId) VALUES (?,?,?,?,?) [23505-181]; nested exception is org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "EVENTDETECTORSUN1_INDEX_D ON PUBLIC.EVENTDETECTORS(XID) VALUES ( /* 83 */ CAST('ED_36ee074e-96d4-4fa2-a7ab-581e45afd47d_43' AS VARCHAR_IGNORECASE) )"; SQL statement:
    INSERT INTO eventDetectors (xid,sourceTypeName,typeName,data,dataPointId) VALUES (?,?,?,?,?) [23505-181]
    

    If I remove Event Detectors from Data Points then I can make a copy.
    If I'm copying just Data point with Event Detector then Mango makes a copy but without Event Detector configured..

    posted in User help read more
  • D
    dovydasz

    Hello,

    how can I uppercase letters?
    Now I have:

    <ma-now update-interval="1 SECONDS" output="time"></ma-now>
    
    <div >{{time|maMoment: 'format':'MMMM Do, dddd'}}</div>
    // sausio 12-oji, penktadienis
    <div >{{time|maMoment: 'format':'dddd'}}</div>
    // penktadienis
    

    All letters are lowercase always...

    Locale on OS is set to Lithuania:
    [mango@Mango ~]$ localectl status
    System Locale: LANG=lt_LT.utf8
    VC Keymap: us
    X11 Layout: us

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • D
    dovydasz

    I think I found that it's a Firefox issue..
    I can see events list with Chrome browser (for both user and superadmin), and with MS Edge, but it's not working on Firefox ESR 52.5.2 (32-bit) for Windows. So it's not related to user permissions.
    And I checked on Firefox 57.0.1 (64-bit) for Ubuntu - it's working as well.

    posted in User help read more
  • D
    dovydasz

    Hello,

    Only superuser can see events. Any other user see:
    {{$pagination.min()}} - {{$pagination.max()}} {{$pagination.label.of}} {{$pagination.total}}

    I think I did something wrong with permissions but can't find what.. :(

    0_1515502164187_events list.jpg

    posted in User help read more
  • D
    dovydasz

    Hello,
    I have SNMP v1 Data source with settings:
    Read community: public
    Write community: private

    So then I try to set a value, mango always sends "community: public" instead of "private" (checked with wireshark). What I'm doing wrong? Device replays with "authenticationFailure" but it works if I set-request with community:private (checked).

    Regards,
    Dovydas

    posted in User help read more

Looks like your connection to Mango Automation Forum was lost, please wait while we try to reconnect.