Closed erezLieberman closed 8 years ago
Hi! Could I ask you to take the time to lift a bit the issue following these tips?
Thanks in advance
Photocopier recently received a PR about file permissions using FTP (https://github.com/welaika/photocopier/pull/16).
The changes will be ready to use in Wordmove 2.0 - it should have been published yesterday, but...it ins't yet - or in the preview version
gem uninstall wordmove
gem install wordmove --pre
Do you have the time to try if your problem is related to that PR?
@erezLieberman can you try with wordmove 2.0?
no change :( like before...
remote | write http://174.137.191.60/~amosboaz/wp-content/dump.php
/usr/lib/ruby/2.1.0/net/ftp.rb:327:in `getresp': 553 Can't open that file: No such file or directory (Net::FTPPermError)
from /usr/lib/ruby/2.1.0/net/ftp.rb:352:in `block in sendcmd'
from /usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
from /usr/lib/ruby/2.1.0/net/ftp.rb:350:in `sendcmd'
from /usr/lib/ruby/2.1.0/net/ftp.rb:430:in `transfercmd'
from /usr/lib/ruby/2.1.0/net/ftp.rb:547:in `block (2 levels) in storbinary'
from /usr/lib/ruby/2.1.0/net/ftp.rb:199:in `with_binary'
from /usr/lib/ruby/2.1.0/net/ftp.rb:546:in `block in storbinary'
from /usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
from /usr/lib/ruby/2.1.0/net/ftp.rb:545:in `storbinary'
from /usr/lib/ruby/2.1.0/net/ftp.rb:694:in `putbinaryfile'
from /usr/lib/ruby/2.1.0/net/ftp.rb:722:in `put'
from /var/lib/gems/2.1.0/gems/photocopier-1.1.1/lib/photocopier/ftp.rb:16:in `put_file'
from /var/lib/gems/2.1.0/gems/photocopier-1.1.1/lib/photocopier/adapter.rb:12:in `put'
from /var/lib/gems/2.1.0/gems/wordmove-2.0.0/lib/wordmove/deployer/ftp.rb:69:in `remote_put'
from /var/lib/gems/2.1.0/gems/wordmove-2.0.0/lib/wordmove/deployer/ftp.rb:97:in `download_remote_db'
from /var/lib/gems/2.1.0/gems/wordmove-2.0.0/lib/wordmove/deployer/ftp.rb:17:in `push_db'
from /var/lib/gems/2.1.0/gems/wordmove-2.0.0/lib/wordmove/cli.rb:86:in `block in push'
from /var/lib/gems/2.1.0/gems/wordmove-2.0.0/lib/wordmove/cli.rb:37:in `block in handle_options'
from /var/lib/gems/2.1.0/gems/wordmove-2.0.0/lib/wordmove/cli.rb:36:in `each'
from /var/lib/gems/2.1.0/gems/wordmove-2.0.0/lib/wordmove/cli.rb:36:in `handle_options'
from /var/lib/gems/2.1.0/gems/wordmove-2.0.0/lib/wordmove/cli.rb:85:in `push'
from /var/lib/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /var/lib/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /var/lib/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /var/lib/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /var/lib/gems/2.1.0/gems/wordmove-2.0.0/exe/wordmove:6:in `<top (required)>'
from /usr/local/bin/wordmove:22:in `load'
from /usr/local/bin/wordmove:22:in `<main>'
I really have to ask you to take the time to lift a bit the issue following these tips
Thanks in advance
I got same error.
$ wordmove pull -d
▬▬ ✓ Using Movefile: ./Movefile ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬ ✓ Pulling Database ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
local | mysqldump --host=127.0.0.1 --user=yousan --password=password--result-file="/Users/yousan/public_html/example.com/wp-content/local-backup-1468970075.sql" yousan_example
mysqldump: [Warning] Using a password on the command line interface can be insecure.
remote | write /home/user/www/example.com/wp-content/dump.php
/usr/local/Cellar/ruby/2.3.0/lib/ruby/2.3.0/net/ftp.rb:342:in `getresp': 550 /home/user/www/example.com/wp-content/dump.php: No such file or directory (Net::FTPPermError)
That really means /home/user/www/example.com/wp-content/dump.php
is not there as far as I can see. Can you check if the file is left on the server and what permissions it has?
The overall process is working fine in what we consider a standard environment (getting it work in the "real life" here), so we have to understand what is specifically going wrong on your env, or we can't have a clue.
dump.php
is not created.
The permission of wp-content
looks 755
$ ls -lat /home/user/www/example.com/wp-content/dump.php
ls: /home/user/www/example.com/wp-content/dump.php: No such file or directory
$ ls -latd .
drwxr-xr-x 5 yousan users 1024 Jul 18 23:44 .
``
@yousan , could you please attach your Movefile
- wiped from users/passwords?
Overall I'd like to see if you're using wordpress_absolute_path
...
I apologise in advance if I am posting on the wrong place but I am getting the same 553 error related to this dump.php
file.
Here is how I configured my Movefile (I omitted user and password details):
local:
vhost: "http://localhost:8888/mysite"
wordpress_path: "/Users/bruno/Documents/01_Projects/Sites/mysite" # use an absolute path here
database:
name: "myuser"
user: "root"
password: "root"
host: "localhost"
production:
vhost: "http://www.mysite.com"
wordpress_path: "/home/mysite/public_html" # use an absolute path here
database:
name: "mydb"
user: "myuser"
password: "password"
host: "host"
# port: "3308" # Use just in case you have exotic server config
# mysqldump_options: "--max_allowed_packet=1G" # Only available if using SSH
exclude:
- ".git/"
- ".gitignore"
- ".sass-cache/"
- "node_modules/"
- "bin/"
- "tmp/*"
- "Gemfile*"
- "Movefile"
- "wp-config.php"
- "wp-content/*.sql"
# paths: # you can customize wordpress internal paths
# wp_content: "wp-content"
# uploads: "wp-content/uploads"
# plugins: "wp-content/plugins"
# mu_plugins: "wp-content/mu-plugins"
# themes: "wp-content/themes"
# languages: "wp-content/languages"
# ssh:
# host: "host"
# user: "user"
# password: "password" # password is optional, will use public keys if available.
# port: 22 # Port is optional
# rsync_options: "--verbose" # Additional rsync options, optional
# gateway: # Gateway is optional
# host: "host"
# user: "user"
# password: "password" # password is optional, will use public keys if available.
ftp:
user: "myftpuser"
password: "password"
host: "ftp.mysite.com"
passive: false
scheme: "ftp" # default "ftp"
# staging: # multiple environments can be specified
# [...]
I have already tried passive: true
but still get the same error. Not sure what's the solution for this.
After following the instructions to install lftp here https://github.com/welaika/wordmove/wiki/Install-lftp-on-OSX-yosemite it finally worked.
Thanks @brunoDegaspare for reporting.
In the mean time I'm going to close this issue since it seems abandoned to me.
git this error:
i looked on this links: https://github.com/welaika/wordmove/issues/192 https://github.com/welaika/wordmove/issues/134
but didnt help :(