• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. dovydasz

    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
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 10
    • Posts 20
    • Best 0
    • Controversial 0
    • Groups 0

    dovydasz

    @dovydasz

    0
    Reputation
    688
    Profile views
    20
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    dovydasz Unfollow Follow

    Latest posts made by dovydasz

    • No authentication set in security context

      Hello,
      How can I know what permissions I'm missing in my case? Mango v5 starts and almost immediately starts printing errors: "Authentication not set in security context".
      My configuration is imported from a Mango v3 backup, than I set up tags to use with the pi-portfolio subsystem and configured sites. Otherwise I don't notice any more problems, users can see the data..

      INFO  2025-01-24T11:17:18,897 (com.serotonin.m2m2.Main.createLifecycle:290) - Starting Mango 5.3.0 with Schema Version: 52
      INFO  2025-01-24T11:17:18,897 (com.serotonin.m2m2.Main.createLifecycle:294) - Java VM: OpenJDK 64-Bit Server VM, version: 17.0.13+11-Debian-2deb12u1, vendor: Debian
      INFO  2025-01-24T11:17:18,897 (com.serotonin.m2m2.Main.createLifecycle:295) - Java spec: Java Virtual Machine Specification, version: 17, vendor: Oracle Corporation
      INFO  2025-01-24T11:17:18,897 (com.serotonin.m2m2.Main.createLifecycle:301) - Operating System: Linux, arch: amd64, version: 6.1.0-28-amd64
      INFO  2025-01-24T11:17:18,897 (com.serotonin.m2m2.Main.createLifecycle:307) - Running as user account: mango
      INFO  2025-01-24T11:17:18,897 (com.serotonin.m2m2.Main.createLifecycle:310) - Installation directory: /opt/mango
      INFO  2025-01-24T11:17:18,898 (com.serotonin.m2m2.Main.createLifecycle:311) - Data directory: /opt/mango
      INFO  2025-01-24T11:17:18,898 (com.serotonin.m2m2.Main.createLifecycle:312) - Configuration file: /opt/mango/mango.properties
      
      ERROR 2025-01-24T11:17:46,021 (org.snmp4j.log.Log4jLogAdapter.error:68) - com.serotonin.m2m2.vo.permission.PermissionException: No authentication set in security context
      ERROR 2025-01-24T11:20:33,028 (org.snmp4j.log.Log4jLogAdapter.error:68) - com.serotonin.m2m2.vo.permission.PermissionException: No authentication set in security context
      ERROR 2025-01-24T11:21:08,942 (org.snmp4j.log.Log4jLogAdapter.error:68) - com.serotonin.m2m2.vo.permission.PermissionException: No authentication set in security context
      
      posted in User help
      D
      dovydasz
    • RE: Pi Portfolio creating

      I still can't get it working.. Could you please share some screenshots how you configured it? Do I need to you some specific values for datapoints tags keys?

      posted in User help
      D
      dovydasz
    • RE: New Feature Request: Expansion of "Discard Extreme Values" feature with a "Discard if Delta > X" argument.

      @mattfox said in New Feature Request: Expansion of "Discard Extreme Values" feature with a "Discard if Delta > X" argument.:

      just have another idea... use an event that fires on update and deletes the latest value if it's greater than n size of your previous value... it'd be no different than infinite coding the exact same behavi

      I have a very similar situation as Turbo. Could you please help with an example how to create an event which fires some script for deleting the last value?

      posted in Mango feedback
      D
      dovydasz
    • Grey out data points if no connection

      Hello,
      Could you suggest how to grey out or change a color of data points in dashboards and watch lists when there is no connection with data source?

      Dovydas

      posted in Dashboard Designer & Custom AngularJS Pages
      D
      dovydasz
    • RE: Accessing remote running mango on Internet and mobile.

      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
      D
      dovydasz
    • permission groups

      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
      D
      dovydasz
    • RE: apache2 reverse proxy setup

      Thank you! It's working now :)

      posted in User help
      D
      dovydasz
    • apache2 reverse proxy setup

      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
      D
      dovydasz
    • Data Source Copy error

      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
      D
      dovydasz
    • RE: Displaying time and date in text form

      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
      D
      dovydasz