Platform not running after upgrade from 3.9 to 3.10

victory8 years ago

Hi Anton,
I installed the new traccar version by following this steps

  1. wget https://github.com/tananaev/traccar/releases/download/v3.10/traccar-linux-3.10.zip
  2. unzip traccar-linux-3.10.zip
  3. sudo ./traccar.run
  4. sudo /opt/traccar/bin/startDaemon.sh

And this is the response from the last command.

************* STARTING traccar ***********************

Service traccar started

Feb 16, 2017 8:31:53 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /var/run/wrapper.traccar.pid
Feb 16, 2017 8:31:54 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /var/run/wrapper.traccar.pid
Feb 16, 2017 8:31:54 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /var/run/wrapper.traccar.pid
Service traccar started

But the tracking platform does not come up, if I reinstalled the previous version 3.9, the tracking platform would start working again

Please help me out, what am I not doing right?

Anton Tananaev8 years ago

Check logs.

victory8 years ago

Hi,
The are logs I checked

[root@v650 ~]# cat /opt/traccar/logs/tracker-server.log
2017-02-17 01:02:06  INFO: [2F5DEFA9] connected
2017-02-17 01:02:06 DEBUG: [2F5DEFA9: 5001 < 91.211.3.10] HEX: 0300002a25e00000000000436f6f6b69653a206d737473686173683d546573740d0a0100080003000000
2017-02-17 01:02:21 DEBUG: [2F5DEFA9: 5001 < 91.211.3.10] HEX: 0300002502f08064000003eb70801616001700e9030000000000010800240000000100ea03
2017-02-17 01:02:21 DEBUG: [2F5DEFA9: 5001 < 91.211.3.10] HEX: 0300000902f0802003
2017-02-17 01:02:21  INFO: [2F5DEFA9] disconnected
2017-02-17 01:02:21  INFO: [93DA3A89] connected
2017-02-17 01:02:21 DEBUG: [93DA3A89: 5001 < 91.211.3.10] HEX: 0300002a25e00000000000436f6f6b69653a206d737473686173683d546573740d0a0100080003000000
2017-02-17 01:02:37 DEBUG: [93DA3A89: 5001 < 91.211.3.10] HEX: 0300002502f08064000003eb70801616001700e9030000000000010800240000000100ea030300000902f0802003
2017-02-17 01:02:37  INFO: [93DA3A89] disconnected
2017-02-17 09:56:22  INFO: Shutting down server...
2017-02-17 09:58:50  INFO: Operating system name: Linux version: 2.6.32-642.6.1.el6.x86_64 architecture: amd64
2017-02-17 09:58:50  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 25.121-b13
2017-02-17 09:58:50  INFO: Memory limit heap: 121mb non-heap: 0mb
2017-02-17 09:58:50  INFO: Character encoding: UTF-8 charset: UTF-8
2017-02-17 09:58:50  INFO: Version: 3.10-SNAPSHOT
2017-02-17 10:26:28  INFO: Operating system name: Linux version: 2.6.32-642.6.1.el6.x86_64 architecture: amd64
2017-02-17 10:26:28  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 25.121-b13
2017-02-17 10:26:28  INFO: Memory limit heap: 121mb non-heap: 0mb
2017-02-17 10:26:28  INFO: Character encoding: UTF-8 charset: UTF-8
2017-02-17 10:26:28  INFO: Version: 3.9-SNAPSHOT
2017-02-17 10:26:42  INFO: Starting server...
2017-02-17 10:47:41  INFO: Shutting down server...
2017-02-17 10:48:43  INFO: Operating system name: Linux version: 2.6.32-642.6.1.el6.x86_64 architecture: amd64
2017-02-17 10:48:43  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 25.121-b13
2017-02-17 10:48:43  INFO: Memory limit heap: 121mb non-heap: 0mb
2017-02-17 10:48:43  INFO: Character encoding: UTF-8 charset: UTF-8
2017-02-17 10:48:43  INFO: Version: 3.10-SNAPSHOT

Thanks

Anton Tananaev8 years ago

You are looking at the wrong log file.

victory8 years ago

Hi,
Please assist me with the command to use. I'm not too good with vps, but I can learn fast with little assistance.

what is the command to check for log, PLEASE

Thanks

Anton Tananaev8 years ago

You should check wrapper log file.

victory8 years ago

Hi,
I don't know on how to check for wrapper log file. I have tried by to no avail. Please I need the command.

Thanks

victory8 years ago

Hi,
is this the command "cat/opt/traccar/logs/wrapper.log"? to get the wrapper log?
it does not work

Anton Tananaev8 years ago

It should be under "/opt/traccar/logs/". If you are unable to complete as basic task as opening a text file, it probably means that you shouldn't manage a server yourself.

victory8 years ago

Hi Anton,
Here is the wrapper log details

[root@v650 ~]# cat /opt/traccar/logs/wrapper.log.20170218
WARNING|wrapper|Service traccar|17-02-18 12:39:13|YAJSW: yajsw-stable-12.08
WARNING|wrapper|Service traccar|17-02-18 12:39:13|OS   : Linux/2.6.32-642.6.1.el6.x86_64/amd64
WARNING|wrapper|Service traccar|17-02-18 12:39:13|JVM  : Oracle Corporation/1.8.0_121//usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el6_8.x86_64/jre/64
INFO|wrapper|Service traccar|17-02-18 12:39:13|exec:"java" "-classpath" "/opt/traccar/wrapperApp.jar:/opt/traccar/tracker-server.jar:/opt/traccar/lib/log4j-1.2.17.jar:/opt/traccar/lib/joda-time-2.9.7.jar:/opt/traccar/lib/h2-1.4.193.jar:/opt/traccar/lib/mysql-connector-java-5.1.40.jar:/opt/traccar/lib/postgresql-9.4.1212.jre7.jar:/opt/traccar/lib/mssql-jdbc-6.1.0.jre7.jar:/opt/traccar/lib/HikariCP-java7-2.4.11.jar:/opt/traccar/lib/slf4j-api-1.7.21.jar:/opt/traccar/lib/netty-3.10.6.Final.jar:/opt/traccar/lib/async-http-client-1.9.40.jar:/opt/traccar/lib/slf4j-simple-1.7.22.jar:/opt/traccar/lib/javax.json-1.0.4.jar:/opt/traccar/lib/jetty-server-9.2.21.v20170120.jar:/opt/traccar/lib/javax.servlet-api-3.1.0.jar:/opt/traccar/lib/jetty-http-9.2.21.v20170120.jar:/opt/traccar/lib/jetty-io-9.2.21.v20170120.jar:/opt/traccar/lib/jetty-servlet-9.2.21.v20170120.jar:/opt/traccar/lib/jetty-security-9.2.21.v20170120.jar:/opt/traccar/lib/jetty-webapp-9.2.21.v20170120.jar:/opt/traccar/lib/jetty-xml-9.2.21.v20170120.jar:/opt/traccar/lib/jetty-jndi-9.2.21.v20170120.jar:/opt/traccar/lib/jetty-util-9.2.21.v20170120.jar:/opt/traccar/lib/websocket-server-9.2.21.v20170120.jar:/opt/traccar/lib/websocket-common-9.2.21.v20170120.jar:/opt/traccar/lib/websocket-api-9.2.21.v20170120.jar:/opt/traccar/lib/websocket-client-9.2.21.v20170120.jar:/opt/traccar/lib/websocket-servlet-9.2.21.v20170120.jar:/opt/traccar/lib/jersey-container-servlet-2.25.1.jar:/opt/traccar/lib/jersey-container-servlet-core-2.25.1.jar:/opt/traccar/lib/javax.inject-2.5.0-b32.jar:/opt/traccar/lib/jersey-common-2.25.1.jar:/opt/traccar/lib/javax.annotation-api-1.2.jar:/opt/traccar/lib/jersey-guava-2.25.1.jar:/opt/traccar/lib/hk2-api-2.5.0-b32.jar:/opt/traccar/lib/hk2-utils-2.5.0-b32.jar:/opt/traccar/lib/aopalliance-repackaged-2.5.0-b32.jar:/opt/traccar/lib/hk2-locator-2.5.0-b32.jar:/opt/traccar/lib/javassist-3.20.0-GA.jar:/opt/traccar/lib/osgi-resource-locator-1.0.1.jar:/opt/traccar/lib/jersey-server-2.25.1.jar:/opt/traccar/lib/jersey-client-2.25.1.jar:/opt/traccar/lib/jersey-media-jaxb-2.25.1.jar:/opt/traccar/lib/validation-api-1.1.0.Final.jar:/opt/traccar/lib/javax.ws.rs-api-2.0.1.jar:/opt/traccar/lib/jersey-media-json-jackson-2.25.1.jar:/opt/traccar/lib/jersey-entity-filtering-2.25.1.jar:/opt/traccar/lib/jackson-jaxrs-base-2.8.4.jar:/opt/traccar/lib/jackson-core-2.8.4.jar:/opt/traccar/lib/jackson-databind-2.8.4.jar:/opt/traccar/lib/jackson-jaxrs-json-provider-2.8.4.jar:/opt/traccar/lib/jackson-module-jaxb-annotations-2.8.4.jar:/opt/traccar/lib/jackson-annotations-2.8.4.jar:/opt/traccar/lib/liquibase-core-3.5.3.jar:/opt/traccar/lib/snakeyaml-1.17.jar:/opt/traccar/lib/mail-1.4.7.jar:/opt/traccar/lib/activation-1.1.jar:/opt/traccar/lib/jxls-2.3.0.jar:/opt/traccar/lib/commons-jexl-2.1.1.jar:/opt/traccar/lib/commons-logging-1.1.1.jar:/opt/traccar/lib/commons-beanutils-1.9.2.jar:/opt/traccar/lib/jcl-over-slf4j-1.7.12.jar:/opt/traccar/lib/logback-core-1.1.3.jar:/opt/traccar/lib/jxls-poi-1.0.11.jar:/opt/traccar/lib/poi-3.14.jar:/opt/traccar/lib/poi-ooxml-3.14.jar:/opt/traccar/lib/poi-ooxml-schemas-3.14.jar:/opt/traccar/lib/xmlbeans-2.6.0.jar:/opt/traccar/lib/stax-api-1.0.1.jar:/opt/traccar/lib/curvesapi-1.03.jar:/opt/traccar/lib/velocity-1.7.jar:/opt/traccar/lib/commons-collections-3.2.1.jar:/opt/traccar/lib/commons-lang-2.4.jar:/opt/traccar/lib/ical4j-2.0.0.jar:/opt/traccar/lib/commons-collections4-4.0.jar:/opt/traccar/lib/groovy-all-2.3.2.jar:/opt/traccar/lib/bndlib-2.3.0.jar:/opt/traccar/lib/org.osgi.core-4.3.1.jar:/opt/traccar/lib/commons-lang3-3.3.2.jar:/opt/traccar/lib/commons-codec-1.9.jar" "-Dfile.encoding=UTF-8" "-Xrs" "-Dwrapper.service=true" "-Dwrapper.console.visible=false" "-Dwrapper.port=15003" "-Dwrapper.key=-9011659553407336283" "-Dwrapper.teeName=-9011659553407336283$1487421552969" "-Dwrapper.tmp.path=/opt/traccar/tmp" "-Djna_tmpdir=/opt/traccar/tmp" "-Dwrapper.config=/opt/traccar/conf/wrapper.conf" "-Dwrapper.visible=false" "-Dwrapper.pidfile=/var/run/wrapper.traccar.pid" "org.rzo.yajsw.app.WrapperJVMMain"
INFO|wrapper|Service traccar|17-02-18 12:39:13|posix_spawn pid 22053
INFO|wrapper|Service traccar|17-02-18 12:39:13|started process 22053
INFO|wrapper|Service traccar|17-02-18 12:39:13|started process with pid 22053
INFO|22053/0|Service traccar|17-02-18 12:39:17|[INFO] StandardFileSystemManager - Using "/tmp/vfs_cache" as temporary files store.
[null - FINER] 17-02-18 12:39:19 THROW
Exception in org.rzo.yajsw.controller.jvm.JVMController: v650.29662.vpscontrol.net: v650.29662.vpscontrol.net: Name or service not known
  java.net.InetAddress.getLocalHost(InetAddress.java:1505)
  org.rzo.yajsw.controller.jvm.ControllerPipelineFactory.initChannel(ControllerPipelineFactory.java:91)
  org.rzo.yajsw.controller.jvm.ControllerPipelineFactory.initChannel(ControllerPipelineFactory.java:36)
  io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:68)
  io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:118)
  io.netty.channel.AbstractChannelHandlerContext.fireChannelRegistered(AbstractChannelHandlerContext.java:104)
  io.netty.channel.DefaultChannelPipeline.fireChannelRegistered(DefaultChannelPipeline.java:846)
  io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:453)
  io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:370)
  io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:420)
  io.netty.channel.ThreadPerChannelEventLoop.run(ThreadPerChannelEventLoop.java:52)
  io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
  java.lang.Thread.run(Thread.java:745)
  Caused by: v650.29662.vpscontrol.net: Name or service not known
    java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
    java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
    java.net.InetAddress.getLocalHost(InetAddress.java:1500)
    org.rzo.yajsw.controller.jvm.ControllerPipelineFactory.initChannel(ControllerPipelineFactory.java:91)
    org.rzo.yajsw.controller.jvm.ControllerPipelineFactory.initChannel(ControllerPipelineFactory.java:36)
    io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:68)
    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:118)
    io.netty.channel.AbstractChannelHandlerContext.fireChannelRegistered(AbstractChannelHandlerContext.java:104)
    io.netty.channel.DefaultChannelPipeline.fireChannelRegistered(DefaultChannelPipeline.java:846)
    io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:453)
    io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:370)
    io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:420)
    io.netty.channel.ThreadPerChannelEventLoop.run(ThreadPerChannelEventLoop.java:52)
    io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
    java.lang.Thread.run(Thread.java:745)
 INFO|22053/0|Service traccar|17-02-18 12:39:20|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
INFO|22053/0|Service traccar|17-02-18 12:39:21|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
INFO|22053/0|Service traccar|17-02-18 12:39:23|INFO 2/18/17 12:39 PM: liquibase: Clearing database change log checksums
INFO|22053/0|Service traccar|17-02-18 12:39:23|INFO 2/18/17 12:39 PM: liquibase: Successfully acquired change log lock
INFO|22053/0|Service traccar|17-02-18 12:39:23|INFO 2/18/17 12:39 PM: liquibase: Successfully released change log lock
INFO|22053/0|Service traccar|17-02-18 12:39:23|INFO 2/18/17 12:39 PM: liquibase: Successfully acquired change log lock
INFO|22053/0|Service traccar|17-02-18 12:39:29|INFO 2/18/17 12:39 PM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO|22053/0|Service traccar|17-02-18 12:39:29|INFO 2/18/17 12:39 PM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO|22053/0|Service traccar|17-02-18 12:39:29|INFO 2/18/17 12:39 PM: liquibase: Successfully released change log lock
INFO|22053/0|Service traccar|17-02-18 12:39:30|[main] INFO org.eclipse.jetty.util.log - Logging initialized @15296ms
INFO|22053/0|Service traccar|17-02-18 12:39:31|java.lang.reflect.InvocationTargetException
INFO|22053/0|Service traccar|17-02-18 12:39:31| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|22053/0|Service traccar|17-02-18 12:39:31| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO|22053/0|Service traccar|17-02-18 12:39:31| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO|22053/0|Service traccar|17-02-18 12:39:31| at java.lang.reflect.Method.invoke(Method.java:498)
INFO|22053/0|Service traccar|17-02-18 12:39:31| at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
INFO|22053/0|Service traccar|17-02-18 12:39:31| at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
INFO|22053/0|Service traccar|17-02-18 12:39:31|Caused by: java.net.UnknownHostException: v650.29662.vpscontrol.net: v650.29662.vpscontrol.net: Name or service not known
INFO|22053/0|Service traccar|17-02-18 12:39:31| at java.net.InetAddress.getLocalHost(InetAddress.java:1505)
INFO|22053/0|Service traccar|17-02-18 12:39:31| at org.traccar.Context.init(Context.java:294)
INFO|22053/0|Service traccar|17-02-18 12:39:31| at org.traccar.Main.main(Main.java:35)
INFO|22053/0|Service traccar|17-02-18 12:39:31| ... 6 more
INFO|22053/0|Service traccar|17-02-18 12:39:31|Caused by: java.net.UnknownHostException: v650.29662.vpscontrol.net: Name or service not known
INFO|22053/0|Service traccar|17-02-18 12:39:31| at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
INFO|22053/0|Service traccar|17-02-18 12:39:31| at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
INFO|22053/0|Service traccar|17-02-18 12:39:31| at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
INFO|22053/0|Service traccar|17-02-18 12:39:31| at java.net.InetAddress.getLocalHost(InetAddress.java:1500)
INFO|22053/0|Service traccar|17-02-18 12:39:31| ... 8 more
INFO|wrapper|Service traccar|17-02-18 12:39:31|waitpid 22053 59136
INFO|wrapper|Service traccar|17-02-18 12:39:31|exit code posix process: 59136 application: 0

Thanks

Anton Tananaev8 years ago

I have fixed the problem. The fix will be included in the next release.

In the meanwhile, as a workaround, you can put mapping for your host name "v650.29662.vpscontrol.net" into "/etc/hosts".

halshehri8 years ago

Hello Anton,

I have a similar problem. This is what I did:
1- Downloaded 3.10 --> unzip and install.
2- the server is working but on H2 db not my old one mysql.
3- update conf file to use mysql db but the server never came up.
4- I have tried to do fresh installation on a new server and everything was fine for fresh installation but I couldn't manage for the existing one. In which I have multiple trackers pointing to its public IP. Also, I have my history data stored there.

Here is the log:

WARNING|wrapper|Service traccar|17-02-25 13:02:30|YAJSW: yajsw-stable-12.08
WARNING|wrapper|Service traccar|17-02-25 13:02:30|OS   : Linux/4.4.0-64-generic/amd64
WARNING|wrapper|Service traccar|17-02-25 13:02:30|JVM  : Oracle Corporation/1.8.0_121//usr/lib/jvm/java-8-openjdk-amd64/jre/64
INFO|wrapper|Service traccar|17-02-25 13:02:31|exec:"java" "-classpath" "/opt/traccar/wrapperApp.jar:/opt/traccar/tracker-server.jar:/opt/traccar/lib/log4j-1.2.17.jar:/opt/traccar/lib/joda-time-2.9.7.jar:/opt/traccar/lib/h2-1.4.193.jar:/opt/traccar/lib/mysql-connector-java-5.1.40.jar:/opt/traccar/lib/postgresql-9.4.1212.jre7.jar:/opt/traccar/lib/mssql-jdbc-6.1.0.jre7.jar:/opt/traccar/lib/HikariCP-java7-2.4.11.jar:/opt/traccar/lib/slf4j-api-1.7.21.jar:/opt/traccar/lib/netty-3.10.6.Final.jar:/opt/traccar/lib/async-http-client-1.9.40.jar:/opt/traccar/lib/slf4j-simple-1.7.22.jar:/opt/traccar/lib/javax.json-1.0.4.jar:/opt/traccar/lib/jetty-server-9.2.21.v20170120.jar:/opt/traccar/lib/javax.servlet-api-3.1.0.jar:/opt/traccar/lib/jetty-http-9.2.21.v20170120.jar:/opt/traccar/lib/jetty-io-9.2.21.v20170120.jar:/opt/traccar/lib/jetty-servlet-9.2.21.v20170120.jar:/opt/traccar/lib/jetty-security-9.2.21.v20170120.jar:/opt/traccar/lib/jetty-webapp-9.2.21.v20170120.jar:/opt/traccar/lib/jetty-xml-9.2.21.v20170120.jar:/opt/traccar/lib/jetty-jndi-9.2.21.v20170120.jar:/opt/traccar/lib/jetty-util-9.2.21.v20170120.jar:/opt/traccar/lib/websocket-server-9.2.21.v20170120.jar:/opt/traccar/lib/websocket-common-9.2.21.v20170120.jar:/opt/traccar/lib/websocket-api-9.2.21.v20170120.jar:/opt/traccar/lib/websocket-client-9.2.21.v20170120.jar:/opt/traccar/lib/websocket-servlet-9.2.21.v20170120.jar:/opt/traccar/lib/jersey-container-servlet-2.25.1.jar:/opt/traccar/lib/jersey-container-servlet-core-2.25.1.jar:/opt/traccar/lib/javax.inject-2.5.0-b32.jar:/opt/traccar/lib/jersey-common-2.25.1.jar:/opt/traccar/lib/javax.annotation-api-1.2.jar:/opt/traccar/lib/jersey-guava-2.25.1.jar:/opt/traccar/lib/hk2-api-2.5.0-b32.jar:/opt/traccar/lib/hk2-utils-2.5.0-b32.jar:/opt/traccar/lib/aopalliance-repackaged-2.5.0-b32.jar:/opt/traccar/lib/hk2-locator-2.5.0-b32.jar:/opt/traccar/lib/javassist-3.20.0-GA.jar:/opt/traccar/lib/osgi-resource-locator-1.0.1.jar:/opt/traccar/lib/jersey-server-2.25.1.jar:/opt/traccar/lib/jersey-client-2.25.1.jar:/opt/traccar/lib/jersey-media-jaxb-2.25.1.jar:/opt/traccar/lib/validation-api-1.1.0.Final.jar:/opt/traccar/lib/javax.ws.rs-api-2.0.1.jar:/opt/traccar/lib/jersey-media-json-jackson-2.25.1.jar:/opt/traccar/lib/jersey-entity-filtering-2.25.1.jar:/opt/traccar/lib/jackson-jaxrs-base-2.8.4.jar:/opt/traccar/lib/jackson-core-2.8.4.jar:/opt/traccar/lib/jackson-databind-2.8.4.jar:/opt/traccar/lib/jackson-jaxrs-json-provider-2.8.4.jar:/opt/traccar/lib/jackson-module-jaxb-annotations-2.8.4.jar:/opt/traccar/lib/jackson-annotations-2.8.4.jar:/opt/traccar/lib/liquibase-core-3.5.3.jar:/opt/traccar/lib/snakeyaml-1.17.jar:/opt/traccar/lib/mail-1.4.7.jar:/opt/traccar/lib/activation-1.1.jar:/opt/traccar/lib/jxls-2.3.0.jar:/opt/traccar/lib/commons-jexl-2.1.1.jar:/opt/traccar/lib/commons-logging-1.1.1.jar:/opt/traccar/lib/commons-beanutils-1.9.2.jar:/opt/traccar/lib/jcl-over-slf4j-1.7.12.jar:/opt/traccar/lib/logback-core-1.1.3.jar:/opt/traccar/lib/jxls-poi-1.0.11.jar:/opt/traccar/lib/poi-3.14.jar:/opt/traccar/lib/poi-ooxml-3.14.jar:/opt/traccar/lib/poi-ooxml-schemas-3.14.jar:/opt/traccar/lib/xmlbeans-2.6.0.jar:/opt/traccar/lib/stax-api-1.0.1.jar:/opt/traccar/lib/curvesapi-1.03.jar:/opt/traccar/lib/velocity-1.7.jar:/opt/traccar/lib/commons-collections-3.2.1.jar:/opt/traccar/lib/commons-lang-2.4.jar:/opt/traccar/lib/ical4j-2.0.0.jar:/opt/traccar/lib/commons-collections4-4.0.jar:/opt/traccar/lib/groovy-all-2.3.2.jar:/opt/traccar/lib/bndlib-2.3.0.jar:/opt/traccar/lib/org.osgi.core-4.3.1.jar:/opt/traccar/lib/commons-lang3-3.3.2.jar:/opt/traccar/lib/commons-codec-1.9.jar" "-Dfile.encoding=UTF-8" "-Xrs" "-Dwrapper.service=true" "-Dwrapper.console.visible=false" "-Dwrapper.port=15003" "-Dwrapper.key=-8752031468702914553" "-Dwrapper.teeName=-8752031468702914553$1488016950678" "-Dwrapper.tmp.path=/opt/traccar/tmp" "-Djna_tmpdir=/opt/traccar/tmp" "-Dwrapper.config=/opt/traccar/conf/wrapper.conf" "-Dwrapper.visible=false" "-Dwrapper.pidfile=/run/wrapper.traccar.pid" "org.rzo.yajsw.app.WrapperJVMMain" 
INFO|wrapper|Service traccar|17-02-25 13:02:31|posix_spawn pid 8461
INFO|wrapper|Service traccar|17-02-25 13:02:31|started process 8461
INFO|wrapper|Service traccar|17-02-25 13:02:31|started process with pid 8461
INFO|8461/0|Service traccar|17-02-25 13:02:34|[INFO] StandardFileSystemManager - Using "/tmp/vfs_cache" as temporary files store.
INFO|8461/0|Service traccar|17-02-25 13:02:36|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
INFO|8461/0|Service traccar|17-02-25 13:02:36|Sat Feb 25 13:02:36 AST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
INFO|8461/0|Service traccar|17-02-25 13:02:37|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
INFO|8461/0|Service traccar|17-02-25 13:02:37|Sat Feb 25 13:02:37 AST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
INFO|8461/0|Service traccar|17-02-25 13:02:37|Sat Feb 25 13:02:37 AST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
INFO|8461/0|Service traccar|17-02-25 13:02:37|Sat Feb 25 13:02:37 AST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
INFO|8461/0|Service traccar|17-02-25 13:02:37|Sat Feb 25 13:02:37 AST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
INFO|8461/0|Service traccar|17-02-25 13:02:37|Sat Feb 25 13:02:37 AST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
INFO|8461/0|Service traccar|17-02-25 13:02:37|Sat Feb 25 13:02:37 AST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
INFO|8461/0|Service traccar|17-02-25 13:02:37|Sat Feb 25 13:02:37 AST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
INFO|8461/0|Service traccar|17-02-25 13:02:37|Sat Feb 25 13:02:37 AST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
INFO|8461/0|Service traccar|17-02-25 13:02:37|Sat Feb 25 13:02:37 AST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
INFO|8461/0|Service traccar|17-02-25 13:02:38|Failed to generate a seed from SecureRandom within {} seconds. Not enough entrophy?
INFO|8461/0|Service traccar|17-02-25 13:02:38|3
INFO|8461/0|Service traccar|17-02-25 13:02:39|Sat Feb 25 13:02:39 AST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
INFO|8461/0|Service traccar|17-02-25 13:02:39|INFO 2/25/17 1:02 PM: liquibase: Clearing database change log checksums
INFO|8461/0|Service traccar|17-02-25 13:02:39|INFO 2/25/17 1:02 PM: liquibase: Successfully acquired change log lock
INFO|8461/0|Service traccar|17-02-25 13:02:39|INFO 2/25/17 1:02 PM: liquibase: Successfully released change log lock
INFO|8461/0|Service traccar|17-02-25 13:02:39|INFO 2/25/17 1:02 PM: liquibase: Successfully acquired change log lock
INFO|8461/0|Service traccar|17-02-25 13:02:44|INFO 2/25/17 1:02 PM: liquibase: Reading from traccarappdb.DATABASECHANGELOG
INFO|8461/0|Service traccar|17-02-25 13:02:44|SEVERE 2/25/17 1:02 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: Change Set changelog-3.3::changelog-3.3::author failed.  Error: Table 'users' already exists [Failed SQL: CREATE TABLE traccarappdb.users (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(128) NOT NULL, email VARCHAR(128) NOT NULL, hashedpassword VARCHAR(128) NOT NULL, salt VARCHAR(128) NOT NULL, readonly BIT(1) DEFAULT 0 NOT NULL, admin BIT(1) DEFAULT 0 NOT NULL, map VARCHAR(128) DEFAULT 'osm' NOT NULL, language VARCHAR(128) DEFAULT 'en' NOT NULL, distanceunit VARCHAR(128) DEFAULT 'km' NOT NULL, speedunit VARCHAR(128) DEFAULT 'kmh' NOT NULL, latitude DOUBLE DEFAULT 0 NOT NULL, longitude DOUBLE DEFAULT 0 NOT NULL, zoom INT DEFAULT 0 NOT NULL, CONSTRAINT PK_USERS PRIMARY KEY (id))]
INFO|8461/0|Service traccar|17-02-25 13:02:44|INFO 2/25/17 1:02 PM: liquibase: changelog-3.3::changelog-3.3::author: Successfully released change log lock
INFO|8461/0|Service traccar|17-02-25 13:02:44|java.lang.reflect.InvocationTargetException
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at java.lang.reflect.Method.invoke(Method.java:498)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
INFO|8461/0|Service traccar|17-02-25 13:02:44|Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set changelog-3.3::changelog-3.3::author:
INFO|8461/0|Service traccar|17-02-25 13:02:44|     Reason: liquibase.exception.DatabaseException: Table 'users' already exists [Failed SQL: CREATE TABLE traccarappdb.users (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(128) NOT NULL, email VARCHAR(128) NOT NULL, hashedpassword VARCHAR(128) NOT NULL, salt VARCHAR(128) NOT NULL, readonly BIT(1) DEFAULT 0 NOT NULL, admin BIT(1) DEFAULT 0 NOT NULL, map VARCHAR(128) DEFAULT 'osm' NOT NULL, language VARCHAR(128) DEFAULT 'en' NOT NULL, distanceunit VARCHAR(128) DEFAULT 'km' NOT NULL, speedunit VARCHAR(128) DEFAULT 'kmh' NOT NULL, latitude DOUBLE DEFAULT 0 NOT NULL, longitude DOUBLE DEFAULT 0 NOT NULL, zoom INT DEFAULT 0 NOT NULL, CONSTRAINT PK_USERS PRIMARY KEY (id))]
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at liquibase.changelog.ChangeSet.execute(ChangeSet.java:619)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:51)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:79)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at liquibase.Liquibase.update(Liquibase.java:214)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at liquibase.Liquibase.update(Liquibase.java:192)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at liquibase.Liquibase.update(Liquibase.java:188)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at org.traccar.database.DataManager.initDatabaseSchema(DataManager.java:145)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at org.traccar.database.DataManager.<init>(DataManager.java:71)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at org.traccar.Context.init(Context.java:198)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at org.traccar.Main.main(Main.java:35)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	... 6 more
INFO|8461/0|Service traccar|17-02-25 13:02:44|Caused by: liquibase.exception.DatabaseException: Table 'users' already exists [Failed SQL: CREATE TABLE traccarappdb.users (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(128) NOT NULL, email VARCHAR(128) NOT NULL, hashedpassword VARCHAR(128) NOT NULL, salt VARCHAR(128) NOT NULL, readonly BIT(1) DEFAULT 0 NOT NULL, admin BIT(1) DEFAULT 0 NOT NULL, map VARCHAR(128) DEFAULT 'osm' NOT NULL, language VARCHAR(128) DEFAULT 'en' NOT NULL, distanceunit VARCHAR(128) DEFAULT 'km' NOT NULL, speedunit VARCHAR(128) DEFAULT 'kmh' NOT NULL, latitude DOUBLE DEFAULT 0 NOT NULL, longitude DOUBLE DEFAULT 0 NOT NULL, zoom INT DEFAULT 0 NOT NULL, CONSTRAINT PK_USERS PRIMARY KEY (id))]
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:309)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:113)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1277)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1259)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at liquibase.changelog.ChangeSet.execute(ChangeSet.java:582)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	... 15 more
INFO|8461/0|Service traccar|17-02-25 13:02:44|Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'users' already exists
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at com.mysql.jdbc.Util.getInstance(Util.java:408)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3970)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3906)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2677)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2503)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:839)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:739)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:307)
INFO|8461/0|Service traccar|17-02-25 13:02:44|	... 20 more
INFO|wrapper|Service traccar|17-02-25 13:02:44|waitpid 8461 59136
INFO|wrapper|Service traccar|17-02-25 13:02:44|exit code posix process: 59136 application: 0

Thanks

Anton Tananaev8 years ago

@halshehri, which version did you update from?

halshehri8 years ago

Before November it was 3.5, December updated to 3.9 and three days back I tried to update it to 3.10

Anton Tananaev8 years ago

How did you do the upgrade?