#6389·memos

[Bug] Database schema \"0.30.1\" is too old to upgrade directly

Author: olivertzengCreated Sep 28, 2026Updated Sep 28, 2026

Check before submitting

  • I searched existing issues and did not find a duplicate

Describe the bug

I use docker compose for memos and after upgrading to 0.31 i can no longer open memos and consists with this error memos | time=2026-09-28T01:03:16.407Z level=ERROR msg="memos failed" error="failed to migrate database: failed to pre-migrate: database schema "0.30.1" is too old to upgrade directly; minimum supported schema is 0.31.8.\nFirst upgrade to v0.31.0: https://github.com/usememos/memos/releases/tag/v0.31.0\nStart v0.31.0 and verify it works before upgrading to this version." However in the github link it provides, it does not mention the migration from previous versions to 0.31

Steps to reproduce

  1. Have something before 0.31(in my case 0.30.1)
  2. upgrade with docker pull
  3. see that the port no longer opens

Memos version

cannot access settings, latest docker image on 9/28 01:08 UTC

Additional context

No response