Source code installation error.

vdovin7 years ago

So I have downloaded source code from https://github.com/tananaev/traccar/releases/tag/v3.9 tag.gz. After it i try to build project following your instructions from https://www.traccar.org/build-in-intellij-idea/ . But i got an error

[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Started.
INFO 2/7/17 4:49 PM: liquibase: Clearing database change log checksums
INFO 2/7/17 4:49 PM: liquibase: Successfully acquired change log lock
INFO 2/7/17 4:49 PM: liquibase: Creating database history table with name: PUBLIC.DATABASECHANGELOG
INFO 2/7/17 4:49 PM: liquibase: Successfully released change log lock
INFO 2/7/17 4:49 PM: liquibase: Successfully acquired change log lock
INFO 2/7/17 4:49 PM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: Table users created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: Unique constraint added to users(email)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: Table devices created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: Unique constraint added to devices(uniqueid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: Table user_device created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: Foreign key constraint added to user_device (userid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: Foreign key constraint added to user_device (deviceid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: Index user_device_user_id created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: Table positions created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: Foreign key constraint added to positions (deviceid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: Index position_deviceid_fixtime created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: Table server created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: New row inserted into server
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: New row inserted into users
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.3::changelog-3.3::author: ChangeSet changelog-3.3::changelog-3.3::author ran successfully in 63ms
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Table groups created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Table user_group created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Foreign key constraint added to user_group (userid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Foreign key constraint added to user_group (groupid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Columns groupid(INT) added to devices
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Null constraint dropped from users.language
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Default value dropped from users.language
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Column users.language dropped
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Column server.language dropped
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Null constraint dropped from users.map
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Default value dropped from users.map
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Null constraint dropped from users.distanceunit
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Default value dropped from users.distanceunit
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Null constraint dropped from users.speedunit
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Default value dropped from users.speedunit
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Columns twelvehourformat(BOOLEAN) added to users
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: Columns twelvehourformat(BOOLEAN) added to server
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.5::changelog-3.5::author: ChangeSet changelog-3.5::changelog-3.5::author ran successfully in 200ms
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Table events created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Foreign key constraint added to events (deviceid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Columns motion(VARCHAR(128)) added to devices
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Table geofences created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Table user_geofence created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Foreign key constraint added to user_geofence (userid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Foreign key constraint added to user_geofence (geofenceid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Table group_geofence created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Foreign key constraint added to group_geofence (groupid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Foreign key constraint added to group_geofence (geofenceid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Table device_geofence created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Foreign key constraint added to device_geofence (deviceid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Foreign key constraint added to device_geofence (geofenceid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Table notifications created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Foreign key constraint added to notifications (userid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: Columns attributes(VARCHAR(4096)) added to users
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.6::changelog-3.6::author: ChangeSet changelog-3.6::changelog-3.6::author ran successfully in 163ms
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.7::changelog-3.7::author: Data updated in devices
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.7::changelog-3.7::author: Foreign key constraint added to devices (groupid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.7::changelog-3.7::author: Data updated in groups
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.7::changelog-3.7::author: Columns attributes(VARCHAR(4096)) added to devices
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.7::changelog-3.7::author: Column devices.motion dropped
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.7::changelog-3.7::author: Column devices.status dropped
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.7::changelog-3.7::author: Columns attributes(VARCHAR(4096)) added to groups
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.7::changelog-3.7::author: Columns attributes(VARCHAR(4096)) added to server
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.7::changelog-3.7::author: ChangeSet changelog-3.7::changelog-3.7::author ran successfully in 91ms
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.7::changelog-3.7-notmssql::author: Foreign key constraint added to groups (groupid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.7::changelog-3.7-notmssql::author: ChangeSet changelog-3.7::changelog-3.7-notmssql::author ran successfully in 3ms
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Table attribute_aliases created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Foreign key constraint added to attribute_aliases (deviceid)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Unique constraint added to attribute_aliases(deviceid, attribute)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Data updated in users
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Data updated in users
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Data updated in users
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Table statistics created
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: server.mapurl datatype was changed to VARCHAR(512)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Columns forcesettings(BOOLEAN) added to server
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Columns coordinateformat(VARCHAR(128)) added to users
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Columns coordinateformat(VARCHAR(128)) added to server
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Null constraint dropped from positions.attributes
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: positions.attributes datatype was changed to VARCHAR(4000)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Null constraint dropped from events.attributes
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: events.attributes datatype was changed to VARCHAR(4000)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Null constraint dropped from geofences.attributes
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: geofences.attributes datatype was changed to VARCHAR(4000)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Null constraint dropped from notifications.attributes
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: notifications.attributes datatype was changed to VARCHAR(4000)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: users.attributes datatype was changed to VARCHAR(4000)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: devices.attributes datatype was changed to VARCHAR(4000)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: groups.attributes datatype was changed to VARCHAR(4000)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: server.attributes datatype was changed to VARCHAR(4000)
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Columns phone(VARCHAR(128)) added to devices
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Columns model(VARCHAR(128)) added to devices
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Columns contact(VARCHAR(512)) added to devices
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Columns category(VARCHAR(128)) added to devices
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Columns disabled(BOOLEAN) added to users
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Columns expirationtime(TIMESTAMP) added to users
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Columns devicelimit(INT) added to users
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: Columns token(VARCHAR(128)) added to users
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: ChangeSet changelog-3.8::changelog-3.8::author ran successfully in 518ms
INFO 2/7/17 4:49 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:
ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token [90057-193] [Failed SQL: ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token]
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.9::changelog-3.9::author: Columns web(BOOLEAN),mail(BOOLEAN) added to notifications
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.9::changelog-3.9::author: Data updated in notifications
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.9::changelog-3.9::author: Data updated in notifications
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.9::changelog-3.9::author: Data updated in notifications
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.9::changelog-3.9::author: Data updated in notifications
INFO 2/7/17 4:49 PM: liquibase: ./schema/changelog-master.xml: changelog-3.9::changelog-3.9::author: ChangeSet changelog-3.9::changelog-3.9::author ran successfully in 13ms
INFO 2/7/17 4:49 PM: liquibase: Successfully released change log lock
[main] INFO org.eclipse.jetty.util.log - Logging initialized @9990ms
Exception in thread "main" org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:5021
    at org.jboss.netty.bootstrap.ConnectionlessBootstrap.bind(ConnectionlessBootstrap.java:204)
    at org.traccar.TrackerServer.start(TrackerServer.java:138)
    at org.traccar.ServerManager.start(ServerManager.java:73)
    at org.traccar.Main.main(Main.java:38)
    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:498)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind0(Native Method)
    at sun.nio.ch.Net.bind(Net.java:433)
    at sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:691)
    at sun.nio.ch.DatagramSocketAdaptor.bind(DatagramSocketAdaptor.java:91)
    at org.jboss.netty.channel.socket.nio.NioDatagramPipelineSink.bind(NioDatagramPipelineSink.java:129)
    at org.jboss.netty.channel.socket.nio.NioDatagramPipelineSink.eventSunk(NioDatagramPipelineSink.java:77)
    at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779)
    at org.jboss.netty.channel.SimpleChannelHandler.bindRequested(SimpleChannelHandler.java:299)
    at org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:265)
    at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
    at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:784)
    at org.jboss.netty.handler.logging.LoggingHandler.handleDownstream(LoggingHandler.java:338)
    at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
    at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:784)
    at org.jboss.netty.channel.SimpleChannelHandler.bindRequested(SimpleChannelHandler.java:299)
    at org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:265)
    at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
    at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)
    at org.jboss.netty.channel.Channels.bind(Channels.java:561)
    at org.jboss.netty.channel.AbstractChannel.bind(AbstractChannel.java:197)
    at org.jboss.netty.bootstrap.ConnectionlessBootstrap.bind(ConnectionlessBootstrap.java:198)

What is it? My final purpose make an installer through package.sh. But i think firstly i need to solve this problem. OS-Ubuntu 16.04 x64

Anton Tananaev7 years ago

You have some other process using port 5021.

bilal-ltt7 years ago

For me, most of the ports (in 5000 series) were acquired by chrome tabs. The solution I come up for development is, I commented out all the irrelevant ports in \setup\default.xml, and kept only the port which I was working on.

vdovin7 years ago

Big part of this error appears after restart traccar through IDE. So there is an error, when i start project for the first time.

[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Started.
INFO 2/8/17 11:38 AM: liquibase: Clearing database change log checksums
INFO 2/8/17 11:38 AM: liquibase: Successfully acquired change log lock
INFO 2/8/17 11:38 AM: liquibase: Successfully released change log lock
INFO 2/8/17 11:38 AM: liquibase: Successfully acquired change log lock
INFO 2/8/17 11:38 AM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO 2/8/17 11:38 AM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO 2/8/17 11:38 AM: 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:
ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token [90057-193] [Failed SQL: ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token]
INFO 2/8/17 11:38 AM: liquibase: Successfully released change log lock
[main] INFO org.eclipse.jetty.util.log - Logging initialized @9874ms
[main] INFO org.eclipse.jetty.server.Server - jetty-9.2.19.v20160908
[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@108d55c4{/api,null,AVAILABLE}
[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@479f2dc2{/console,null,AVAILABLE}
[main] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@5f780a86{HTTP/1.1}{0.0.0.0:8082}
[main] INFO org.eclipse.jetty.server.Server - Started @11635ms
Anton Tananaev7 years ago

If you are talking about changelog warning, you can safely ignore it.

vdovin7 years ago

I think that this is an error but not a warning

/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:
ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token [90057-193] [Failed SQL: ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token]

Anyway I couldn't visit localhost:8082. Browser write 404 - Not Found

Anton Tananaev7 years ago

As I said, you can safely ignore it.

Probably you get 404 because you didn't download "traccar-web" part.

vdovin7 years ago

Ok,thanks! I have downloaded traccar web from https://github.com/tananaev/traccar-web and put content in traccar-web folder. So it works now, but when i try to start ./package.sh i got an error like this

vdovin@probook:~/IdeaProjects/traccar-3.9/setup$ ./package.sh
USAGE: ./package.sh <version>
vdovin@probook:~/IdeaProjects/traccar-3.9/setup$ ./package.sh 1.0
Missing ../../ext-6.2.0 (https://www.sencha.com/legal/GPL/)
vdovin@probook:~/IdeaProjects/traccar-3.9/setup$ 
Anton Tananaev7 years ago

Well, it says exactly what's missing. Why do you want to use package script anyway?

vdovin7 years ago

I want to create installer and I found information here https://www.traccar.org/build/ .

Anton Tananaev7 years ago

If you really need it, you should pay attention to the error messages, and study the script. Creating installation package requires some technical knowledge, so please do your research before asking any further questions.

bilal-ltt7 years ago
/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:
ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token [90057-193] [Failed SQL: ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token]

It usually happen when you are not able to connect with database (db username / password failure ), or database engine is not running.

Anton Tananaev7 years ago

@bilalcs, it seems like you haven't read the comments.

bilal-ltt7 years ago

I tried to reply on specific comment, but it seems that every comment come in last, so edited the above to make it clear.

Anton Tananaev7 years ago

Your comment is incorrect. It happens all the time and it's not an issue. It's expected behaviour.