Build from source

anpalama2 years ago

after biuld from source traccar-server starts but there is no access to the website
log looks like: Started/STOPPED

2023-04-05 07:34:23  INFO: jetty-10.0.13; built: 2022-12-07T20:13:20.134Z; git: 1c2636ea05c0ca8de1ffd6ca7f3a98ac084c766d; jvm 17.0.6+10
2023-04-05 07:34:23  INFO: Started o.t.w.@19697ae{/,null,AVAILABLE}
2023-04-05 07:34:24  INFO: Session workerName=node0
2023-04-05 07:34:26  INFO: [T44938116] connected
2023-04-05 07:34:27  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2023-04-05 07:34:27  INFO: Stopped o.t.w.@19697ae{/,null,STOPPED}
Anton Tananaev2 years ago

Not enough information to be able to tell anything. You haven't told us what revision/branch/tag you're building it from. No version info.

fecondori2 years ago

First, if your traccar-server its working properly you could verify doing a request to http://DOMAIN:8082/api/server if everything is fine you got an JSON with your server settings. For the website its also necessary to build the project with npm build and npm start in the modern directory.

anpalama2 years ago

After build traccar server runs but no connection via website possible. I have to replace the new jar-file with an older one and than it runs properly

2023-04-07 15:23:08  INFO: Starting server...
2023-04-07 15:23:09  INFO: HikariPool-1 - Starting...
2023-04-07 15:23:12  INFO: HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@1a3be26
2023-04-07 15:23:12  INFO: HikariPool-1 - Start completed.
2023-04-07 15:23:14  INFO: Clearing database change log checksums
2023-04-07 15:23:15  INFO: Successfully acquired change log lock
2023-04-07 15:23:16  INFO: Successfully released change log lock
2023-04-07 15:23:16  INFO: Successfully acquired change log lock
2023-04-07 15:23:25  INFO: Reading from traccar.DATABASECHANGELOG
2023-04-07 15:23:28  INFO: Reading from traccar.DATABASECHANGELOG
2023-04-07 15:23:29  INFO: Successfully released change log lock
2023-04-07 15:23:32  INFO: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
2023-04-07 15:23:40  INFO: jetty-10.0.13; built: 2022-12-07T20:13:20.134Z; git: 1c2636ea05c0ca8de1ffd6ca7f3a98ac084c766d; jvm 17.0.6+10
2023-04-07 15:23:40  INFO: Started o.t.w.@1e8aaeb{/,null,AVAILABLE}
2023-04-07 15:23:40  INFO: Session workerName=node0
2023-04-07 15:23:43  INFO: [T6395b6ac] connected
2023-04-07 15:23:43  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2023-04-07 15:23:44  INFO: Stopped o.t.w.@1e8aaeb{/,null,STOPPED}
2023-04-07 15:23:44  INFO: [T6395b6ac: huabao < 46.114.91.118] 7e0102000c01917206859711bf3031393137323036383539375e7e
2023-04-07 15:23:45  INFO: [T6395b6ac: huabao > 46.114.91.118] 7e80010005019172068597000011bf010200df7e