[ Traccar ] [ 5.4.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
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

arm-x31 miss a symlink in /lib makin not cross compiled binaries cant find ELF, this is case for QJDK8... a ticket is already open to R&D
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
henrygb
New here
Posts: 5
Joined: Fri Oct 18, 2013 6:35 pm

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

Post by henrygb »

Help to install.

This is my system
TS-869, FW 4.3.4, QJDK8 1.8.71, traccar_3.17.0_x86 (tested with traccar_3.17.0_x86_64 too) and the Web Interface dont work, the simple config pag its working.
Did ssh and /etc/init.d/traccar.sh restart, the answer is /etc/init.d/traccar.sh: line 59: kill: (24663) - No such process

This is my first installation. What could be wrong?
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

you need QJDK8 64bits ... x86_64 and enalbe webserver on NAS

you installed QJDK8 32bit
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
henrygb
New here
Posts: 5
Joined: Fri Oct 18, 2013 6:35 pm

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

Post by henrygb »

Thanks for your answer.

Now installed Traccar 3.17.0, and QJDK8 1.8.172 from QNAP CLUB repository, now this is in log

2018-07-22 16:58:43 INFO: Operating system name: Linux version: 3.4.6 architecture: amd64
2018-07-22 16:58:43 INFO: Java runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.172-b11
2018-07-22 16:58:43 INFO: Memory limit heap: 239mb non-heap: 0mb
2018-07-22 16:58:43 INFO: Character encoding: ANSI_X3.4-1968 charset: US-ASCII
2018-07-22 16:58:43 INFO: Version: 3.17-SNAPSHOT
2018-07-22 16:59:08 INFO: Starting server...

When restart the QNAP many times the time stamp no change in log.
When SSH and /etc/init.d/traccar.sh restart now just line without answer, and the Web interface still not working
henrygb
New here
Posts: 5
Joined: Fri Oct 18, 2013 6:35 pm

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

Post by henrygb »

Well, installed traccar_3.17.0_x86_64, and the web interface are working now.

Now another problem, installed traccar client in android phone, configured the ip server, and port 5055, but cant send data to my qnap server.

The port 5055 it is open by default in the qnap and traccar server?
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

Becarefull

all ports are disabled by default in config file... ( some of them are conflicting with NAS )
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
henrygb
New here
Posts: 5
Joined: Fri Oct 18, 2013 6:35 pm

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

Post by henrygb »

how enable it?
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

within the config file at the end of file
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
henrygb
New here
Posts: 5
Joined: Fri Oct 18, 2013 6:35 pm

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

Post by henrygb »

Well, I'm tryng to solve the problem, maybe a dumb question, in the config file the ports are not enable?

<!-- <entry key='osmand.port'>5055</entry> -->
<!-- <entry key='easytrack.port'>5056</entry> -->
<!-- <entry key='gpsmarker.port'>5057</entry> -->
<!-- <entry key='khd.port'>5058</entry> -->

how to enable a port using the WebUi?
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

they are comennted you need uncommented and restart qpkg

ex :

<!-- <entry key='osmand.port'>5055</entry> -->

must become

<entry key='osmand.port'>5055</entry>
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

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

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

Post by QNAP_Stephane »

updated
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
rocko
New here
Posts: 2
Joined: Thu Aug 14, 2014 8:28 pm

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

Post by rocko »

Hi,

How can I update from the repo? It shows V4.0.0, current version v3.17.0 but the only options I have are to stop or remove - no update like other QnAP apps....

If I have to remove, how do I go about backing up the database?

Thanks in advance

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

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

Post by QNAP_Stephane »

it is fw bug... R&D work on it
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Tryphon
Getting the hang of things
Posts: 57
Joined: Sat Jul 24, 2010 3:02 am

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

Post by Tryphon »

Hello,

I just installed Traccar 4.0 on a TS-653 + QTS 4.3.3 + QJDK8 1.8.172. I can access the config page and I uncommented all the lines in the server config section. I checked the port 5001 to 5178 within a ssh terminal :

for uport in {5001..5178}; do lsof -i :$uport; done;

and there was nothing to display.

I edited ./conf/traccar.xml to enter user/password to grant access to phpMyAdmin 4.8.2.0 (not sure if Traccar is using MySQL or SQLite ...)
I restarted Traccar:

./traccar.sh restart
./traccar.sh: line 59: kill: (9354) - No such process

I checked the log file :
cat ./logs/output.log

nothing to display in this file.

This address yields "Unable to connect" :
http://IPNAS:18082

I am sure Java is working since I use Ubooquity 2.1.1 without trouble.

It seems Traccar never starts and I see no reason after reading this thread ...

Any idea ?

Thank you.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

basically if it doesnt start... it is because there is problem in config file or a port is used by your Qnap and Traccar doesnt start (anyway should be display in logs)
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Post Reply

Return to “Community Apps”