help updating 2.5.2 build 6 error
-
updating 2.5.2 build 6
-
@jamesdlane said in help updating 2.5.2 build 6 error:
updating 2.5.2 build 6
when I attempt to uprade my 2.5.2 build 6 I get the following error message:
"Your instance cannot be upgraded due to a versioning problem: store.infiniteautomation.com: unknown error". what do I need to do to upgrade? -
Hi James,
A lot of the time this reflects a DNS problem. You should check your Mango/logs/ma.log file to see if an UnknownHostException is being printed to the console. If so, you'll need to fix your networks' DNS
In later versions this will report the DNS problem directly to the modules page.
-
phildunlap. I don't an entry for the DNS Server. My router that services the MangoES has a static provided by my IP. Would I use that static address as the DNS Server entry in the Mango System Settings Network Configuration Settings?
-
Here's the error log: ERROR 2017-04-10 05:58:14,254 (com.serotonin.m2m2.rt.maint.UpgradeCheck.run:54) - java.net.UnknownHostException: store.infiniteautomation.com: unknown error
ERROR 2017-04-10 09:58:14,254 (com.serotonin.m2m2.rt.maint.UpgradeCheck.run:54) - java.net.UnknownHostException: store.infiniteautomation.com: unknown error
ERROR 2017-04-10 13:08:24,049 (com.serotonin.m2m2.web.dwr.ModulesDwr.versionCheck:122) - java.net.UnknownHostException: store.infiniteautomation.com: unknown error at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:907) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1302) at java.net.InetAddress.getAllByName0(InetAddress.java:1255) at java.net.InetAddress.getAllByName(InetAddress.java:1171) at java.net.InetAddress.getAllByName(InetAddress.java:1105) at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:44) at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:102) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:85) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) at com.serotonin.web.http.HttpUtils4.executeWithRetries(HttpUtils4.java:174) at com.serotonin.web.http.HttpUtils4.getTextContent(HttpUtils4.java:132) at com.serotonin.m2m2.web.dwr.ModulesDwr.getAvailableUpgrades(ModulesDwr.java:239) at com.serotonin.m2m2.web.dwr.ModulesDwr.versionCheck(ModulesDwr.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34) at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) at com.serotonin.m2m2.web.dwr.util.TranslationsFilter.doFilter(TranslationsFilter.java:37) at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) at com.serotonin.m2m2.web.dwr.util.ExceptionDetectionFilter.doFilter(ExceptionDetectionFilter.java:26) at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) at com.serotonin.m2m2.web.dwr.util.DwrPermissionFilter.doFilter(DwrPermissionFilter.java:38) at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431) at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283) at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52) at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101) at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667) at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83) at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:300) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:485) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:290) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:606) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:535) at java.lang.Thread.run(Thread.java:745) -
Hi James,
Yes you could try doing it through the ES Configuration settings. A colleague mentioned your may have an older ES that has an issue setting DNS from the system settings page, so if it doesn't work you can try updating the ES Configuration module and trying again, or you can edit /etc/resolv.conf to be the line:
nameserver 192.168.1.1
where your router IP is 192.168.1.1.
-
@phildunlap Hi, my router address internally is 192.168.1.249. Is that what I should use as opposed to the 192.168.1.1 in your reply? I can PM or text you my static IP of the router that would give you access to the MangoES if that helps. I don't want to broadcast that publicly yet.
-
Yes if that's the gateway for your network. Sorry to recommend updating... seems like you probably can't at the moment :D.
You can find the gateway for your network on windows by typing 'ipconfig' into a command prompt (there will be a line "Default gateway" for the adapter on your computer, if it's the same network.
If you need to edit /etc/resolv.conf, you can log in over webmin using HTTPS at port 10000 (https://localip:10000) or you can do SSH
ssh -p 2222 mango@localip "echo 'nameserver 192.168.1.249' > /etc/resolv.conf"
for putty:
putty -P 2222 mango@localip "echo 'nameserver 192.168.1.249' > /etc/resolv.conf"
or if necessary you can email support@infiniteautomation.com and we can set up a screenshare.