Traccar 6.9.0 fails to start

renaud2 months ago

Hello,

I have just upgraded traccar to 6.9.0 and I have this:

2025-08-20 09:01:44 ERROR: Main method error - /usr/local/share/traccar/./override - AccessDeniedException (... < WebServer:140 < *:95 < MainModule:202 < <gener:-1 < *:-1 < ... < Main:125 < ...)

So traccar process dies.

renaud2 months ago

I don't think it's a good idea for traccar to have permissions to write into its main folder. Maybe a subdirectory with correct permissions could be created, but giving traccar the right to write in the main dir is probably not a good idea.

Anton Tananaev2 months ago

I believe you can just create that folder yourself.

renaud2 months ago

Do you mean it's trying to create a folder called "override"? I thought this was a normal file.

Anton Tananaev2 months ago

Folder.

renaud2 months ago

OK, thanks, I modified it to be a symlink in the db directory as no normal user should write to /usr/local. The OpenBSD port has been submitted.

Juliet Tee2 months ago

Traccar Server 6.9.0 service fails to start

Followup from previous posts ...

https://www.traccar.org/forums/topic/traccar-server-680-service-failed-to-start/page/6/#post-113917

Anton Tananaev2 months ago

Juliet Tee your comment is completely off-topic here. It's a very different issue.

dlc_12353215 days ago

Hello Anton,

I have this issue also. Even with the 6.10 version. The problem is that I am using the helm chart. Is there any way to resolve this? I am getting:

ERROR: Main method error - /opt/traccar/./override - AccessDeniedException (... < WebServer:140 < *:95 < MainModule:202 < <gener:-1 < *:-1 < ... < Main:125 < ...)

Anton Tananaev5 days ago

Seems like you have some permission issues.

dlc_12353215 days ago

Sure, I run with user 0 (The default in the values is 1000) and worked. Thanks. But I think it is insecure to run as root.

Anton Tananaev5 days ago

I don't think anything forces you to use root. Just need to have right folder permissions.