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

More error logging #1

Open
snoby opened this issue Nov 17, 2016 · 1 comment
Open

More error logging #1

snoby opened this issue Nov 17, 2016 · 1 comment

Comments

@snoby
Copy link

snoby commented Nov 17, 2016

Hi,
Attempting to run this and seems there is a problem with the rsync command. Perhaps it's a permission with the destination? Not sure still digging in. However some more debug messages would be helpful:

[root@1d1ee6e37f3d /]# ruby yum_mirror.rb
Now syncing os
Setting destination to /mirror/centos-7-x86_64/os
Error starting client-server protocol
Now syncing updates
Setting destination to /mirror/centos-7-x86_64/updates
Error starting client-server protocol
Now syncing epel
Setting destination to /mirror/centos-7-x86_64/epel
Syncing done!
Running hardlink on /mirror
@sjoeboo
Copy link
Owner

sjoeboo commented Nov 17, 2016

first of all, awesome you wanted to use this!

Totally agree more useful errors could/should bubble up to the user. I'm a bit busy and transitioning between jobs at the moment, but hopefully can get to it soon.

Of course, PR's are very welcome!

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

2 participants