New installation strange errors
-
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 -
@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. -
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? -
@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. -
Yep all good, I think I did that.
Thanks -
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) -
Interesting, might be the date it was installed maybe.
I might try another version. -
I use version 14, I advise doing a manual install also.
Fox
-
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
-
Before you do, echo $JAVA_HOME and the like
-
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#
-
Yep, looks like mango error. Definitely try a reinstall. May pay to check filesystem permissions on your mango directory also..
Good Luck Dan
Fox
-
Yeh tried that ;)
Weird.
/opt/mango is all owned by mango:mango -
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
-
Yeh pretty much...
chown -R mango:mango /opt/mango
Obviously does the same thing :P
-
Yep, sorry running on fumes tonight, thats the best I have got.
Fox
-
Haha all good mate, thanks for that. I'll see what else I can pick up outta the logs.
Cheers
-
@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? -
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.
-
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.