Comments (13)
@martin-josef as far as your report is a really complete one, it's hard to track it down as a bug.
It's not reproducible, as you reported. What we probably have is a behavior in Wordmove that your current hosting provider dislikes.
I can't elaborate a solution but I have a previous experience to share; Wordmove has a somewhat defective behavior when working w/ DB: it makes a lot of subsequent connections. Sometimes hosting providers set a throttle limit in order to protect themselves from ddos-like attempts and this limit could happen to resolve into a refute to auth the user.
One desperate try to do in order to verify this assumption is to add these configs to the specific host into your ssh config
Host example.com
ControlMaster auto
ControlPath /tmp/master-%r@%h:%p
[...]
then in one terminal open an SSH connection to the host and in another terminal run wordmove pull -e production -d
. This way you should force SSH client to reuse a single connection through a local socket (don't know if it's actually a socket, but at least it has a similar concept).
Is this a fix? It is not for sure. It's more of a troubleshooting/possible workaround/reproduction path, but that's all I have on the table.
from wordmove.
It is much appreciated, thanks! I will continue debugging the situation soon, right now I manually dump / pull / search-replace. I will report back if I find anything.
from wordmove.
I'm also experiencing this issue.
from wordmove.
I couldn't solve it myself and don't have to pull / push from that host anymore, so I sadly won't be of any help.
from wordmove.
I'll let you know if I solve - I think it might be related to php 8.1 but honestly I don't know why.
from wordmove.
I only experienced this issue with one host, all my digitalocean droplets etc. are unaffected.
from wordmove.
If you take a litle bit of attencion you can see wordmove is not getting your env variables, to fix it you can do something like:
local:
vhost: "http://localhost:<%= ENV['LOCAL_SERVER_PORT'] %>"
wordpress_path: "/var/www/html/"
database: # does not change this value, wordmove does not get ENV variables for this.
name: "wordpress"
user: "wordpress"
password: "wordpress"
host: "database"
mysqldump_options: "--hex-blob -no-tablespace" # add -- -no-tablespace to prevent permission denied error with mysqldump
Also for for integer does not add "" cause gonna be detected as string.
from wordmove.
Running into a similar issue and I think it's related to the current incompatibility of net-ssh 6.x.x and OpenSSL 3.x.x which ships by default with Ubuntu 22. Supposedly net-ssh 7.x.x should fix this, but I don't know how to go about fixing that here in Wordmove. (See net-ssh/net-ssh#874 for reference)
from wordmove.
mysql -e'QUIT'
In him case he is using bad configuration in movefile.yml, look at: mysql -e'QUIT'. Movefile is not reading env file '<%= ENV['PROD_DB_NAME'] %>' etc.. the solution is was i suggested. There is not another solution.
from wordmove.
mysql -e'QUIT'
In him case he is using bad configuration in movefile.yml, look at: mysql -e'QUIT'. Movefile is not reading env file '<%= ENV['PROD_DB_NAME'] %>' etc.. the solution is was i suggested. There is not another solution.
mysql -e'QUIT'
is not a command from the OP, but a command wordmove doctor
uses to test connection to DB. If a bug in reading from ENV
exists, it should exist only when running doctor
command.
from wordmove.
Running into a similar issue and I think it's related to the current incompatibility of net-ssh 6.x.x and OpenSSL 3.x.x which ships by default with Ubuntu 22. Supposedly net-ssh 7.x.x should fix this, but I don't know how to go about fixing that here in Wordmove. (See net-ssh/net-ssh#874 for reference)
@harnerdesigns does «similar» means only database related operations are failing?
from wordmove.
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.
from wordmove.
@alessandro-fazzi sorry for the late as hell response, but yes, DB operations are the only one failing.
Running wordmove push -e production --all
runs through everything fine and then fails on the DB push.
from wordmove.
Related Issues (20)
- Only some one DB table was pushed to the remote HOT 3
- Enable / disable hook via .env HOT 4
- Question : Must --simulate option simulate database pulling (mysqldump) ? HOT 3
- Is this a typo ?? HOT 1
- Too many arguments error with vvv-wordmove HOT 3
- database pull fails at wp search-replace: "Error: This does not seem to be a WordPress installation." HOT 5
- censor database name, user and password in mysqldump invocation HOT 8
- WP login impossible after `pull -d`. Local installation redirects me to remote installation. HOT 4
- Database does not load on remote server when pushing from local HOT 2
- Mysqldump can't create/write to file
- "Error: This does not seem to be a WordPress installation" when using sql_adapter: wpcli HOT 3
- Error on pull: Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. HOT 4
- wordmove should ignore or warn about trailing slashes in 'vhost'
- DB pull fails with an JSON::ParserError error HOT 6
- 'Stack level too deep' error on Windows HOT 2
- SPELL_CHECKERS and psych-4.0.6 errors HOT 2
- net-ssh error when database move HOT 2
- Ruby error when pushing database over FTP HOT 2
- Password required on remote mysqldymp HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordmove.