Rsync "Run Now" failing with an Exception, "Name Error".

Status
Not open for further replies.

TremorAcePV

Explorer
Joined
Jun 20, 2013
Messages
88
I'm trying to tell an Rsync task to "Run Now" with the corresponding button (Tasks > Rsync Tasks > Select Task > Run Now). However, it doesn't run.

Here is what I'm getting in the window that pops up (this didn't go well):
Request Method:pOST
Request URL:http://192.168.1.5/tasks/rsync/1/run/
Software Version:FreeNAS-9.3-STABLE-201501301837
Exception Type:NameError
Exception Value:
global name 'rsync_delayupdates' is not defined
Exception Location:/usr/local/www/freenasUI/../freenasUI/tasks/models.py in commandline, line 507
Server time:Wed, 4 Feb 2015 14:30:37 -0600
Traceback

Request information
GET
No GET data

POST
VariableValue
__form_idu'form_str'
FILES
No FILES data

COOKIES
VariableValue
sessionid'w8h7l6pk9qlbif7dw9yfkwnyekedcwz0'
fntreeSaveStateCookie'root%2Croot%2F21%2F28%2Croot%2F136%2F146%2Croot%2F1%2F5%2Croot%2F21%2Croot%2F170%2Croot%2F171%2Croot%2F54%2F55%2Croot%2F22%2Croot%2F22%2F29'
csrftoken'Bm2zdTuu3OLGMLnZIC0Fqv4OaFzxmlJu'
META
VariableValue
HTTP_REFERER'http://192.168.1.5/'
CSRF_COOKIEu'Bm2zdTuu3OLGMLnZIC0Fqv4OaFzxmlJu'
SERVER_NAME'localhost'
DOCUMENT_URI'/tasks/rsync/1/run/'
wsgi.version(1, 0)
HTTP_USER_AGENT'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.93 Safari/537.36'
HTTP_COOKIE'sessionid=w8h7l6pk9qlbif7dw9yfkwnyekedcwz0; fntreeSaveStateCookie=root%2Croot%2F21%2F28%2Croot%2F136%2F146%2Croot%2F1%2F5%2Croot%2F21%2Croot%2F170%2Croot%2F171%2Croot%2F54%2F55%2Croot%2F22%2Croot%2F22%2F29; csrftoken=Bm2zdTuu3OLGMLnZIC0Fqv4OaFzxmlJu'
HTTP_ACCEPT_ENCODING'gzip, deflate'
GATEWAY_INTERFACE'CGI/1.1'
HTTP_CONTENT_LENGTH'18'
wsgi.multiprocessFalse
SERVER_PORT'80'
SCRIPT_NAMEu''
HTTP_CONTENT_TYPE'application/x-www-form-urlencoded'
HTTP_CONNECTION'keep-alive'
REMOTE_PORT'61381'
DOCUMENT_ROOT'/usr/local/etc/nginx/html'
CONTENT_LENGTH'18'
wsgi.url_scheme'http'
wsgi.input<flup.server.fcgi_base.InputStream object at 0x81336c3d0>
REQUEST_METHOD'POST'
HTTP_X_REQUESTED_WITH'XMLHttpRequest'
REMOTE_ADDR'192.168.1.7'
REDIRECT_STATUS'200'
PATH_INFOu'/tasks/rsync/1/run/'
REQUEST_URI'/tasks/rsync/1/run/'
HTTP_ACCEPT'*/*'
HTTP_ORIGIN'http://192.168.1.5'
HTTP_ACCEPT_LANGUAGE'en-US,en;q=0.8,en-GB;q=0.6'
SERVER_ADDR'192.168.1.5'
HTTP_HOST'192.168.1.5'
QUERY_STRING''
SERVER_PROTOCOL'HTTP/1.1'
wsgi.errors<flup.server.fcgi_base.TeeOutputStream object at 0x8133b57d0>
HTTP_X_CSRFTOKEN'Bm2zdTuu3OLGMLnZIC0Fqv4OaFzxmlJu'
wsgi.run_onceFalse
wsgi.multithreadTrue
HTTPS''
SERVER_SOFTWARE'nginx/1.6.2'
CONTENT_TYPE'application/x-www-form-urlencoded'

This is on a relatively fresh install of 9.3. All I've done is import a volume made in 9.1.3 and set up SSH/Rsync (probably unsuccessfully).

This specifically looks to be the issue:
Exception Type: NameError
Exception Value: global name 'rsync_delayupdates' is not defined
 
D

dlavigne

Guest
This was fixed 16 hours ago and will appear in tonight's nightly (for the impatient) and in the next SU (in a few days).
 

TremorAcePV

Explorer
Joined
Jun 20, 2013
Messages
88
This was fixed 16 hours ago and will appear in tonight's nightly (for the impatient) and in the next SU (in a few days).
Awesome. Sorry, didn't realize it was a bug. Just figured I was having an issue caused by my lack of knowledge regarding Rsync & SSH.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Awesome. Sorry, didn't realize it was a bug. Just figured I was having an issue caused by my lack of knowledge regarding Rsync & SSH.

We can blame you too if you'd like...

"You imbecile! Go do more reading! My crystal ball says it will start working for you in the next week or so.. just randomly! Trust my crystal ball without question."

Feel better? ;)
 

TremorAcePV

Explorer
Joined
Jun 20, 2013
Messages
88
We can blame you too if you'd like...

"You imbecile! Go do more reading! My crystal ball says it will start working for you in the next week or so.. just randomly! Trust my crystal ball without question."

Feel better? ;)
A little. Yeah. lol
 
Status
Not open for further replies.
Top