Move from windows to Raspberry

jonas3 8 years ago

Is it possible to move device, account, and log from a windows installation to a Raspberry pi installation?
I have tried to copy and move the database in to the new installation but then Traccar wont start up.
Please give me a hint.
By the way, thanks for an extremely stable software. Good work!

Anton Tananaev 8 years ago

It should be possible. If it doesn't start you need to check logs.

jonas3 8 years ago

Is there any special trick to copy the database or is it just to move it like it is?

jonas3 8 years ago
java -jar tracker-server.jar conf/traccar.xml
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
INFO 3/12/18 6:38 AM: liquibase: Clearing database change log checksums
INFO 3/12/18 6:38 AM: liquibase: Waiting for changelog lock....
INFO 3/12/18 6:38 AM: liquibase: Waiting for changelog lock....
INFO 3/12/18 6:38 AM: liquibase: Waiting for changelog lock....
INFO 3/12/18 6:39 AM: liquibase: Waiting for changelog lock....
Anton Tananaev 8 years ago

It means that your database is in a locked state. Usually it means that you stopped service during schema check/upgrade. It has been discussed on forum several times.