Upgrading Traccar 4.14 to 5.8 with no luck

Hi everyone,
The last days, I'm trying to upgrade my Traccar 4.14 to the new version 5.8 on a Raspberry Pi 4 with no luck.
Actually, in order to do not risk any of my previous logs, here is what I'm doing,

  • I've backup all files from conf/ data/ and logs/ folders from 4.14
  • on a new SD card, I do a Raspbian Bullseye fresh install and a new Traccar 5.8 installation
  • then I am editing the conf files, changing the web port and I add the notification API
  • I replace the database.mv.db file in data/ folder
  • and finally I copy all the log files from 4.14 to the new 5.8

I read a lot of posts talking about the database issue, and I did all the possible solutions (at least I tried) without making it work.
Is there a walk through that includes the whole procedure, including the db fix?
Would be really appreciated.

Track-tracea year ago

Why dont you write what errors you get and what errors you see in traccar logfile?

Im sure anyone willing to help you would need to know those details to be able to give you advice.

Anton Tananaeva year ago

If you're using H2 database, it's not going to be as simple. You have to migrate the database file to the new format. There are some forum threads about it. But my recommendation would be to move to a proper database, like MySQL.

Yes you right,
I've got several logs after multiple tries, one of them was

INFO: Waiting for changelog lock....

I can say it is a db error, I've made other upgrades on releases in the past but never had these kinds of errors.

Yes @Anton Tananaev,
I've tried the above ways with no luck, First I had to install Java, correct me if I'm wrong:
https://www.traccar.org/forums/topic/error-to-update-to-415/

then I tried to remove db lock using the above walkthrough
https://www.traccar.org/forums/topic/how-to-remove-lock-databasechangeloglock-default-h2-database/

Is there a walkthrough to move to MySQL database?

Anton Tananaeva year ago

There are some walkthroughs for the MySQL migration on the forum.