Hi all,
I used traccar v3.7 on my ubuntu 14.04 (only 3 devices). Then I tried to upgrade on v3.9. Everything seemed okay. But traccar automatically stops working. I have installed traccar server on other PC with ubuntu 16.04 and everything works fine. Now I have ubuntu 16.04 LTS on both PCs, but traccar works only on one of them. I have same java versions on both of them. Could you suggest any solution?
Here is my wrapper log:
WARNING|wrapper|Service traccar|17-01-20 18:20:13|YAJSW: yajsw-beta-12.07
WARNING|wrapper|Service traccar|17-01-20 18:20:13|OS : Linux/4.4.0-57-generic/amd64
WARNING|wrapper|Service traccar|17-01-20 18:20:13|JVM : Oracle Corporation/1.8.0_111//usr/lib/jvm/java-8-openjdk-amd64/jre/64
INFO|wrapper|Service traccar|17-01-20 18:20: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.6.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.9.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.21.jar:/opt/traccar/lib/javax.json-1.0.4.jar:/opt/traccar/lib/jetty-server-9.2.19.v20160908.jar:/opt/traccar/lib/javax.servlet-api-3.1.0.jar:/opt/traccar/lib/jetty-http-9.2.19.v20160908.jar:/opt/traccar/lib/jetty-io-9.2.19.v20160908.jar:/opt/traccar/lib/jetty-servlet-9.2.19.v20160908.jar:/opt/traccar/lib/jetty-security-9.2.19.v20160908.jar:/opt/traccar/lib/jetty-webapp-9.2.19.v20160908.jar:/opt/traccar/lib/jetty-xml-9.2.19.v20160908.jar:/opt/traccar/lib/jetty-jndi-9.2.19.v20160908.jar:/opt/traccar/lib/jetty-util-9.2.19.v20160908.jar:/opt/traccar/lib/websocket-server-9.2.19.v20160908.jar:/opt/traccar/lib/websocket-common-9.2.19.v20160908.jar:/opt/traccar/lib/websocket-api-9.2.19.v20160908.jar:/opt/traccar/lib/websocket-client-9.2.19.v20160908.jar:/opt/traccar/lib/websocket-servlet-9.2.19.v20160908.jar:/opt/traccar/lib/jersey-container-servlet-2.24.jar:/opt/traccar/lib/jersey-container-servlet-core-2.24.jar:/opt/traccar/lib/javax.inject-2.5.0-b05.jar:/opt/traccar/lib/jersey-common-2.24.jar:/opt/traccar/lib/javax.annotation-api-1.2.jar:/opt/traccar/lib/jersey-guava-2.24.jar:/opt/traccar/lib/hk2-api-2.5.0-b05.jar:/opt/traccar/lib/hk2-utils-2.5.0-b05.jar:/opt/traccar/lib/aopalliance-repackaged-2.5.0-b05.jar:/opt/traccar/lib/hk2-locator-2.5.0-b05.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.24.jar:/opt/traccar/lib/jersey-client-2.24.jar:/opt/traccar/lib/jersey-media-jaxb-2.24.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.24.jar:/opt/traccar/lib/jersey-entity-filtering-2.24.jar:/opt/traccar/lib/jackson-jaxrs-base-2.5.4.jar:/opt/traccar/lib/jackson-core-2.5.4.jar:/opt/traccar/lib/jackson-databind-2.5.4.jar:/opt/traccar/lib/jackson-jaxrs-json-provider-2.5.4.jar:/opt/traccar/lib/jackson-module-jaxb-annotations-2.5.4.jar:/opt/traccar/lib/jackson-annotations-2.5.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/commons-codec-1.10.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" "-Dfile.encoding=UTF-8" "-Xrs" "-Dwrapper.service=true" "-Dwrapper.console.visible=false" "-Dwrapper.port=15003" "-Dwrapper.key=1110918306652481058" "-Dwrapper.teeName=1110918306652481058$1484936413203" "-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-01-20 18:20:13|posix_spawn pid 6356
INFO|wrapper|Service traccar|17-01-20 18:20:13|started process 6356
INFO|wrapper|Service traccar|17-01-20 18:20:13|started process with pid 6356
INFO|6356/0|Service traccar|17-01-20 18:20:14|[INFO] StandardFileSystemManager - Using "/tmp/vfs_cache" as temporary files store.
INFO|6356/0|Service traccar|17-01-20 18:20:14|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Started.
INFO|6356/0|Service traccar|17-01-20 18:20:15|INFO 1/20/17 6:20 PM: liquibase: Clearing database change log checksums
INFO|6356/0|Service traccar|17-01-20 18:20:15|INFO 1/20/17 6:20 PM: liquibase: Successfully acquired change log lock
INFO|6356/0|Service traccar|17-01-20 18:20:15|INFO 1/20/17 6:20 PM: liquibase: Successfully released change log lock
INFO|6356/0|Service traccar|17-01-20 18:20:15|INFO 1/20/17 6:20 PM: liquibase: Successfully acquired change log lock
INFO|6356/0|Service traccar|17-01-20 18:20:15|INFO 1/20/17 6:20 PM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO|6356/0|Service traccar|17-01-20 18:20:15|INFO 1/20/17 6:20 PM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO|6356/0|Service traccar|17-01-20 18:20:15|INFO 1/20/17 6:20 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8-dropuniquetoken::author: Change set changelog-3.8::changelog-3.8-dropuniquetoken::author failed, but failOnError was false. Error: Constraint "UK_USER_TOKEN" not found; SQL statement:
INFO|6356/0|Service traccar|17-01-20 18:20:15|ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token [90057-193] [Failed SQL: ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token]
INFO|6356/0|Service traccar|17-01-20 18:20:15|INFO 1/20/17 6:20 PM: liquibase: Successfully released change log lock
INFO|6356/0|Service traccar|17-01-20 18:20:15|[main] INFO org.eclipse.jetty.util.log - Logging initialized @2191ms
INFO|6356/0|Service traccar|17-01-20 18:20:16|[main] INFO org.eclipse.jetty.server.Server - jetty-9.2.19.v20160908
INFO|6356/0|Service traccar|17-01-20 18:20:16|[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@3d90eeb3{/api,null,AVAILABLE}
INFO|6356/0|Service traccar|17-01-20 18:20:16|[main] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@7c51782d{HTTP/1.1}{0.0.0.0:8082}
INFO|6356/0|Service traccar|17-01-20 18:20:16|[main] INFO org.eclipse.jetty.server.Server - Started @3095ms
WARNING|6356/0|Service traccar|17-01-20 18:20:43|startup of java application timed out. if this is due to server overload consider increasing wrapper.startup.timeout
INFO|6356/0|Service traccar|17-01-20 18:20:44|no connection to wrapper during 30 seconds -> System.exit(-1)
INFO|6356/0|Service traccar|17-01-20 18:20:44|if this is due to server overload consider increasing yajsw configuration property wrapper.startup.timeout
INFO|6356/0|Service traccar|17-01-20 18:20:44|[Thread-14] INFO org.eclipse.jetty.server.ServerConnector - Stopped ServerConnector@7c51782d{HTTP/1.1}{0.0.0.0:8082}
INFO|6356/0|Service traccar|17-01-20 18:20:44|[Thread-14] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@3d90eeb3{/api,null,UNAVAILABLE}
INFO|wrapper|Service traccar|17-01-20 18:20:44|waitpid 6356 65280
INFO|wrapper|Service traccar|17-01-20 18:20:44|exit code posix process: 65280 application: 0
There seems to be some problem with Java. Make sure you are using default JRE packages from Ubuntu repository.
I have tried several times, removing Java and installing it again. After your reply, I completely removed java and install default-jre package, but again the same problem.
I can take a look if you provide access to the server.
Hi all,
I used traccar v3.7 on my ubuntu 14.04 (only 3 devices). Then I tried to upgrade on v3.9. Everything seemed okay. But traccar automatically stops working. I have installed traccar server on other PC with ubuntu 16.04 and everything works fine. Now I have ubuntu 16.04 LTS on both PCs, but traccar works only on one of them. I have same java versions on both of them. Could you suggest any solution?
Here is my wrapper log: