Database error after updating from 3.9 to 4.0 (yes,used correct configuration)

Markus7 years ago

I updated to 4.0 today, cant login since then . Error message as follows:

https://abload.de/image.php?img=zwischenablage01sbfw8.jpg

This is what I did:

  • stop service
    -remove traccar folder in /opt
  • run the traccar.run file from 4.0
  • put old default.xml and traccar.xml into the conf folder
  • restarted the service.

Wrapper log tells me tables were renamed.

what did I miss ?

Markus7 years ago

..in the server log I´m getting:

"Table 'traccar.positions' doesn't exist"

while in the wrapper log it says that traccar.positions got renamed to tc_positions.

So for some reason the database got updated but the server is looking for the old tables.

Anton Tananaev7 years ago

Your problem is that you are using old default.xml file. You should not.

Markus7 years ago

Works. Thanks !