Unknown device means that it's not in the database.
Anton,
its already in the database and it works properly when restarted traccar. please check attached log file you will get idea
I thinks its bug in system.
Below is configuration related to DB.
<entry key='database.driver'>com.mysql.jdbc.Driver</entry>
<entry key='database.url'>jdbc:mysql://localhost:3306/devDB?serverTimezone=UTC&useSSL=false&allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry>
<entry key='database.user'>root</entry>
<entry key='database.password'>Cu#l8jMDN#Dn25</entry>
<entry key='database.selectDevicesAll'>
SELECT * FROM tc_devices;
</entry>
Very unlikely it's a bug in the system. There are thousands of installations out there working just fine.
Why it showing unknown device even that device is already in database. Can you please check log file that all recorded and check other devices which is showing unknown device. This all devices available in the database.
If showing unknown device then, I restarted traccar then it works well and getting proper data but after one or two hours it showing again unknown device. What is the exactly problem?? And i already followed your doc before you ask question. thanks for reply.
Anton, please help to us get out sortable this issue.
We have paid support if you need someone to check your server.
when you are adding the device are you adding the leading zero 0804611160. I had the same issue as device imei comes as a long but on conversion the string adds the leading zero
Yes but after restart traccar it working fine until two or three hours and then it same again showing unknown device. its bug in traccar system and Anton said for paid support to look into our server.
Please don't claim that there is a bug in Traccar unless you have a proof. This is just your guess based on zero evidence.
From the logs its actually showing unknown device after a while. Can you do a fresh installation with the latest code base. I have a couple of devices and am not facing the same issue c
Hello Anton,
So many devices showing WARN: Unknown device and that devices already in database. and after restarted listener it working fine.
Please help for this to find root cause and also attached server-log file URL it may be helpful to find cause.
https://drive.google.com/file/d/1ER70cxWxQfrmBjkWlJNy4grRSg3q2QEq/view?usp=sharing