rjocoleman / vagrant-magento-mirror

Magento (stock) Mirror with support files for Vagrant and Chef. Useful for testing extensions in a clean environment.
Open Software License 3.0
6 stars 4 forks source link

Reload issues #2

Open adamgotterer opened 11 years ago

adamgotterer commented 11 years ago

Have you have any reported problems with vagrant reload? Seems like anytime I run it the env gets hosed in one way or another. Sometimes it runs magento upgrades which seem to kill off the admin account amongst other issues (have to manually go in the DB to reset). Another time it fails to run install.php and the chef provisioner dies.

adamgotterer commented 11 years ago

To follow up here. The install.php failure was my fault, ignore that. But a vagrant reload will always re-import the sample database and env which always wipes everything previously there.

rjocoleman commented 11 years ago

This is a vagrant_magento cookbook issue. It's too tightly coupled at this point i.e. all processes are initiated in the default Chef run. vagrant halt and vagrant reload where not in my workflow when I put this together.

It should be separated out into discrete processes as separate recipes.

There is a substantial refactor I'm working on that is not ready for release yet. I will leave this open and update when it's released.

lowe0292 commented 11 years ago

To clarify, does that mean that if you ever turn the environment off then you have to do a clean install again to get it back up?

Regardless, thanks for all your hard work so far!

lowe0292 commented 11 years ago

If it helps at all, @adamgotterer, the --no-provision flag solves this issue for vagrant up and vagrant reload. :]