Skip to content

fix(service): add missing database alteration step for Logto latest image#9376

Open
FabioHAraujo wants to merge 1 commit intocoollabsio:nextfrom
FabioHAraujo:next
Open

fix(service): add missing database alteration step for Logto latest image#9376
FabioHAraujo wants to merge 1 commit intocoollabsio:nextfrom
FabioHAraujo:next

Conversation

@FabioHAraujo
Copy link
Copy Markdown
Contributor

@FabioHAraujo FabioHAraujo commented Apr 1, 2026

When upgrading to the latest image version, the database alteration command was missing, causing the application to fail due to schema mismatch. This change ensures the database is properly migrated to the latest version during startup.

Changes

  • Added missing database alteration command during container startup to ensure schema is updated when upgrading the image version.
  • Prevents runtime failures caused by schema mismatch between application and database.

Issues

  • Fixes startup failure when upgrading Logto image due to missing DB migration step

Category

  • Fixing or updating existing one click service

Preview

N/A

AI Assistance

  • AI was NOT used to create this PR

Testing

  • Deployed the updated configuration on Coolify
  • Verified that the container starts successfully after upgrading the image
  • Confirmed that database migrations are applied and the application runs without schema errors

Contributor Agreement

Important

  • I have read and understood the contributor guidelines. If I have failed to follow any guideline, I understand that this PR may be closed without review.
  • I have searched existing issues and pull requests (including closed ones) to ensure this isn't a duplicate.
  • I have tested all the changes thoroughly with a local development instance of Coolify and I am confident that they will work as expected when a maintainer tests them.

When upgrading to the latest image version, the database alteration command was missing, causing the application to fail due to schema mismatch. This change ensures the database is properly migrated to the latest version during startup.
@ShadowArcanist ShadowArcanist changed the title fix: add missing database alteration step for latest image version fix(service): add missing database alteration step for Logto latest image Apr 1, 2026
@ShadowArcanist ShadowArcanist added the ⚙️ Service Issues requesting or PRs adding/fixing service templates. label Apr 1, 2026
@coollabsio coollabsio deleted a comment from github-actions bot Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚙️ Service Issues requesting or PRs adding/fixing service templates.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants