Setting up to test, and when I ran bin/console mautic:install:data It completes and tells me that it has been successful, however there does not seem to be any data in the database. This is a problem because it means I cannot run acceptance tests.
| Q | A
| --- | ---
| Mautic version | 3.0.0-beta-2
| PHP version | 7.2.30
| Browser | Chrome
bin/console mautic:install:data$ bin/console mautic:install:data
This will replace all of the data currently in Mautic's tables. Are you sure you want to continue? (y = Yes, n = No): y
Success! Mautic default data has been installed. The default login is admin/mautic.
Don't think these are related:
[2020-05-23 14:46:31] mautic.ERROR: STAT UPDATE: Error communicating with the stat server: 500 (Internal Server Error) [] []
Just checked Git commit history. Turns out this behavior was changed in this PR: https://github.com/mautic/mautic/pull/8366
You now need to run bin/console doctrine:fixtures:load, then the dummy data is inserted into the database. @lukassykora is this how it's supposed to work now after #8366? In 2.16, when we ran app/console mautic:install:data it also installed all the dummy data, now we also need to run bin/console doctrine:fixtures:load to get that data. If the behavior changed indeed, we'll need to update the docs accordingly.
doctrine:fixtures:load
loads the data.
Just checked Git commit history. Turns out this behavior was changed in this PR: #8366
You now need to run
bin/console doctrine:fixtures:load, then the dummy data is inserted into the database. @lukassykora is this how it's supposed to work now after #8366? In 2.16, when we ranapp/console mautic:install:datait also installed all the dummy data, now we also need to runbin/console doctrine:fixtures:loadto get that data. If the behavior changed indeed, we'll need to update the docs accordingly.
Perfect, definitely need a docs update for this change, I will make the necessary PR
Most helpful comment
Just checked Git commit history. Turns out this behavior was changed in this PR: https://github.com/mautic/mautic/pull/8366
You now need to run
bin/console doctrine:fixtures:load, then the dummy data is inserted into the database. @lukassykora is this how it's supposed to work now after #8366? In 2.16, when we ranapp/console mautic:install:datait also installed all the dummy data, now we also need to runbin/console doctrine:fixtures:loadto get that data. If the behavior changed indeed, we'll need to update the docs accordingly.