Traccar Server on Yunohost - offline - behind reverse proxy (npm)

Moto1987a day ago

Hello everyone,

I have a Yunohost server where I've installed Traccar. Traccar itself is accessible via the subdomain I created in Yunohost and configured in the reverse proxy, however, the server is listed as offline under "Settings" - "Info".

What could be the reason for this? Port 8082 is open in the router to the Yunohost server. Ports 80 and 443 are open on the reverse proxy.

Screenshot 2025-11-20 085244.png

Screenshot 2025-11-20 085314.png

Screenshot 2025-11-20 085338.png

Moto1987a day ago

Strange, I read that WebSocket needed to be activated, and I simultaneously entered port 8082 and the webpage in the traccar.xml file, and suddenly the server was online.

Now I've set up a mobile phone and added it to the server, but it's showing as "offline."

Where do I need to open the ports (in this case, 5055)? On the Yunohost server or on the reverse proxy?

The port for the Yunohost server is already open on the router.

Moto1987a day ago

I tried entering only the domain name in the app for testing purposes, without the port, and the phone was online.

Do I have to do this for all devices? Or do I need to enter port 8082 or 80 for OBD connectors, for example?

And can I simply change the database in traccar.xml? Or do I need to change something in Yunohost?

Anton Tananaev19 hours ago

For real devices you have to use the correct ports.