Are you sure you've changed the right file? Have you restarted the service after changing the config?
thanks for your reply.
Yes, i've restarted the server after each modification.
I change the file traccar.xml in the conf folder.To be sure, i erase temporary this file and traccar won't start.
Are you using Docker? How are you restarting it?
Yes, docker.
i shutdown the contener and power on after modification.
Why dont you show what you have added in traccar.xml in the first place?
yes, right :
<entry key='mail.smtp.port'>587</entry>
<entry key='mail.smtp.starttls.enable'>true</entry>
<entry key='mail.smtp.host'>smtp.gmail.com</entry>
<entry key='mail.smtp.from'>blabla@gmail.com</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>blabla@gmail.com</entry>
<entry key='mail.smtp.password'>xxxxxxxxxxxxxxxx</entry>
Are you sure it doesn't reset the configuration when you restart the container?
yes, sure, the modification stay.
This error can only happen if mail.smtp.host
is not set in the config. So you must be missing something.
ok, but this line is ok :
<entry key='mail.smtp.host'>smtp.gmail.com</entry>
it seems traccar don't read the setting in traccar.xml like my other problem in a other post with event forwarding, is it possible.
i've seen the folder in traccar\db and traccar\traccar\db are empty, is it normal ?
thanks for your help
Karl
Not possible because Traccar won't launch without config file, so it is reading some config, but might not be the same file you're modifying.
There's no "db" folder. Where did you get it from?
it's the good file because if i delete it, traccar won't boot...
And you're using the latest official release?
yes (i think), 5.8
Hi everybody,
my traccar server work well on my synology Nas but i can't have notification by mail (gmail).
I follow this step by step : https://www.traccar.org/gmail/
but i've got this error in the web app :
like traccar doesn't read my mail setting in traccar.xml :(
thanks for help
Karl