Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ftpush stalls and never restarts #22

Open
thatgibbyguy opened this issue Feb 18, 2014 · 7 comments
Open

Ftpush stalls and never restarts #22

thatgibbyguy opened this issue Feb 18, 2014 · 7 comments

Comments

@thatgibbyguy
Copy link

I have the latest version of ftpush as part of my grunt package. Each time I try to push, I get a variation of some kind of stall.

I run

grunt ftpush

And get

>> Authenticated as user

And then nothing. Or sometimes a few files get pushed, but then a stall. The only consistency is that it never finishes and stalls at some point all the time. Ftpush is configured as

ftpush:{
        build:{
            auth:{
                host:'host',
                port:21,
                authKey:'key1' // found in .ftppass
            },
            src:'/Applications/AMPPS/www/projectdirectory/',
            dest:'/projectdirectory/',
            exclusions:['*/.DS_Store','.DS_Store','Archive.zip','.git','Gruntfile.js','node_modules','*.sql'],
            simple:true,
            useList:true
        }
    }
@inossidabile
Copy link
Owner

Use --debug, try --simple.

@thatgibbyguy
Copy link
Author

I originally tried both, no luck. Today, perfect luck. Do you believe there is a setting with my host that would produce this inconsistency? That's really the issue - it's inconsistent.

@thatgibbyguy
Copy link
Author

To further illustrate the inconsistency, the stall has re-appeared. What happens when I run

grunt ftpush --debug

Is the script goes through and gives me

[D] Touch 'domain.com/*'  (for all the files in the directory)

And then never moves forward. I've always tried it as simple, that makes no change.

@thatgibbyguy
Copy link
Author

I've made some progress with this, but still haven't narrowed it down. What I know now is if I first archive my local files and upload as a zip or tar, then uncompress them on the remote server (leaving the exact same files on each) no errors will happen. If there is any discrepancy between directories or large amounts of files ftpush will freeze.

This means starting from an existing project is troublesome.

If new directories are added locally, ftpush has a 50/50 chance freezing.

@adriansdev
Copy link

I am getting similar behaviour. Had worked reliably but now uploads the build.json and then hangs

@kitsunde
Copy link

kitsunde commented Jun 9, 2014

I'm having the same issue. It gives a log output of creating directories for a couple of minutes and then it just stalls out with nothing, it never creates the actual directories.

[D] Make directory 'test/wp-content/plugins'
[D] Make directory 'test/wp-content/plugins/nextgen-gallery'
[D] Make directory 'test/wp-content/plugins/nextgen-gallery/products'
[D] Make directory 'test/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen'
[D] Make directory 'test/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules'
[D] Make directory 'test/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_album'
[D] Make directory 'test/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_album/static'
[D] Make directory 'test/wp-content'
[D] Make directory 'test/wp-content/plugins'
[D] Make directory 'test/wp-content/plugins/nextgen-gallery'
[D] Make directory 'test/wp-content/plugins/nextgen-gallery/products'
[D] Make directory 'test/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen'
[D] Make directory 'test/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules'
[D] Make directory 'test/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_album'
[D] Make directory 'test/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_album/templates'

@evanmcd
Copy link

evanmcd commented Dec 11, 2014

I'm seeing this issue as well. It stalls the first time it encounters the need to create a directory. When I created the directory manually (using the same FTP account as the one configured in .ftppass), it continues until the next new directory is needed, then stalls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants