• Recent
    • Tags
    • Popular
    • Register
    • Login

    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

    Modules & data missing after upgrade to 2.1.3

    User help
    2
    13
    5.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lesdotcom
      last edited by

      Thanks Joel, I replaced all the modules with the ones from the zip file on the link you provided and deleted the two files per the upgrade procedure. The only module I didn't see in the zip file was the ASCII module. The others are all loading but I still don't see any of my data.

      1 Reply Last reply Reply Quote 0
      • JoelHaggarJ
        JoelHaggar
        last edited by

        I think the problems is that the ASCII file reader data source that you are using is not supported in the new version of Mango and has been replaced with this one: http://store.infiniteautomation.com/module/asciiFile

        You need to start up Mango with your old configuration and delete your ASCII file reader data sources and data points (hopefully not too many of them). Once you do that you should be able to do the upgrade and see all your data. Then you can load in the new module and recreate the data points.

        Thanks,
        Joel.

        1 Reply Last reply Reply Quote 0
        • L
          lesdotcom
          last edited by

          I added the new ASCII module and it loaded ok. I don't think I had any data points added to the ASCII module yet with the old configuration. Most of my data points were in the HTTP data source. It seams to have lost association with my database after the upgrade as there are no data sources listed (like its a new installation). I still see the madb & derby folders, how do I re-associate the upgraded version with my database?

          1 Reply Last reply Reply Quote 0
          • JoelHaggarJ
            JoelHaggar
            last edited by

            In the \classes\env.properties file you will see the database settings. If you move this into \overrides\properties it persist across future updates.

            1 Reply Last reply Reply Quote 0
            • L
              lesdotcom
              last edited by

              Apparently in 2.1.3 it is looking for the database in the derby folder instead of the madb folder even though env.properties specifies /madb as the path. The only way I could get it to work was to rename my madb database folder to derby. Is this a bug?

              1 Reply Last reply Reply Quote 0
              • JoelHaggarJ
                JoelHaggar
                last edited by

                On a quick look, this does look like a bug. I'll have this looked at tomorrow. Thanks,

                Joel.

                1 Reply Last reply Reply Quote 0
                • JoelHaggarJ
                  JoelHaggar
                  last edited by

                  On second look can you check your env.properties file and make sure that these lines are not commented out:

                  db.type=derby
                  db.url=${ma.home}/madb
                  db.username=
                  db.password=
                  

                  If these are commented with a "#" it will default to the name derby.

                  1 Reply Last reply Reply Quote 0
                  • L
                    lesdotcom
                    last edited by

                    Yes, I see now they are commented out. So I just needed to uncomment all four lines?

                    1 Reply Last reply Reply Quote 0
                    • JoelHaggarJ
                      JoelHaggar
                      last edited by

                      Yes, if you uncomment them it will go back to using madb as the name of your database. 2.1.3 is still under development and I guess the env file was changed for some testing we were doing. I just updated it with so it won't be a problem for others. Thanks.

                      1 Reply Last reply Reply Quote 0
                      • L
                        lesdotcom
                        last edited by

                        OK, glad to see my data was still there. Thanks for the help!

                        Les

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post