Wrong database schema version (301)

brant.felix9 years ago

I am stumped on this one. I am Running Traccar 3.2 with MSSQL Express on Server 2012 R2.

Here is my issue, it starts and runs without any error then after a while the service stops and when I try to restart it I get this log? Testing with a new blank database the same things happens. Sometimes it runs for a few hours, and other times for a few days. Starting and stopping the traccar service is also fine. This only happens when the service stops itself and I try to restart it.

2015-11-26 07:09:11  INFO: Operating system name: Windows Server 2012 R2 version: 6.3 architecture: amd64
2015-11-26 07:09:11  INFO: Java runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.60-b23
2015-11-26 07:09:11  INFO: Memory limit heap: 910mb non-heap: 0mb
2015-11-26 07:09:11  INFO: Character encoding: UTF-8 charset: UTF-8
2015-11-26 07:09:11  INFO: Version: 3.2-SNAPSHOT
2015-11-26 07:09:12 ERROR: Wrong database schema version (301)

Any ideas? I don't know what error 301 means.

I am only tracking only one device with TAIP right now but planning to add about 20 more.

brant.felix9 years ago

Creating a new database works every time, but I lose my data every time I do this. Same result after time, it stops with same Wrong database schema version (301) error. Switching back to H2 database is fine.

Anton Tananaev9 years ago

I guess you need to change "301" to "302" in your MS SQL config.