LIGISTX
Guru
- Joined
- Apr 12, 2015
- Messages
- 525
I am having yet another issue with 11.1U4, I swear my luck has just been horrible.
I can't get an old script I had that used lftp to transfer files from a remote host to my freenas box to work, so I am trying to resprt to rsync. Less elegant, but at this point I will take anything.
I can get it to work in CLI no problem. I SSH into my box, use
Works totally fine, I have tested this multiple times.
Now, first issue, I try that code broken down into the WebUI for easy management, and it doesn't work. I get this error:
The Remote Path you specified does not exist or is not a directory.
Either create one yourself on the remote machine or uncheck the
'rsync_validate_rpath' field.
*Note*: This could also happen if the remote path entered
exceeded 255 characters and was truncated, please restrict it to
255. Or it could also be that your SSH credentials (remote host,etc) are wrong
Ok, well, I found a way around that webUI error, I tried user@remotehost'sACTUALIPaddress instead of its hostname (which works in the CLI, I can ssh with the hostname credentials...), and that got rid of that error, but still no dice. I get this in my log file while using the WebUI Rsync setup:
rsync error: error in rsync protocol data stream (code 12) at io.c(226)
So I said screw it, at this point I just want it to work, so I put the exact code from the CLI that worked into a cron job in freenas WebUI and it doesn't work. I am sorta running out of patients for 11.1, and I have no idea why everything I try just refuses to work. This is a little ranty, but I am starting to wonder if 11.1 just wasn't for me and I should have stayed on 11.0 where I had no issues and everything worked...
My old script no longer works, after exhausting all possible things I could possibly think of, including trying to run it via a cron job in the jail it was in (this script worked last month on my 11.0 box, and works right now on my friends 9.x box), and I can't seem to get rsync working, albeit this is my first attempt at using rsync.
Any help would be amazingly appreciated.
Also, all of this has been in the "old" webUI, is there a new webui in anticipation of iocage ect that I should be using instead?
I can't get an old script I had that used lftp to transfer files from a remote host to my freenas box to work, so I am trying to resprt to rsync. Less elegant, but at this point I will take anything.
I can get it to work in CLI no problem. I SSH into my box, use
Code:
rsync -avz -e ssh user@remotehost:remote/directory /local/directory
Works totally fine, I have tested this multiple times.
Now, first issue, I try that code broken down into the WebUI for easy management, and it doesn't work. I get this error:
The Remote Path you specified does not exist or is not a directory.
Either create one yourself on the remote machine or uncheck the
'rsync_validate_rpath' field.
*Note*: This could also happen if the remote path entered
exceeded 255 characters and was truncated, please restrict it to
255. Or it could also be that your SSH credentials (remote host,etc) are wrong
Ok, well, I found a way around that webUI error, I tried user@remotehost'sACTUALIPaddress instead of its hostname (which works in the CLI, I can ssh with the hostname credentials...), and that got rid of that error, but still no dice. I get this in my log file while using the WebUI Rsync setup:
rsync error: error in rsync protocol data stream (code 12) at io.c(226)
So I said screw it, at this point I just want it to work, so I put the exact code from the CLI that worked into a cron job in freenas WebUI and it doesn't work. I am sorta running out of patients for 11.1, and I have no idea why everything I try just refuses to work. This is a little ranty, but I am starting to wonder if 11.1 just wasn't for me and I should have stayed on 11.0 where I had no issues and everything worked...
My old script no longer works, after exhausting all possible things I could possibly think of, including trying to run it via a cron job in the jail it was in (this script worked last month on my 11.0 box, and works right now on my friends 9.x box), and I can't seem to get rsync working, albeit this is my first attempt at using rsync.
Any help would be amazingly appreciated.
Also, all of this has been in the "old" webUI, is there a new webui in anticipation of iocage ect that I should be using instead?
Last edited: