Skip to content

database "teslamate" has a collation version mismatch - after upgrading debian 12 to 13 #4897

@kongomongo

Description

@kongomongo

Is there an existing issue for this?

  • I have checked the existing issues and discussions, and I can confirm that there are no duplicates.

What happened?

Hi there, after upgrading from debian 12 to 13 I had the OOM repeatedly kill beam.smp and started investigating. I am running 3 instances of teslamate so I thought maybe its time to increase the 2GB RAM to 4DB. didnt help. So i stopped all instances except one.

Now I am seeing this in my log:

database-1 | 2025-08-18 11:57:57.244 UTC [77] WARNING: database "teslamate" has a collation version mismatch
database-1 | 2025-08-18 11:57:57.244 UTC [77] DETAIL: The database was created using collation version 2.36, but the operating system provides version 2.41.
database-1 | 2025-08-18 11:57:57.244 UTC [77] HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE teslamate REFRESH COLLATION VERSION, or build PostgreSQL with the right library version.

I was running the latest 1.x of teslamate (1.33.0), upgraded that to 2.1.1. Didnt help.

I am seeing no other issues so asking here.

This might be related?
#3583

Expected Behavior

No response

Can the issue reliably be reproduced?

Yes

Steps To Reproduce the issue

No response

Relevant log output

database-1   | 2025-08-18 11:57:57.244 UTC [77] WARNING:  database "teslamate" has a collation version mismatch
database-1   | 2025-08-18 11:57:57.244 UTC [77] DETAIL:  The database was created using collation version 2.36, but the operating system provides version 2.41.
database-1   | 2025-08-18 11:57:57.244 UTC [77] HINT:  Rebuild all objects in this database that use the default collation and run ALTER DATABASE teslamate REFRESH COLLATION VERSION, or build PostgreSQL with the right library version.

Screenshots

No response

Additional data

No response

Type of installation

Docker (https://docs.teslamate.org/docs/installation/docker/)

Version

2.1.1

PostgreSQL version

postgresql-16/now 16.10-1.pgdg13+1

Are you running latest major supported PostgreSQL version?

  • I run the latest major supported PostgreSQL version

Are you using a reverse Proxy for TeslaMate?

No

Details about your reverse Proxy if applicable

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    note:needs investigationThe issue must be investigated firstundeterminedNot sure if this is considered a real bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions