Appearance
Troubleshooting
For merchants
Logs
var/log/kommandhub_demodata_<env>.log (rotating, 7 files). Errors are always written; enable debug logging in the settings for more. The CLI prints a per-entity summary after every run, and bin/console kmh:demo-data:status shows what exists without writing anything.
Generation from the Administration never finishes
The run is queued. Nothing processes it unless an Administration tab stays open or a worker runs:
bash
bin/console messenger:consume async --time-limit=600Or use the command line instead: bin/console kmh:demo-data:seed. Running workers in production: Shopware: Message queue.
New storefronts show an error or no styling
Storefronts the plugin created have no compiled theme yet:
bash
bin/console theme:change --all --sync Storefront
bin/console dal:refresh:indexNew storefronts are not reachable
They were created with http://localhost/<name> domains. Change them under Sales Channels → (channel) → Domains (Shopware: Sales channels).
Products have placeholder images instead of photos
The photo download failed (no outbound internet, firewall, proxy), so bundled fallback images were used; the run lists what it could not fetch. Fix connectivity and run the seeder again — it tops up missing media. --skip-media skips images entirely.
Composer installs a 1.0.0-alpha version
You required the package by name without adding this plugin's repository, so Composer took the older package from Packagist. Add the KmhDemoDataSW repository entry — see Installation.
Two runs at once
The Administration refuses to start a run while one is in progress. Do not start the CLI command while an Administration run is still working either: both write the same records and each would see the other's half-written data.
I want to remove the demo data
The plugin never deletes anything, including on uninstall — by then real orders may reference the data. Start from a fresh database, or delete the generated sales channels, categories and products yourself (the kmh_demo_data_generated custom field marks them).
Staff get "permission denied" errors in the demo account
Expected: the read-only account cannot save interface preferences. See Read-only demo account.
Known issues
In version 0.9.0-beta.2:
| Issue | Impact | Workaround |
|---|---|---|
Created sales channels get http://localhost/<key> domains. | Not reachable on a real host. | Edit the domains after the first run. |
| The package name on Packagist belongs to an older repository. | composer require without a repository entry installs the wrong package. | Add the VCS repository entry. |
| Nothing is deleted, also on uninstall. | Demo data stays in the database. | Start from a fresh database. |
Still stuck? Contact support with versions and the CLI summary.