Push Notifications

Jaccob 2 years ago

Good Afternoon,

I currently have server and all app's installed on my devices.
I've added the below info to my traccar.xml i don't see an option to select traccar under notifications

<entry key='notificator.types'>traccar,...</entry>
<entry key='notificator.traccar.key'>TRACCAR_KEY</entry>
Jaccob 2 years ago

All i see is command web and mail.

Anton Tananaev 2 years ago

Have you restarted the service?

Jaccob 2 years ago

It's in a docker container and yes i restarted the container.

Jaccob 2 years ago

There way to restart traccar in the container?

I tried to do that but didn't have any luck.

Anton Tananaev 2 years ago

You have to restart the container. But make sure your config file is external.

Jaccob 2 years ago

Ahh okay so i can just nano in the container and input that in there?

Anton Tananaev 2 years ago

No, you can't because when you restart the container it will reset everything.

Jaccob 2 years ago

So i'll need to edit the file in the container then restart the service in the container?

Anton Tananaev 2 years ago

Your configuration file should be outside of the container.

Jaccob 2 years ago

but don't restart the container itself?

Anton Tananaev 2 years ago

You have to restart.

Jaccob 2 years ago

Restart the container or the service in the container?

Jaccob 2 years ago

I've already adjusted the traccar.xml outside of the container....

Anton Tananaev 2 years ago

There is no service in the world of containers.