Upgrading from 5.10 to 5.11

Angeloa year ago

Hi,
I'm using image: traccar/traccar:5.10-alpine, can i just replace it with
traccar/traccar:5.11-alpine to upgrade? thanks.

Anton Tananaeva year ago

I think so.

Angeloa year ago

it works! upgraded by just changing to 5.11-alpine, thanks

Angeloa year ago

found out many errors after upgrading:

2024-01-17 15:14:59  INFO: [T31d1f4fa] error - NullPointerException
2024-01-17 15:15:10  INFO: [T0a2a5c43] error - NullPointerException
2024-01-17 15:15:24  INFO: [Te1ab20cc] error - NullPointerException
2024-01-17 15:22:24  INFO: [T8e43801a] error - NullPointerException
2024-01-17 15:25:10  INFO: [Tff77e86a] error - NullPointerException
2024-01-17 15:33:39  INFO: [Te4576bfa] error - NullPointerException
2024-01-17 15:35:11  INFO: [T3bd73bd1] error - NullPointerException

2024-01-17 15:35:11  INFO: [T3bd73bd1] connected
2024-01-17 15:35:11  INFO: [T3bd73bd1] disconnected
2024-01-17 15:35:11  INFO: [T3bd73bd1] error - NullPointerException

can I downgrade back to 5.10? will it affect the database?

Anton Tananaeva year ago

You probably shouldn't. The database schema is different.

Angeloa year ago

I''m using h2 database, so when I upgraded from 10 to 11, the database schema got upgraded automatically?

Anton Tananaeva year ago

Yes.