🐛 Bug Report: Broken migrations on v1.8.0 #64

Closed
opened 2025-10-06 23:59:55 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @nervous-inhuman on GitHub.

Reproduction steps

  1. Upgrade to v1.8.0 while using postgres
  2. Observe the error

Expected behavior

It should migrate properly.

Actual Behavior

Crashes because it cannot run migrations

Version and Environment

Pocket-ID v1.8.0
PostgreSQL 17.6

Log Output

    time=2025-08-24T09:31:03.380Z
    level=INFO
    msg=Pocket ID is starting
    app=pocket-id
    version=1.8.0

    time=2025-08-24T09:31:03.392Z
    level=INFO
    msg=Connected to database
    app=pocket-id
    version=1.8.0
    provider=postgres

    time=2025-08-24T09:31:03.398Z
    level=ERROR
    msg=Failed to run pocket-id
    app=pocket-id
    version=1.8.0
    error=failed to initialize database: failed to run migrations: failed to apply migrations: Dirty database version 20250814121300. Fix and force version.
Originally created by @nervous-inhuman on GitHub. ### Reproduction steps 1. Upgrade to v1.8.0 while using postgres 2. Observe the error ### Expected behavior It should migrate properly. ### Actual Behavior Crashes because it cannot run migrations ### Version and Environment Pocket-ID v1.8.0 PostgreSQL 17.6 ### Log Output ``` time=2025-08-24T09:31:03.380Z level=INFO msg=Pocket ID is starting app=pocket-id version=1.8.0 time=2025-08-24T09:31:03.392Z level=INFO msg=Connected to database app=pocket-id version=1.8.0 provider=postgres time=2025-08-24T09:31:03.398Z level=ERROR msg=Failed to run pocket-id app=pocket-id version=1.8.0 error=failed to initialize database: failed to run migrations: failed to apply migrations: Dirty database version 20250814121300. Fix and force version. ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#64