I would recommend to check out main Traccar repo with submodules. Then just run Traccar project and web app will work automatically.
main traccar repo is this:
when i try to run the source code obtained from link 1 in eclipse ...
each time after i login , the login page is displayed again n again in output ...
what could be the reason?
following this link :
link
after clicking on maven ->next -->next--> import project window shows "nothing to show/import"
am i missing something?
followed this link to build ttaccar in netbeans:
netbeans-traccar
--- exec-maven-plugin:1.2.1:exec (default-cli) @ traccar ---
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
INFO 4/10/18 6:16 PM: liquibase: Clearing database change log checksums
INFO 4/10/18 6:16 PM: liquibase: Successfully acquired change log lock
INFO 4/10/18 6:16 PM: liquibase: Successfully released change log lock
INFO 4/10/18 6:16 PM: liquibase: Successfully acquired change log lock
INFO 4/10/18 6:16 PM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO 4/10/18 6:16 PM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO 4/10/18 6:16 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-196] [Failed SQL: ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token]
INFO 4/10/18 6:16 PM: liquibase: Successfully released change log lock
[main] INFO org.eclipse.jetty.util.log - Logging initialized @6171ms
[main] INFO org.eclipse.jetty.server.Server - jetty-9.2.24.v20180105
[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@78d6447a{/api,null,AVAILABLE}
[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@6a094db2{/console,null,AVAILABLE}
[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.t.w.@75ae4a1f{/,null,AVAILABLE}
[main] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@21bd20ee{HTTP/1.1}{0.0.0.0:8082}
[main] INFO org.eclipse.jetty.server.Server - Started @9990ms
but when i put http://localhost:8082 in browser ...
shows '404 not found'
what might be the error??
Hello @saikrupa2012@gmail.com
Main repo is called Traccar:
https://github.com/traccar/traccar
You need to clone it with submodules.
Boa tarde, Sou novo aqui, moro no Brasil, estou aprendendo a trabalhar com este sistema. Alguém poderia me ajuadar como alterar a porta de acesso padrão de http://localhost:8082 para outra qualquer . Obrigado!
@Rodrigues, please don't ask questions on random unrelated threads.
I had the same problem of '404 not found' when I navigate to http://localhost:8082 in browser
As Anton mentioned we need to clone it with submodules.
As per this doc https://git-scm.com/book/en/v2/Git-Tools-Submodules
You must run two commands:
git submodule init to initialize your local configuration file,
and git submodule update to fetch all the data from that project and check out the appropriate commit listed in your superproject:
What I did was clone the traccar-web git repo and replace the traccar-web folder in the traccar main project.
It worked, just though to share hoping it might help someone
Hello! i´m having problems running the traccar web here too. How do I clone the repo with submodules?
check here
https://www.traccar.org/build/
after downloading source code of traccar web from github and extracting files from zip folder...how to build and run traccar web interface?