Skip to content

[6.x] Update site:clear config stubs to match current defaults#14983

Open
lazerg wants to merge 1 commit into
statamic:6.xfrom
lazerg:fix/issue-14737-site-clear-config-diff
Open

[6.x] Update site:clear config stubs to match current defaults#14983
lazerg wants to merge 1 commit into
statamic:6.xfrom
lazerg:fix/issue-14737-site-clear-config-diff

Conversation

@lazerg

@lazerg lazerg commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

The site:clear command was using outdated config file stubs that were missing several configuration options introduced in recent versions. This caused the config files to differ after running site:clear compared to a fresh installation.

The stubs for stache.php and users.php have been updated to include all current configuration options, including cache_store, warming optimizations, and user authentication features like two-factor authentication and impersonation settings.

Fixes #14737

@lazerg lazerg force-pushed the fix/issue-14737-site-clear-config-diff branch from c5abda6 to adbde93 Compare July 12, 2026 16:47
@lazerg lazerg force-pushed the fix/issue-14737-site-clear-config-diff branch from adbde93 to e4abf0b Compare July 12, 2026 17:01
@lazerg

lazerg commented Jul 12, 2026

Copy link
Copy Markdown
Contributor Author

The failing check is StarterKits\ExportTest on the prefer-lowest matrix, where the resolved testbench skeleton doesn't include the welcome.blade.php and errors views those tests expect. That's unrelated to this change (which only updates the site:clear config stubs), and looks intermittent since the same cells pass on other PRs off the same base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

site:clear has different config files than a new Statamic site

1 participant