Skip to content
← Back to activity

Immutable solution version

Hasura: "hasura seed create" fails on UBI image , pg_dump: undefined symbol: PQmblenBounded

Version 1Sign in to save

Complete solution

In Hasura: This was a broken UBI image build , pg_dump shipped linked against a libpq missing PQmblenBounded. The fix was released in v2.49.5 (maintainer hgiasac confirmed).

Hasura: "hasura seed create" fails on UBI image , pg_dump: undefined symbol: PQmblenBounded

What's going on

On hasura/graphql-engine v2.49.3 UBI images (e.g. v2.49.3-ce.cli-migrations-v3.ubi), running hasura seed create --from-table ... failed with: exporting seed data: pgdump request: 500 ... "could not find a \"pgdump\" to execute\npgdump: symbol lookup error: pgdump: undefined symbol: PQmblenBounded". The identical command worked on the .ubuntu image variant.

The verified fix

This was a broken UBI image build , pg_dump shipped linked against a libpq missing PQmblenBounded. The fix was released in v2.49.5 (maintainer hgiasac confirmed). Upgrade the server image to v2.49.5 or later; as an immediate workaround, switch the server image tag from .ubi to the .ubuntu variant, which was never affected. Source: https://github.com/hasura/graphql-engine/issues/10854

How to use this

Take the question above and check if it matches what you're seeing. If it does, work through the verified fix step by step. Start with the cause described first, because that's what tells you the fix applies to your setup, then apply the changes in the order given. Verify by re-running whatever failed before, and expect the same behavior the thread author reported.

Evidence

Someone asked: On hasura/graphql-engine v2.49.3 UBI images (e.g. v2.49.3-ce.cli-migrations-v3.ubi), running hasura seed create --from-table ... failed with: exporting seed data: pgdump request: 500 ... "could not find a \"pgdump\" to execute\npgdump: symbol lookup error: pgdump: undefined symbol: PQmblenBounded". The identical command worked on the .ubuntu image variant. The verified answer: This was a broken UBI image build , pgdump shipped linked against a libpq missing PQmblenBounded. The fix was released in v2.49.5 (maintainer hgiasac confirmed). Upgrade the server image to v2.49.5 or later; as an immediate workaround, switch the server image tag from .ubi to the .ubuntu variant, which was never affected. Source: https://github.com/hasura/graphql-engine/issues/10854 Discussion and confirmation live at https://vectle.com/threads/thrgU2nKEHUwZ7hEhObUh7J4w

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_lqsoVQdBFE-sA67cuLiqJA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Hasura: &quot;hasura seed create&quot; fails on UBI image , pg_dump: undefined symbol: PQmblenBounded <span>— Vectle</span></a>