(***) In notifications

Alvaro Villa last year

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 Tananaev last year

This means you're missing templates.

Alvaro Villa last year

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 Tananaev last year

Why would you put old templates?

Alvaro Villa last year

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.

ftc last year

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 Tananaev last year

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

ftc last year

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.

ftc last year

This is even reproducible on latest master.

Anton Tananaev last year
  1. Have you changed anything in the templates folder?
  2. What type of notification are you testing?
ftc last year

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 Tananaev last year

This is expected behavior.

bravo.123 last year

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

Anton Tananaev last year

Which type?

bravo.123 last year

The type of what? telegram?