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.
M2M2 Help File Errors
-
I am receiving the following error with M2M2 Core version 1, I also get similar errors with other Help files. Thanks.
Document file not found: web/modules/watchlists/web/dox/watchList.htm
-
Thanks for the report. We found a few cases of this. Fixes will be in the next releases.
-
I am receiving the same error:
"Error Document file not found: web/WEB-INF/dox/scriptingDS.htm"
"Error Document file not found: web/WEB-INF/dox/metaDS.htm"
NONE of the help files are working. This is particularly a problem because I can't read the documentation to solve script errors due to unknown metadata script syntax changes in migrating from M2M 1.12.x to MA2.0.Mango Automation is installed in /opt/mango
Linux 3.2.0-35-generic x86_64
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise -
Can you try this with 2.0.3?
-
I just checked, and apparently I am using 2.0.3.
Joel Haggar suggested I add 'cd ${PRGDIR}' below line 13 in the ma-start.sh file. Now it works. He said 'this will be included in all new releases of Mango'
$ **cat /opt/mango/ma-start.sh
**```
#!/bin/shCopyright (C) 2006-2011 Serotonin Software Technologies Inc. All rights reserved.
@author Matthew Lohbihler
Runs Mango Automation.
Get standard environment variables
PRGDIR=
dirname "$0"
#log output
exec >${PRGDIR}/logs/ma.out 2>${PRGDIR}/logs/ma.err
cd ${PRGDIR}Only set MA_HOME if not already set
[ -z "$MA_HOME" ] && MA_HOME=
cd "$PRGDIR" >/dev/null; pwd
if [ ! -r "$MA_HOME"/ma-start.sh ]; then
echo The MA_HOME environment variable is not defined correctly
echo This environment variable is needed to run this program
exit 1
fiUncomment the following line to start with the debugger
JPDA=-agentlib:jdwp=transport=dt_socket,address=8090,server=y,suspend=y
MA_CP=$MA_HOME/overrides/classes
MA_CP=$MA_CP:$MA_HOME/classes
MA_CP=$MA_CP:$MA_HOME/overrides/properties
for f in $MA_HOME/lib/*.jar
do
MA_CP=$MA_CP:$f
doneif [ -z "$JAVA_HOME" ]; then
EXECJAVA=java
else
EXECJAVA=$JAVA_HOME/bin/java
fiLOOP_EXIT=false
while [ $LOOP_EXIT = false ]; do
$EXECJAVA $JPDA -server -cp $MA_CP
-Dma.home=$MA_HOME
-Djava.library.path=$MA/lib:$PATH
com.serotonin.m2m2.Mainif [ ! -r "$MA_HOME"/RESTART ]; then LOOP_EXIT=true fi
done