• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Jdiaz-co
    3. Topics

    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 4 Documentation Website Mango 5 Documentation Website Radix IoT LinkedIn
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 14
    • Groups 0

    Topics

    • Jdiaz-coJ

      Timeout to lock table systemsettings

      Watching Ignoring Scheduled Pinned Locked Moved Mango General
      2
      0 Votes
      2 Posts
      107 Views
      joeamiragliaJ
      @Jdiaz-co said in Timeout to lock table systemsettings: hello good, I'm having a problem. I'm using Mango 3.7.7 and the application crashes every so often. The error I'm getting is this: ERROR 2025-10-27T08:26:50,187 (com.serotonin.m2m2.util.timeout.TimeoutTask.run:61) - Uncaught Task Exception org.springframework.dao.CannotAcquireLockException: PreparedStatementCallback; SQL [select settingValue from systemSettings where settingName=?]; Tiempo vencido intentando trabar (lock) la tabla "SYSTEMSETTINGS" Timeout trying to lock table "SYSTEMSETTINGS"; SQL statement: select settingValue from systemSettings where settingName=? [50200-199]; nested exception is org.h2.jdbc.JdbcSQLTimeoutException: Tiempo vencido intentando trabar (lock) la tabla "SYSTEMSETTINGS" I would appreciate any help. thank you Hello, This error comes from the embedded H2 database: something is holding a lock on the SYSTEMSETTINGS table too long, so reads (like select settingValue from systemSettings…) time out and throw CannotAcquireLockException. Common causes: Another process/tool (H2 console, external SQL client) connected to the same H2 DB while Mango is running. Long-running DB operations (backups, purges, heavy writes) that keep the table locked. Short default H2 LOCK_TIMEOUT (1s) causing normal contention to show up as errors. Things to try: Make sure only Mango is connected to the H2 DB (no external tools while it’s running). Increase H2 lock timeout in env.properties/mango.properties, e.g. db.url=jdbc:h2:${ma.home}/databases/mah2;LOCK_TIMEOUT=10000 Check logs around the crash time for other FATAL/DB errors that might be the real shutdown cause. If this is a production system (not just a test setup), I strongly recommend: Migrating from H2 to MySQL (more robust under load and concurrency). Upgrading Mango to a more recent supported version if possible, to benefit from DB and stability fixes.
    • Jdiaz-coJ

      Mango v5.1.4 SSL

      Watching Ignoring Scheduled Pinned Locked Moved Mango Automation Installation
      2
      0 Votes
      2 Posts
      4k Views
      Jared WiltshireJ
      @Jdiaz-co I just reproduced this, this is a bug and we will fix it in the next release. Can I ask why you want to disable SSL? You should be able to access the HTTP port on 8080 even if SSL is enabled. If you are having trouble accessing Mango on port 8080, try disabling HSTS using ssl.hsts.enabled=false and clear your browser cache. HSTS tells your web browser to only ever use HTTPS for that website. https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security
    • Jdiaz-coJ

      apiv3

      Watching Ignoring Scheduled Pinned Locked Moved Mango Automation general Discussion
      11
      0 Votes
      11 Posts
      9k Views
      Jdiaz-coJ
      @MattFox thanks for your help, ISO formatted It has worked correctly with the ISO timestamp format.
    • Jdiaz-coJ

      Docker and Mango v5.0.2

      Watching Ignoring Scheduled Pinned Locked Moved Mango Automation Installation
      11
      0 Votes
      11 Posts
      9k Views
      M
      @MattFox When I execute your command, a container is created, but without Mango being installed. Since my knowledge is too limited, I'm going to install mango in a windows environment. Still, thank you for your efforts!
    • Jdiaz-coJ

      Mango crash after nightly purge

      Watching Ignoring Scheduled Pinned Locked Moved Mango Automation general Discussion
      2
      0 Votes
      2 Posts
      5k Views
      terrypackerT
      @jdiaz-co What version of Mango? What is in the log file around this time?