can't add device build from source

koan2 years ago

Hello everybody!

I installed the latest version of Traccar. All works fine.
Then I decided to install the version built from source.

I've built the build using the actual instructions - https://www.traccar.org/build/

Ubuntu 22.04.3 LTS on VM
Java openjdk version "17.0.8" 2023-07-18

Compile has no errors:

:~/traccar-dev/traccar$ ./gradlew assemble
BUILD SUCCESSFUL in 5s
7 actionable tasks: 2 executed, 5 up-to-date
I stop Traccar service - service traccar stop
and replace //opt/traccar/tracker-server.jar + all jar files in lib folder by new one
after start service - service traccar start

Accessing the web interface as an administrator and try to add new Device, but have error:

"ERROR: column "calendarid" of relation "tc_devices" does not exist Position: 24 - PSQLException (... < QueryBuilder:469 < DatabaseStorage:95 < BaseObjectResource:72 < ...)"

log file has no errors

2023-08-20 16:03:01  INFO: Operating system name: Linux version: 5.15.0-79-generic architecture: amd64
2023-08-20 16:03:01  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Eclipse Adoptium version: 17.0.6+10
2023-08-20 16:03:01  INFO: Memory limit heap: 232mb non-heap: 0mb
2023-08-20 16:03:01  INFO: Character encoding: UTF-8 charset: UTF-8
2023-08-20 16:03:01  INFO: Version: 5.8
2023-08-20 16:03:01  INFO: Starting server...
2023-08-20 16:03:01  INFO: HikariPool-1 - Starting...
2023-08-20 16:03:02  INFO: HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@3122b117
2023-08-20 16:03:02  INFO: HikariPool-1 - Start completed.
2023-08-20 16:03:03  INFO: Set default schema name to public
2023-08-20 16:03:03  INFO: Clearing database change log checksums
2023-08-20 16:03:03  INFO: Successfully acquired change log lock
2023-08-20 16:03:03  INFO: Successfully released change log lock
2023-08-20 16:03:03  INFO: Successfully acquired change log lock
2023-08-20 16:03:05  INFO: Reading from public.databasechangelog
2023-08-20 16:03:05  INFO: Reading from public.databasechangelog
2023-08-20 16:03:05  INFO: Reading from public.databasechangelog
2023-08-20 16:03:05  INFO: UPDATE SUMMARY
2023-08-20 16:03:05  INFO: Run:                          0
2023-08-20 16:03:05  INFO: Previously run:              43
2023-08-20 16:03:05  INFO: Filtered out:                 0
2023-08-20 16:03:05  INFO: -------------------------------
2023-08-20 16:03:05  INFO: Total change sets:           43

2023-08-20 16:03:05  INFO: Update summary generated
2023-08-20 16:03:05  INFO: Successfully released change log lock
2023-08-20 16:03:05  INFO: Successfully released change log lock
2023-08-20 16:03:05  INFO: Command execution complete
2023-08-20 16:03:07  INFO: jetty-10.0.15; built: 2023-04-11T17:25:14.480Z; git: 68017dbd00236bb7e187330d7585a059610f661d; jvm 17.0.6+10
2023-08-20 16:03:07  INFO: Started o.t.w.@7c3c453b{/,null,AVAILABLE}
2023-08-20 16:03:07  INFO: Session workerName=node0
2023-08-20 16:03:07  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2023-08-20 16:03:08  INFO: Started o.e.j.s.ServletContextHandler@12bcf7c6{/,null,AVAILABLE}
2023-08-20 16:03:08  INFO: Started ServerConnector@2bcda694{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2023-08-20 16:03:08  INFO: Started Server@21090c88{STARTING}[10.0.15,sto=0] @7690ms
2023-08-20 16:03:08  INFO: Health check enabled with period 480000

Why can't I add a device?

Track-trace2 years ago

As you can read in the error in your database a reference is missing.
How about create a new database and let traccar built it again.

koan2 years ago

I forgot to write, db is postgresql 14.

@Track-trace
I've done it. The result is the same.
Here is log file for new DB

2023-08-20 18:20:18  INFO: Operating system name: Linux version: 5.15.0-79-generic architecture: amd64
2023-08-20 18:20:18  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Eclipse Adoptium version: 17.0.6+10
2023-08-20 18:20:18  INFO: Memory limit heap: 232mb non-heap: 0mb
2023-08-20 18:20:18  INFO: Character encoding: UTF-8 charset: UTF-8
2023-08-20 18:20:18  INFO: Version: 5.8
2023-08-20 18:20:18  INFO: Starting server...
2023-08-20 18:20:18  INFO: HikariPool-1 - Starting...
2023-08-20 18:20:19  INFO: HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@3122b117
2023-08-20 18:20:19  INFO: HikariPool-1 - Start completed.
2023-08-20 18:20:19  INFO: Set default schema name to public
2023-08-20 18:20:19  INFO: Clearing database change log checksums
2023-08-20 18:20:19  INFO: Successfully acquired change log lock
2023-08-20 18:20:19  INFO: Creating database history table with name: public.databasechangelog
2023-08-20 18:20:20  INFO: Successfully released change log lock
2023-08-20 18:20:20  INFO: Successfully acquired change log lock
2023-08-20 18:20:21  INFO: Reading from public.databasechangelog
2023-08-20 18:20:22  INFO: Using deploymentId: 2555621518
2023-08-20 18:20:22  INFO: Reading from public.databasechangelog
2023-08-20 18:20:22  INFO: Table tc_attributes created
2023-08-20 18:20:22  INFO: Table tc_calendars created
2023-08-20 18:20:22  INFO: Table tc_commands created
2023-08-20 18:20:22  INFO: Table tc_device_attribute created
2023-08-20 18:20:22  INFO: Table tc_device_command created
2023-08-20 18:20:22  INFO: Table tc_device_driver created
2023-08-20 18:20:22  INFO: Table tc_device_geofence created
2023-08-20 18:20:22  INFO: Table tc_device_maintenance created
2023-08-20 18:20:22  INFO: Table tc_device_notification created
2023-08-20 18:20:22  INFO: Table tc_devices created
2023-08-20 18:20:22  INFO: Table tc_drivers created
2023-08-20 18:20:22  INFO: Table tc_events created
2023-08-20 18:20:22  INFO: Table tc_geofences created
2023-08-20 18:20:22  INFO: Table tc_group_attribute created
2023-08-20 18:20:22  INFO: Table tc_group_command created
2023-08-20 18:20:22  INFO: Table tc_group_driver created
2023-08-20 18:20:22  INFO: Table tc_group_geofence created
2023-08-20 18:20:22  INFO: Table tc_group_maintenance created
2023-08-20 18:20:22  INFO: Table tc_group_notification created
2023-08-20 18:20:22  INFO: Table tc_groups created
2023-08-20 18:20:22  INFO: Table tc_maintenances created
2023-08-20 18:20:22  INFO: Table tc_notifications created
2023-08-20 18:20:22  INFO: Table tc_positions created
2023-08-20 18:20:22  INFO: Table tc_servers created
2023-08-20 18:20:22  INFO: Table tc_statistics created
2023-08-20 18:20:22  INFO: Table tc_user_attribute created
2023-08-20 18:20:22  INFO: Table tc_user_calendar created
2023-08-20 18:20:22  INFO: Table tc_user_command created
2023-08-20 18:20:22  INFO: Table tc_user_device created
2023-08-20 18:20:22  INFO: Table tc_user_driver created
2023-08-20 18:20:22  INFO: Table tc_user_geofence created
2023-08-20 18:20:22  INFO: Table tc_user_group created
2023-08-20 18:20:22  INFO: Table tc_user_maintenance created
2023-08-20 18:20:22  INFO: Table tc_user_notification created
2023-08-20 18:20:22  INFO: Table tc_user_user created
2023-08-20 18:20:22  INFO: Table tc_users created
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_command (commandid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_command (deviceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_driver (deviceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_driver (driverid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_geofence (deviceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_geofence (geofenceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_maintenance (deviceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_maintenance (maintenanceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_notification (deviceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_notification (notificationid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_devices (groupid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_events (deviceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_geofences (calendarid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_attribute (attributeid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_attribute (groupid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_command (commandid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_command (groupid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_driver (driverid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_driver (groupid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_geofence (geofenceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_geofence (groupid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_maintenance (groupid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_maintenance (maintenanceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_notification (groupid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_notification (notificationid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_notifications (calendarid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_positions (deviceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_attribute (attributeid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_attribute (userid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_calendar (calendarid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_calendar (userid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_command (commandid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_command (userid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_attribute (attributeid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_attribute (deviceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_device (deviceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_device (userid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_driver (driverid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_driver (userid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_geofence (geofenceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_geofence (userid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_group (groupid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_group (userid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_maintenance (maintenanceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_maintenance (userid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_notification (notificationid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_notification (userid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_user (userid)
2023-08-20 18:20:22  INFO: New row inserted into tc_servers
2023-08-20 18:20:22  INFO: ChangeSet changelog-4.0-clean::changelog-4.0-clean::author ran successfully in 269ms
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_groups (groupid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_user (manageduserid)
2023-08-20 18:20:22  INFO: ChangeSet changelog-4.0-clean::changelog-4.0-clean-common::author ran successfully in 6ms
2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.3::changelog-3.3::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.5::changelog-3.5::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.6::changelog-3.6::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.7::changelog-3.7::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.7::changelog-3.7-notmssql::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.8::changelog-3.8::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.9::changelog-3.9::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.10::changelog-3.10::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.10::changelog-3.10-notmssql::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.10::changelog-3.10-mssql::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.10::changelog-3.7-mssql::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.11::changelog-3.11::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.12::changelog-3.12::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.12::changelog-3.12-notmssql::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.12::changelog-3.12-pgsql::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.14::changelog-3.14::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.15::changelog-3.15::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.16::changelog-3.16::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.17::changelog-3.3-admin::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-3.17::changelog-3.17::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-4.0::changelog-4.0-pre::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-4.0::changelog-4.0-common::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-4.0::changelog-4.0-pg::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-4.0::changelog-4.0::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-4.0::changelog-4.0-renaming::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : Not precondition failed

2023-08-20 18:20:22  INFO: Marking ChangeSet: "changelog-4.1::changelog-4.1-mssql::author" as ran despite precondition failure due to onFail='MARK_RAN': 
          schema/changelog-master.xml : DBMS Precondition failed: expected mssql, got postgresql

2023-08-20 18:20:22  INFO: Index user_device_user_id created
2023-08-20 18:20:22  INFO: Index position_deviceid_fixtime created
2023-08-20 18:20:22  INFO: ChangeSet changelog-4.7::changelog-4.7::author ran successfully in 82ms
2023-08-20 18:20:22  INFO: Index event_deviceid_servertime created
2023-08-20 18:20:22  INFO: ChangeSet changelog-4.9::changelog-4.9::author ran successfully in 4ms
2023-08-20 18:20:22  INFO: Columns protocols(VARCHAR(4096)) added to tc_statistics
2023-08-20 18:20:22  INFO: ChangeSet changelog-4.10::changelog-4.10::author ran successfully in 3ms
2023-08-20 18:20:22  INFO: Columns announcement(VARCHAR(4000)) added to tc_servers
2023-08-20 18:20:22  INFO: ChangeSet changelog-4.11::changelog-4.11::author ran successfully in 2ms
2023-08-20 18:20:22  INFO: Column tc_events.servertime renamed to eventtime
2023-08-20 18:20:22  INFO: ChangeSet changelog-4.13::changelog-4.13::author ran successfully in 3ms
2023-08-20 18:20:22  INFO: Table tc_orders created
2023-08-20 18:20:22  INFO: Table tc_user_order created
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_order (userid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_order (orderid)
2023-08-20 18:20:22  INFO: Table tc_group_order created
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_order (groupid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_order (orderid)
2023-08-20 18:20:22  INFO: Table tc_device_order created
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_order (deviceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_order (orderid)
2023-08-20 18:20:22  INFO: ChangeSet changelog-4.15::changelog-4.15::author ran successfully in 21ms
2023-08-20 18:20:22  INFO: Columns disablereports(BOOLEAN) added to tc_servers
2023-08-20 18:20:22  INFO: Columns disablereports(BOOLEAN) added to tc_users
2023-08-20 18:20:22  INFO: Column tc_orders.toAddress renamed to toaddresstmp
2023-08-20 18:20:22  INFO: Column tc_orders.fromAddress renamed to fromaddresstmp
2023-08-20 18:20:22  INFO: Column tc_orders.toaddresstmp renamed to toaddress
2023-08-20 18:20:22  INFO: Column tc_orders.fromaddresstmp renamed to fromaddress
2023-08-20 18:20:22  INFO: ChangeSet changelog-5.0::changelog-5.0::author ran successfully in 10ms
2023-08-20 18:20:22  INFO: Index idx_drivers_uniqueid created
2023-08-20 18:20:22  INFO: Index idx_devices_uniqueid created
2023-08-20 18:20:22  INFO: Index idx_users_email created
2023-08-20 18:20:22  INFO: Index idx_users_login created
2023-08-20 18:20:22  INFO: Index idx_users_token created
2023-08-20 18:20:22  INFO: Columns overlayurl(VARCHAR(512)) added to tc_servers
2023-08-20 18:20:22  INFO: ChangeSet changelog-5.1::changelog-5.1::author ran successfully in 13ms
2023-08-20 18:20:22  INFO: Columns status(CHAR(8)) added to tc_devices
2023-08-20 18:20:22  INFO: Columns geofenceids(VARCHAR(128)) added to tc_devices
2023-08-20 18:20:22  INFO: ChangeSet changelog-5.2::changelog-5.2::author ran successfully in 4ms
2023-08-20 18:20:22  INFO: Columns fixedemail(BOOLEAN) added to tc_servers
2023-08-20 18:20:22  INFO: Columns fixedemail(BOOLEAN) added to tc_users
2023-08-20 18:20:22  INFO: Columns expirationtime(TIMESTAMP) added to tc_devices
2023-08-20 18:20:22  INFO: Table tc_keystore created
2023-08-20 18:20:22  INFO: Index idx_users_token dropped from table tc_users
2023-08-20 18:20:22  INFO: Column tc_users.token dropped
2023-08-20 18:20:22  INFO: ChangeSet changelog-5.3::changelog-5.3::author ran successfully in 13ms
2023-08-20 18:20:22  INFO: Columns motionstate(BOOLEAN),motiontime(TIMESTAMP),motiondistance(DOUBLE),overspeedstate(BOOLEAN),overspeedtime(TIMESTAMP),overspeedgeofenceid(INT) added to tc_devices
2023-08-20 18:20:22  INFO: Table tc_commands_queue created
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_commands_queue (deviceid)
2023-08-20 18:20:22  INFO: Index idx_commands_queue_deviceid created
2023-08-20 18:20:22  INFO: ChangeSet changelog-5.4::changelog-5.4::author ran successfully in 17ms
2023-08-20 18:20:22  INFO: Column tc_commands_queue.description dropped
2023-08-20 18:20:22  INFO: ChangeSet changelog-5.5::changelog-5.5::author ran successfully in 2ms
2023-08-20 18:20:22  INFO: Columns motionstreak(BOOLEAN) added to tc_devices
2023-08-20 18:20:22  INFO: Table tc_reports created
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_reports (calendarid)
2023-08-20 18:20:22  INFO: Table tc_user_report created
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_report (userid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_user_report (reportid)
2023-08-20 18:20:22  INFO: Table tc_group_report created
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_report (groupid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_group_report (reportid)
2023-08-20 18:20:22  INFO: Table tc_device_report created
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_report (deviceid)
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_device_report (reportid)
2023-08-20 18:20:22  INFO: ChangeSet changelog-5.6::changelog-5.6::author ran successfully in 36ms
2023-08-20 18:20:22  INFO: Columns commandid(INT) added to tc_notifications
2023-08-20 18:20:22  INFO: Foreign key constraint added to tc_notifications (commandid)
2023-08-20 18:20:22  INFO: ChangeSet changelog-5.7::changelog-5.7::author ran successfully in 5ms
2023-08-20 18:20:23  INFO: Column tc_devices.geofenceids dropped
2023-08-20 18:20:23  INFO: Columns geofenceids(VARCHAR(128)) added to tc_positions
2023-08-20 18:20:23  INFO: ChangeSet changelog-5.8::changelog-5.8::author ran successfully in 5ms
2023-08-20 18:20:23  INFO: UPDATE SUMMARY
2023-08-20 18:20:23  INFO: Run:                         43
2023-08-20 18:20:23  INFO: Previously run:               0
2023-08-20 18:20:23  INFO: Filtered out:                 0
2023-08-20 18:20:23  INFO: -------------------------------
2023-08-20 18:20:23  INFO: Total change sets:           43

2023-08-20 18:20:23  INFO: Update summary generated
2023-08-20 18:20:23  INFO: Update command completed successfully.
2023-08-20 18:20:23  INFO: Successfully released change log lock
2023-08-20 18:20:23  INFO: Successfully released change log lock
2023-08-20 18:20:23  INFO: Command execution complete
2023-08-20 18:20:24  INFO: jetty-10.0.15; built: 2023-04-11T17:25:14.480Z; git: 68017dbd00236bb7e187330d7585a059610f661d; jvm 17.0.6+10
2023-08-20 18:20:24  INFO: Started o.t.w.@4e7eba9f{/,null,AVAILABLE}
2023-08-20 18:20:24  INFO: Session workerName=node0
2023-08-20 18:20:25  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2023-08-20 18:20:25  INFO: Started o.e.j.s.ServletContextHandler@3f5ac587{/,null,AVAILABLE}
2023-08-20 18:20:25  INFO: Started ServerConnector@6723cce7{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2023-08-20 18:20:25  INFO: Started Server@7bce9ce4{STARTING}[10.0.15,sto=0] @9450ms
2023-08-20 18:20:25  INFO: Health check enabled with period 480000
2023-08-20 18:21:00  INFO: user: 0, action: create, object: user, id: 1
2023-08-20 18:21:09  INFO: user: 1, action: login, from: xxx.xxx.xxx.xxx
Anton Tananaev2 years ago

Are you just replacing the JAR from the master branch in Traccar 5.8? It won't work like that. You have to have all other resources matching your version.

koan2 years ago

Track-trace, Anton Tananaev, thanks for answer!

Антон, что подразумевается под всеми остальными ресурсами? Я заменил не только tracker-server.jar, но и все jar файлы в каталоге lib.
Когда проект собирался по Вашей инструкции - в каталоге target формируется tracker-server.jar, а в каталоге target/lib все необходимые библиотеки.
Как правильно тогда мне "собирать" и устанавливать сделанный билд программы? Я хочу попробовать немного расширить код под свои нужды.
Благодарю за ответ!

Anton Tananaev2 years ago

Все остальные файлы которые у вас в папке traccar. Например схема базы данных.

koan2 years ago

Премного благодарен! Всё получилось