is there a list of output error & troubleshoting?

UTDT a month ago

I haven't connected to the traccar server for a cpl of months and, I have however, upgraded the system a few times in that time so, some .conf files have surely changed.

I don't know why I can't connect to the server anymore because I can't find what this error message means:

2026-01-13 18:33:22 ERROR: Main method error - - SAXParseException (... < Config:45 < <gener:-1 < *:-1 < ... < Main:117 < *:111)

Could anyone help, please?

Thanks in advance

Anton Tananaev a month ago

This error likely indicates that your configuration file is invalid XML. Make sure you escape all characters that need to be.

UTDT a month ago

Anton Tananaev
This error likely indicates that your configuration file is invalid XML. Make sure you escape all characters that need to be.

<entry key='database.driver'>com.mysql.cj.jdbc.Driver</entry>
<entry key='database.url'>jdbc:mysql://localhost/livetracking?zeroDateTimeBehavior=round&serverTimezone=UTC&allowPublicKeyRetrieval=true&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'>********</entry>

Thanks Anton, but I really don't know what characters I should 'escape'
This is what my traccar.xml looks like:

UTDT a month ago

sorted. I didn't realize the port was missing

Anton Tananaev a month ago

The issue definitely wasn't with the port. You must have changed something else as well.

UTDT a month ago

Anton Tananaev
The issue definitely wasn't with the port. You must have changed something else as well.

Yes, to be more specific, i had two square brackets with nothing within (where the port number should have been).

Thanks for the support Anton