server won't restart after add database.saveOriginal

linkithub 3 years ago

i want save raw data in DB but when i add <entry key='database.saveOriginal">true</entry> server won't restart.
i got this error Job for traccar.service failed because the control process exited with error code. See "systemctl status traccar.service" and "journalctl -xe" for details.
i am using 3.5 version.....

Anton Tananaev 3 years ago

You're using different quotes. That's most likely the issue.

linkithub 3 years ago

if i use new version 5.5 can i save raw data in my database ?

Anton Tananaev 3 years ago

Why not?

linkithub 3 years ago

ok let me update and try to add <entry key='database.save Original">true</entry> and test again thanks for support

Anton Tananaev 3 years ago

Obviously it won't work if you add this invalid line.

linkithub 3 years ago

can you tell which is the correct config line ....

linkithub 3 years ago
<entry key='database.saveOriginal">true</entry>
Anton Tananaev 3 years ago

Please read my first comment more carefully.

linkithub 3 years ago

yes i read i add space between save Original.
so this line is correct right <entry key='database.saveOriginal">true</entry>

Anton Tananaev 3 years ago

No, it's not correct. You completely ignored the original issue.

linkithub 3 years ago

ok can you explain me how i save raw data in database can give me example

Anton Tananaev 3 years ago

I already explained what you need to fix. Please go back and read it.

linkithub 3 years ago
? traccar.service - LSB: traccar
   Loaded: loaded (/etc/init.d/traccar; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2023-01-30 22:22:34 +07; 14s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 4645 ExecStart=/etc/init.d/traccar start (code=exited, status=1/FAILURE)
    Tasks: 0
   Memory: 33.0M
      CPU: 1.057s

Jan 30 22:22:30 systemd[1]: Starting LSB: traccar...
Jan 30 22:22:30 traccar[4645]: Starting traccar...
Jan 30 22:22:34 traccar[4645]: Waiting for traccar......
Jan 30 22:22:34 traccar[4645]: WARNING: traccar may have failed to start.
Jan 30 22:22:34  systemd[1]: traccar.service: Control process exited, code=exited status=1
Jan 30 22:22:34  systemd[1]: Failed to start LSB: traccar.
Jan 30 22:22:34  systemd[1]: traccar.service: Unit entered failed state.
Jan 30 22:22:34  systemd[1]: traccar.service: Failed with result 'exit-code'.
linkithub 3 years ago

i don't know how i fix this