Hi,
I am trying to migrate Mango over to cloud server.
I get the error shown below when loading up Mango which I think its something to do with the server setup.
My current setup status is: I have setup Java at location /usr/java/jdk1.8.0_201-amd64 and I have been unable to get the JAVA_HOME system variable to register in /etc/environment even though I have added JAVA_HOME=/usr/java/jdk1.8.0_201-amd64 to this file. That is when I echo $JAVA_HOME it displays blank.
Any advice would be appreciated?
I am trying to get the website to display the usual Mango login screen so I guess I need the new URL to be something like <DOMAIN>:8080/ui/login . Any guides on setting this up? Thanks
ERROR 2019-03-22T10:06:36,569 (com.serotonin.m2m2.rt.maint.UpgradeCheck.run:66) - store.infiniteautomation.com: Name or service not known
java.net.UnknownHostException: store.infiniteautomation.com: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:1.8.0_201]
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929) ~[?:1.8.0_201]
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324) ~[?:1.8.0_201]
at java.net.InetAddress.getAllByName0(InetAddress.java:1277) ~[?:1.8.0_201]
at java.net.InetAddress.getAllByName(InetAddress.java:1193) ~[?:1.8.0_201]
at java.net.InetAddress.getAllByName(InetAddress.java:1127) ~[?:1.8.0_201]
at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) ~[httpclient-4.5.5.jar:4.5.5]
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112) ~[httpclient-4.5.5.jar:4.5.5]
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373) ~[httpclient-4.5.5.jar:4.5.5]
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381) ~[httpclient-4.5.5.jar:4.5.5]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) ~[httpclient-4.5.5.jar:4.5.5]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) ~[httpclient-4.5.5.jar:4.5.5]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.5.jar:4.5.5]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) ~[httpclient-4.5.5.jar:4.5.5]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.5.jar:4.5.5]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.5.jar:4.5.5]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) ~[httpclient-4.5.5.jar:4.5.5]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.5.jar:4.5.5]
at com.serotonin.web.http.HttpUtils4.executeWithRetries(HttpUtils4.java:174) ~[mango-3.5.6.jar:?]
at com.serotonin.web.http.HttpUtils4.getTextContent(HttpUtils4.java:132) ~[mango-3.5.6.jar:?]
at com.serotonin.m2m2.web.dwr.ModulesDwr.getAvailableUpgrades(ModulesDwr.java:382) ~[mango-3.5.6.jar:?]
at com.serotonin.m2m2.web.dwr.ModulesDwr.upgradesAvailable(ModulesDwr.java:291) ~[mango-3.5.6.jar:?]
at com.serotonin.m2m2.rt.maint.UpgradeCheck.run(UpgradeCheck.java:54) ~[mango-3.5.6.jar:?]
at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.5.6.jar:?]
at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.5.6.jar:?]
at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:336) ~[mango-3.5.6.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_201]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_201]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]