tractr / directus-sync

A CLI tool for synchronizing the schema and configuration of Directus across various environments.
GNU General Public License v3.0
259 stars 10 forks source link

[permissions] No id map found for <UUID>, will try on the next round #81

Closed almereyda closed 5 months ago

almereyda commented 5 months ago

Describe the bug

When pushing a schema into an empty Directus instance with the directus-extensions-sync extension, there will be a loop.

…
[21:21:28.814] WARN (818977): [permissions] No id map found for c4f677e7-5f11-4727-929c-41e2011a1668, will try on the next round
[21:21:28.814] INFO (818977): [permissions] Created 112 items
[21:21:28.814] WARN (818977): [permissions] Could not create 112 items. Must run again.

To Reproduce Steps to reproduce the behavior:

  1. Run pnpx directus-sync push
  2. See error

Expected behavior

The id maps are generated at some point.

Versions:

Additional context

This worked in one of the multiple rounds during push into another instance.

almereyda commented 5 months ago

Seems this was a broken pull.