Skip to content

Config-sync exports creates empty json-files #188

@martijnpor

Description

@martijnpor

Bug report

Describe the bug

During an config-sync export, approximately 15 config files are generated correctly. After that, only empty config files are generated.

[2025-07-21 11:43:06.460] warn: [strapi-plugin-config-sync]: An empty config file 'core-store.plugin_content_manager_configuration_content_types##api##header-content.header-content.json' was found in the sync directory

It works correctly on strapi version 5.13.1.

It doesn't work with version 5.16.0 and 5.18.1

Steps to reproduce the behavior

  1. Go to Settings > Config Sync
  2. Click on Export
  3. Look at the generated files

(Also happens when using the CLI)

Expected behavior

All config files are generated successfully.

System

  • Node.js version: 20.18.1
  • NPM version: 10.8.2
  • Strapi version: 5.18.1
  • Plugin version: 3.1.2
  • Database: sqlite
  • Operating system: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions