[ Traccar ] [ 4.5.0 ] GPS tracking system OpenSource

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
vytas9425
New here
Posts: 5
Joined: Sat Jun 16, 2018 12:51 am

Re: [ Traccar ] [ 4.0.0 ] GPS tracking system OpenSource

Post by vytas9425 » Mon Apr 22, 2019 10:53 pm

erverv2004 wrote:
Thu Sep 13, 2018 5:41 pm
to answer my own question and issue : the web page that allows for modifying the configuration file destroys it (at least with firefox) and the XML parser doesn't like what it reads. It "looks" ok (text is still there) but I think identation / tabs are lost or incorrect. I'm not sure why, I thought XML was not too sensitive to this.

I copied the configuration to my share/Public folder to edit it properly with notepad++ and keep indentation (if needed). Both ports now opened and data reaching my NAS. Using a sinotrack that works really great and fantastic sleep mode <10 mA. Monitoring its current use shows small peaks of a few mA here and there, average must be 1-2mA sleep mode. Wakes up with ACC voltage (key inserted) and starts logging, or by a shock or by SMS.
Hi, can you help me with this, I have same issue, after Modifying config file app stops working. I'm trying to find this file with WinSCP, but I don't know how it's called, I found traccar folder in /share/CACHEDEV3_DATA/.qpkg, but there is only one similar config with enable all ports. Where I can find this file?

ZZZTW2A
First post
Posts: 1
Joined: Fri Jul 19, 2019 10:09 pm

Re: [ Traccar ] [ 4.3.0 ] GPS tracking system OpenSource

Post by ZZZTW2A » Fri Jul 19, 2019 10:10 pm

Could it be updated to the current Traccar Version v4.5?

User avatar
QNAP_Stephane
Experience counts
Posts: 3748
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Traccar ] [ 4.5.0 ] GPS tracking system OpenSource

Post by QNAP_Stephane » Fri Jul 19, 2019 11:09 pm

updated
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

DJMetro
New here
Posts: 2
Joined: Sat Jun 20, 2020 2:57 am

Re: [ Traccar ] [ 4.5.0 ] GPS tracking system OpenSource

Post by DJMetro » Sat Jun 20, 2020 3:00 am

Hi,
I have the TS-228A but the ports 5*** are not working. What is the problem?

User avatar
QNAP_Stephane
Experience counts
Posts: 3748
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Traccar ] [ 4.5.0 ] GPS tracking system OpenSource

Post by QNAP_Stephane » Tue Jun 23, 2020 7:15 pm

because used by QTS.. and in conflict
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

DJMetro
New here
Posts: 2
Joined: Sat Jun 20, 2020 2:57 am

Re: [ Traccar ] [ 4.5.0 ] GPS tracking system OpenSource

Post by DJMetro » Wed Jun 24, 2020 1:38 am

QNAP_Stephane wrote:
Tue Jun 23, 2020 7:15 pm
because used by QTS.. and in conflict
How can I check this?

EDIT:
Ok, I have found it. But no ports are used by QTS.
I have tryed following steps:
1. Insalled the QPKG
2. Web Config Side is available, Web Interface with port 18082 is available.
3. I restart the Traccar App or restart my NAS
4. Web Config Side is available, Web Interface with port 18082 is NOT available. But the ports 18082, 5013, 5055 are not in use.

What can I do?

melcos
New here
Posts: 2
Joined: Tue Jun 21, 2011 11:56 pm
Location: Denmark

Re: [ Traccar ] [ 4.5.0 ] GPS tracking system OpenSource

Post by melcos » Thu Jul 30, 2020 9:12 pm

same problem.

Traccar 4.7.0 QPKG
JDK8 1.8.241.1

Port 5001+ not opening

Help anyone ?????

XHT
Starting out
Posts: 25
Joined: Sun Oct 24, 2010 6:44 am
Location: Denmark

Re: [ Traccar ] [ 4.5.0 ] GPS tracking system OpenSource

Post by XHT » Thu Jul 30, 2020 11:06 pm

change the port

ssh to see process using the port.

Code: Select all

lsof -i :5001
or

Code: Select all

sudo netstat -ltnp | grep -w ':5001' 
TS451+ with Intel 840 EVO 256GB & WD RED 4tb -WD40EFRX fw 4.3.5.0760

drotr
First post
Posts: 1
Joined: Wed Aug 05, 2020 12:41 am

Re: [ Traccar ] [ 4.5.0 ] GPS tracking system OpenSource

Post by drotr » Wed Aug 05, 2020 2:28 am

Installation for Qnap 1635 and Android client and modem port forwarding

prerequisite:
Static Ip
QJDK8.qpkg
traccar.qpkg
ssh enable on qnap
sftp - ssh client (filezilla, putty, winscp, kittty etc.)
Text editor

Steps:
install qjdk 8 (which is you need)
install traccar qpkg (which is you need)
connect your modem UI and add 2 port forward
port forward on modem 5055 for client
port forward on modem 18082 for manager
Connect qnap sftp and edit traccar.xml (/share/CACHEDEV1_DATA/.qpkg/traccar or etc.)
add

Code: Select all

<entry key='osmand.port'>5055</entry>
in traccar.xml
stop traccar on qnap
start traccar on qnap
login qnap with ssh (putty, kitty)
use this command

Code: Select all

lsof -i -P -n | grep java
you need to see that
java 9431 admin 146u IPv4 106456 0t0 TCP *:18082 (LISTEN)
java 9431 admin 195u IPv4 105429 0t0 TCP *:5055 (LISTEN)
If you see that ports is in LISTEN mode.

Server:
You can connect on web interface http://qnapLocalIpaddress/traccer
server setup http://qnapLocalIPadress:18082
first login, create a user or use "admin" "admin" (change admin password and email address)
add client on server

Client
give device ID (gsm number, data line number as a uniq ID or random number)
http://qnapLocalIpaddress:5055
start service.

protips:
do not use same "entry keys" in other config files. delete or disable it same code line

Code: Select all

<-- <entry key='osmand.port'>5055</entry> -->
do not use modify button in http://qnapLocalIpaddress/traccer, do not change server config in web interface

Post Reply

Return to “Community Apps”