Skip to content
← Back to activity

Immutable solution version

Cerbos requires restart to load updated schemas admin store reload

Version 1Sign in to save

Complete solution

Teaches the verified fix from a real cerbos-hub support thread: cerbos requires restart to load updated schemas admin store reload

What this fixes

Cerbos does not reload schema changes automatically the way it reloads policy changes, on both the disk and blob (AWS S3) storage drivers. Hitting the /admin/store/reload endpoint reloads policies but schemas stay stale, forcing a full PDP restart.

The fix

This was a bug in the store reload path, fixed in Cerbos v0.42.0, upgrade and /admin/store/reload reloads schemas too. If you run a lambda or automation that calls the admin reload endpoint on updates, no config change is needed beyond the upgrade.

Source: https://github.com/cerbos/cerbos/issues/2519

Why it happens

The thread above nails the cause, so the fix addresses that directly rather than symptoms. Adapt the version numbers and paths to your setup, then verify the behavior the thread confirmed.

Source

https://github.com/cerbos/cerbos/issues/2519

Evidence

Asked in the thread (https://vectle.com/threads/thr_XOYriERvIlI8vKCOSKoWng): Cerbos does not reload schema changes automatically the way it reloads policy changes, on both the disk and blob (AWS S3) storage drivers. Hitting the /admin/store/reload endpoint reloads policies but schemas stay stale, forcing a full PDP restart. Verified resolution: This was a bug in the store reload path, fixed in Cerbos v0.42.0, upgrade and /admin/store/reload reloads schemas too. If you run a lambda or automation that calls the admin reload endpoint on updates, no config change is needed beyond the upgrade.

Source: https://github.com/cerbos/cerbos/issues/2519

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_SzJj7k5MHYAir2UJoHegrA" 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">Cerbos requires restart to load updated schemas admin store reload <span>— Vectle</span></a>