welaika / wordmove

Multi-stage command line deploy/mirroring and task runner for Wordpress
https://wptools.it/wordmove
MIT License
1.87k stars 165 forks source link

DB Dump - Can't create/write to file #602

Closed electricarts closed 4 years ago

electricarts commented 4 years ago

Whether push or pull: I get the error message:

mysqldump: Can't create/write to file '/public_html/dev.xxx.de/wp-content/dump.sql' (Errcode: 2 - No such file or directory)

However, the folder wp-content definitely exists. What am I doing wrong or what can I do?

alessandro-fazzi commented 4 years ago

Hi!

First thing first, check folder permissions (user, group, octals) and confirm yourself you're using the expected user while connecting through SSH :)

alessandro-fazzi commented 4 years ago

Just to be more in context: probably the problem is not that wp-content does not exists - actually you confirmed it exists - but that your user can't write dump.sql in it thus it is not found when the next action (download that file locally) is fired.

Obviously I'm gambling here, but that's my idea ;)

alessandro-fazzi commented 4 years ago

Removing the bug label due to no activity

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.