• 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

    New installation strange errors

    User help
    4
    24
    7.0k
    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.
    • danD
      dan
      last edited by

      Hi Guys, have installed a fresh installation of Mango on an Ubuntu box, and I'm getting some strange errors in the Java console...

      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/form/Form.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/_base.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/WidgetSet.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/_base/focus.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/selection.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/_base/place.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/_base/popup.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/_base/scroll.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/_base/sniff.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/_base/typematic.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/typematic.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/TooltipDialog.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/_base/wai.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/_base/window.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dojo/fx/Toggler.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/form/DropDownButton.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      DevTools failed to load SourceMap: Could not load content for http://10.40.0.200:8080/resources/dijit/form/ComboButton.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
      

      Would this be related to Java version? Or something missing from the installation? Or maybe permissions?

      ~$ java --version
      openjdk 14.0.2 2020-07-14
      OpenJDK Runtime Environment (build 14.0.2+12-Ubuntu-120.04)
      OpenJDK 64-Bit Server VM (build 14.0.2+12-Ubuntu-120.04, mixed mode, sharing)
      
      

      Cheers
      Dan

      cwangvC 1 Reply Last reply Reply Quote 0
      • cwangvC
        cwangv @dan
        last edited by

        @dan
        have you tried installing it using the mango script? I assume the Java is the one that Mango wants. I find it much easier using the script.

        1 Reply Last reply Reply Quote 0
        • danD
          dan
          last edited by

          I think I used the script on this one, sorry can't recall.
          It seems to be a path issue, it's like it can't find the resources folder?

          cwangvC 1 Reply Last reply Reply Quote 0
          • cwangvC
            cwangv @dan
            last edited by

            @dan
            My suggestion will be to follow the instructions down to the 'T' with the same user name as mentioned on their website. I am not that experienced with linux that is how I have done it.

            1 Reply Last reply Reply Quote 0
            • danD
              dan
              last edited by

              Yep all good, I think I did that.
              Thanks

              1 Reply Last reply Reply Quote 0
              • cwangvC
                cwangv
                last edited by

                here is my jdk. I wonder why your is newer version but with older date

                openjdk version "11.0.9.1" 2020-11-04
                OpenJDK Runtime Environment (build 11.0.9.1+1-post-Debian-1deb10u2)
                OpenJDK 64-Bit Server VM (build 11.0.9.1+1-post-Debian-1deb10u2, mixed mode, sharing)

                1 Reply Last reply Reply Quote 0
                • danD
                  dan
                  last edited by

                  Interesting, might be the date it was installed maybe.
                  I might try another version.

                  1 Reply Last reply Reply Quote 0
                  • MattFoxM
                    MattFox
                    last edited by

                    I use version 14, I advise doing a manual install also.

                    Fox

                    Do not follow where the path may lead; go instead where there is no path.
                    And leave a trail - Muriel Strode

                    1 Reply Last reply Reply Quote 0
                    • danD
                      dan
                      last edited by

                      Hey Matt, I am back running latest openjdk 14.0.2 2020-07-14.
                      I went back to my notes from the install and it looks like I installed manually, I'll try reinstalling I think.

                      Cheers

                      1 Reply Last reply Reply Quote 0
                      • MattFoxM
                        MattFox
                        last edited by MattFox

                        Before you do, echo $JAVA_HOME and the like

                        Do not follow where the path may lead; go instead where there is no path.
                        And leave a trail - Muriel Strode

                        1 Reply Last reply Reply Quote 0
                        • danD
                          dan
                          last edited by

                          root@water:/opt# echo $JAVA_HOME
                          /usr/bin
                          root@water:/opt# /usr/bin/java --version
                          openjdk 14.0.2 2020-07-14
                          OpenJDK Runtime Environment (build 14.0.2+12-Ubuntu-120.04)
                          OpenJDK 64-Bit Server VM (build 14.0.2+12-Ubuntu-120.04, mixed mode, sharing)
                          root@water:/opt# echo $MA_HOME
                          /opt/mango
                          root@water:/opt#
                          
                          
                          1 Reply Last reply Reply Quote 0
                          • MattFoxM
                            MattFox
                            last edited by

                            Yep, looks like mango error. Definitely try a reinstall. May pay to check filesystem permissions on your mango directory also..

                            Good Luck Dan

                            Fox

                            Do not follow where the path may lead; go instead where there is no path.
                            And leave a trail - Muriel Strode

                            1 Reply Last reply Reply Quote 0
                            • danD
                              dan
                              last edited by

                              Yeh tried that ;)
                              Weird.
                              /opt/mango is all owned by mango:mango

                              1 Reply Last reply Reply Quote 0
                              • MattFoxM
                                MattFox
                                last edited by MattFox

                                You did a sudo chown mango:mango /opt/mango -R ?
                                Since that issue looks like a read error to me..

                                Best ensure files are all chmod 644 as well.. with the exception of the scripts in the bin folder..

                                Sorry thats all that comes to mind at this time

                                Fox

                                Do not follow where the path may lead; go instead where there is no path.
                                And leave a trail - Muriel Strode

                                1 Reply Last reply Reply Quote 0
                                • danD
                                  dan
                                  last edited by

                                  Yeh pretty much...

                                  chown -R mango:mango /opt/mango
                                  

                                  Obviously does the same thing :P

                                  1 Reply Last reply Reply Quote 0
                                  • MattFoxM
                                    MattFox
                                    last edited by

                                    Yep, sorry running on fumes tonight, thats the best I have got.

                                    Fox

                                    Do not follow where the path may lead; go instead where there is no path.
                                    And leave a trail - Muriel Strode

                                    1 Reply Last reply Reply Quote 0
                                    • danD
                                      dan
                                      last edited by

                                      Haha all good mate, thanks for that. I'll see what else I can pick up outta the logs.

                                      Cheers

                                      1 Reply Last reply Reply Quote 0
                                      • CraigWebC
                                        CraigWeb
                                        last edited by CraigWeb

                                        @dan said in New installation strange errors:

                                        /dijit/form/Form.js.map

                                        What version of mango is this?
                                        Can you have a look in your /opt/mango/web/resources folder if all the permissions are good there and if the directory has any content?

                                        1 Reply Last reply Reply Quote 0
                                        • danD
                                          dan
                                          last edited by

                                          Hi Craig, it's version 3.7.7 straight off the store.

                                          dijit directory has 428 files

                                          root@water:/opt/mango/web/resources/dijit# ls -la
                                          total 428
                                          drwxr-xr-x 12 mango mango  4096 Jan 27 17:02 .
                                          drwxr-xr-x 30 mango mango  4096 Jan 27 17:02 ..
                                          -rw-r--r--  1 mango mango  1554 Jan 27 17:02 BackgroundIframe.js
                                          -rw-r--r--  1 mango mango  4230 Jan 27 17:02 Calendar.js
                                          -rw-r--r--  1 mango mango  9146 Jan 27 17:02 CalendarLite.js
                                          -rw-r--r--  1 mango mango  1581 Jan 27 17:02 CheckedMenuItem.js
                                          .......
                                          

                                          All files are owned by mango
                                          'mango' seems to be running mango process...

                                          root@water:/opt/mango/web/resources/dijit# ps -aux |grep mango
                                          mango       6354  1.5  4.3 8058288 700864 ?      Sl   Apr16  13:44 java -server -Dma.home=/opt/mango com.serotonin.m2m2.Main
                                          

                                          I've never had this issue before on a clean install, it's very odd.

                                          1 Reply Last reply Reply Quote 0
                                          • danD
                                            dan
                                            last edited by

                                            I think I've found the issue.

                                            I went to the new GUI and it suggested there were updates to be installed, and it listed a heap of the standard modules, So I selected them for install and after restarting it all looked normal again.

                                            Very strange.

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