Problems migrating from 5 -> 6.12 RPi3 ARM

Pepe 8 hours ago

Hi,
After upgrading from 5 -> 6.12 in RPI3B+ traccar keeps itself in a loop of failing service starts.

Had traccar 5 server running on RPI3B+, Raspian Bookworm, with Caddy to support HTTPS, RPI Config optimized for power saving incl. underclock and volt. H2 Database, 2 devices. Basically no issues with 5, except notification issue: email config/Notification had no test button --> wanted to try upgrade.
Followed instructions here: https://www.traccar.org/upgrading-traccar/

unfortunately backing up both database and config xml file to a folder that got deleted during uninstall, config and DB are lost - not so much of an issues - all test related so far - but annot compare old XML config files anymore.

When Installing 6.12 all went along smoothly, no errors.
Problem now: traccar service doesn't start correctly, no log is written to traccar/logs.

Thought undervoltage/clock would be a problem so at least lifted voltage back up.
Too, some forum entries pointed to JRE/JDK and XML format issues with installation.
So uninstalled - updated to JDK 17 - reinstalled 6.12.
Also made sure traccar.xml is default.

Problem remained.

service status (code=exited, status=1/FAILURE)
@raspberrypi:/opt/traccar/jre $ sudo systemctl status traccar
* traccar.service - traccar
    Loaded: loaded (/etc/systemd/system/traccar.service; enabled; preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Mon 2026-03-02 16:11:53 CET; 7s ago
    Process: 3419 ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml (code=exited,status=1/FAILURE)
   Main PID: 3419 (code=exited, status=1/FAILURE)
        CPU: 2.608s

Can't make sense of the restarts here - is Java the issue:

sudo journalctl -u traccar.service
M�r 02 15:34:33 raspberrypi systemd[1]: Started traccar.service - traccar.
M�r 02 15:34:51 raspberrypi traccar[466]: Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
M�r 02 15:34:51 raspberrypi traccar[466]:         at org.traccar.Main.<clinit>(Main.java:42)
M�r 02 15:34:51 raspberrypi traccar[466]: Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
M�r 02 15:34:51 raspberrypi traccar[466]:         at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
M�r 02 15:34:51 raspberrypi traccar[466]:         at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
M�r 02 15:34:51 raspberrypi traccar[466]:         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
M�r 02 15:34:51 raspberrypi traccar[466]:         ... 1 more
M�r 02 15:34:51 raspberrypi systemd[1]: traccar.service: Main process exited, code=exited, status=1/FAILURE
M�r 02 15:34:51 raspberrypi systemd[1]: traccar.service: Failed with result 'exit-code'.
M�r 02 15:34:51 raspberrypi systemd[1]: traccar.service: Consumed 4.012s CPU time.
M�r 02 15:35:18 raspberrypi systemd[1]: traccar.service: Scheduled restart job, restart counter is at 1.
M�r 02 15:35:18 raspberrypi systemd[1]: Stopped traccar.service - traccar.
M�r 02 15:35:18 raspberrypi systemd[1]: traccar.service: Consumed 4.012s CPU time.

My traccar.xml contains nothing but standard installation entries:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>

    <!-- Documentation: https://www.traccar.org/configuration-file/ -->

    <entry key='database.driver'>org.h2.Driver</entry>
    <entry key='database.url'>jdbc:h2:./data/database</entry>
    <entry key='database.user'>sa</entry>
    <entry key='database.password' />

</properties>

Any Help welcome

Anton Tananaev 8 hours ago

Is your system 32 or 64 bits?

Pepe 7 hours ago

Soorry for the delay: that's AARCH64 (uname -m)

Did I download the wrong Architecture?

Anton Tananaev 6 hours ago

Sounds correct. Have you tried searching the forum for other similar issues?

Pepe 6 hours ago

Yes I did.
Some had to do with architecture. Some with XML formatting probably. Some with Java. Seldom the same service messages or if so with description or logs. But no logs here.

Afaik I had some Java issues on this machine .
Probably this has to do with the power saving settings. I research and get back here...