(***) In notifications

Alvaro Villa13 days ago

Since I updated to the 6.10 version, the web and telegrams notificacions only shows this text: (***)

Even after reinstalling version 6.10 without any modifications to the templates, the same text appears.

What is the problem?

Anton Tananaev13 days ago

This means you're missing templates.

Alvaro Villa13 days ago

I've reinstalled Traccar again and I have the default templates, the issue remains.

But when I put the old templates and the issue remains too.

Anton Tananaev13 days ago

Why would you put old templates?

Alvaro Villa13 days ago

I used it only to test.

But with a clean installation of Traccar (only with traccar.xml from the previous version) I have the same issue.

ftc7 days ago

I can confirm the issue. I even tried setting the templates.root explicitly to the directory containing the templates, but it doesn't pick them up. Any way to debug this?

Anton Tananaev7 days ago

You should test default installation without any template or configuration changes. Latest version of course.

ftc6 days ago

I just re-executed the test with 6.10.0 and it's the same.
Here the contents of my config, if this helps:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
<entry key='database.driver'>org.h2.Driver</entry>
<entry key='database.password'></entry>
<entry key='database.url'>jdbc:h2:/var/lib/traccar/database</entry>
<entry key='database.user'>sa</entry>
<entry key='logger.console'>true</entry>
<entry key='notificator.traccar.key'>ey[redacted]</entry>
<entry key='notificator.types'>traccar</entry>
</properties>

There is no error message in the log.

ftc6 days ago

This is even reproducible on latest master.

Anton Tananaev6 days ago
  1. Have you changed anything in the templates folder?
  2. What type of notification are you testing?
ftc5 days ago

Have you changed anything in the templates folder?

No, I haven't

What type of notification are you testing?

I tested with the TEST CHANNELS function.

I realized Test Template function tries to access a test.vm template which was missed during migration.

From the broken Test Template function, I concluded there must be something wrong with templates in general. But the remaining templates are working when testing real notifications.

I opened an issue in GitHub documenting that: https://github.com/traccar/traccar/issues/5702

Anton Tananaev5 days ago

This is expected behavior.

bravo.1232 days ago

Да , тоже пропали нотификации в телеграм, ставил traccar traccar/docker/compose
/traccar-timescaledb.yaml, присылает звёздочки .. в докере шаблоны есть, но он их не видит, пробовал подключать volume
- ./templates:/opt/traccar/templates:rw , в докере отображается а в нотификации звёздочки .

Anton Tananaev2 days ago

Which type?

bravo.1232 days ago

The type of what? telegram?