Seravo / wordpress

The WordPress project layout used by many of Seravo's customers, suitable also for local development with Vagrant and git deployment
https://seravo.com
GNU General Public License v3.0
104 stars 54 forks source link

Missing directory for shutdown-dump.sql #48

Closed tnottu closed 7 years ago

tnottu commented 7 years ago

I updated the vagrant box to newest version and now the shutdown dump (or startup import) doesn't seem to work.

I get the following message:

==> my-awesome-wp-box: Running triggers before halt...
==> trigger: dumping the database into: .vagrant/shutdown-dump.sql
==> my-awesome-wp-box: Executing remote command "wp-vagrant-dump-db"...
==> my-awesome-wp-box: /usr/local/bin/wp-vagrant-dump-db: line 16: /.vagrant/shutdown-dump.sql: No such file or directory
==> my-awesome-wp-box: Error: Database couldn't be dump :( 

Perhaps the $WP_PROJECT variable in /usr/local/bin/wp-vagrant-dump-db doesn't get set correctly? How do I fix this in an existing project?

tnottu commented 7 years ago

Did the variable get accidentally removed from /etc/container_environment.sh in this commit? :) https://github.com/Seravo/wp-palvelu-vagrant/commit/24ae63b11ac574b904c856c92f1d644801624399