Closed tnottu closed 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?
$WP_PROJECT
/usr/local/bin/wp-vagrant-dump-db
Did the variable get accidentally removed from /etc/container_environment.sh in this commit? :) https://github.com/Seravo/wp-palvelu-vagrant/commit/24ae63b11ac574b904c856c92f1d644801624399
/etc/container_environment.sh
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:
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?