Skip to content
Discussion options

You must be logged in to vote

Yes, this should work... it's a known scenario, and the project's own maintainers/community have walked people through almost exactly this in past Discussions.

A few load bearing facts:

  • The Postgres engine matters, not just the TeslaMate version. Since TeslaMate v2.0.0, the app refuses to even start unless the underlying PostgreSQL is 16.7/17.3 or newer. So that's a hard requirement added in a breaking change release, not something Ecto migrations can route around. So you can't restore a 2023 era dump straight into a v4.0.1 stack in one step.. the database has to get walked up to a modern Postgres major version first.
  • TeslaMate's own schema migrations are designed to run sequentially fro…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@khorton
Comment options

Answer selected by JakobLichterfeld
Comment options

You must be logged in to vote
1 reply
@daveshenal
Comment options

Comment options

You must be logged in to vote
6 replies
@khorton
Comment options

@khorton
Comment options

@khorton
Comment options

@daveshenal
Comment options

@khorton
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants