Api Server not found

az20128 years ago

Hello,
I have a stupid problem,
I compile traccar from github source and install traccar server and traccar-web
on Fedora 24. After I start the server, trying from command-line

java -jar target/tracker-server.jar setup/traccar.xml

or by script startDaemon.sh under /opt/traccar/bin

The service start with any errors,

INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed

but when I connect locally by Browser I get the pop-up Error:
The Request URL ... /traccarweb/api/server was not found in this Server
Apache 2.4.25 (Fedora) OpenSSL etc. etc.
(I install the Web Interface under /traccarweb Apache Virtual host)

So, please where is my configuration mistakes ? What I missed to install or configure ?

Thanks for Any Helps
AZ2012

Anton Tananaev8 years ago

Your mistake is using Apache. Traccar already includes a web server.

It is possible to host static files on Apache, but it's much more complicated.

az20128 years ago

OK I understand , thanks Antonov

az20128 years ago

My Web Server Traccar

Thanks Anton again! GOOD JOB!

When you wrote me "Your error is install Apache,it is inside traccar-server"
the light switch on my mind, and just in an hour, I solved every my problem.

So now,
I have the pleasure to announce that Traccar Server works on Fedora 24 by mariadb background support!

Your wonderfull products are usefull,beatyfull, very simple, and at last "open source"!
WOW! (But at this moment, is not so for your documentation ;) )

See you again
AZ2012

az20128 years ago

P.S. Of course the key to understand what happening is ... watch always ... the traccar/logs directory ... and ... only after .. ask to Antonov!

az20128 years ago

https://geolink.io/

GEOLINK (austria) this product is Traccar EUROPE ?
It 's the same! But is not free!

az20128 years ago

It's interesting Geolink develop a custom low cost GPS board (see it in Web Site)

az20128 years ago

It's interesting Geolink develop a custom low cost GPS board (see it in Web Site)
https://geolink.io/opentracker.php
This board is Arduino compatible and sorry this company build non only open source solution,
but it is also open hardware (see the link)
Traccar Arduino Compatible (WOW!)
Good Idea

Anton Tananaev8 years ago

I don't think $150 (2G) and $180 (3G) can be considered as low prices.

az20128 years ago

Ok but I think is all inclusive the board sw and annual fire for servire. Wien is very expensive... ?

az20128 years ago

In this moment I are configuring the firewall indeed this product is very easy to manage I open Just only one port Amazing.. ? ? ?

Anton Tananaev8 years ago

Even if you subtract their service, the price is pretty steep comparing to cheap Chinese devices and even some branded GPS trackers.

az20128 years ago

Ok I m italian... So W Arduino ?

az20128 years ago

Ok I finish all works I try to track my son Phone on the street Link to my remote server from my Phone in the Park and... Is slow but works!