Cronjob issues - PermissionError: [Errno 1] Operation not permitted

Status
Not open for further replies.

bdl

Cadet
Joined
Jun 21, 2017
Messages
3
Hi everyone,

I'm currently running on FreeNAS-11.0-RELEASE (a2dc21583) and noticed I could not run any rsync tasks from the GUI when clicking "Run now". I did some troubleshooting and have determined I cannot run any cronjobs or rsync tasks from the GUI's "Run now" button.

Looking at /var/log/debug.log, I've narrowed it down to a Permission error with the following being logged:
Code:
Jun 21 23:43:09 server /runnow.py: [tools.runnow:133] Entered in daemon context
Jun 21 23:43:09 server /runnow.py: [tools.runnow:137] Exception on run now
Jun 21 23:43:09 server /runnow.py: [tools.runnow:12] Traceback (most recent call last):
Jun 21 23:43:09 server /runnow.py: [tools.runnow:12]   File "/usr/local/www/freenasUI/tools/runnow.py", line 135, in <module>
Jun 21 23:43:09 server /runnow.py: [tools.runnow:12]	 main(args)
Jun 21 23:43:09 server /runnow.py: [tools.runnow:12]   File "/usr/local/www/freenasUI/tools/runnow.py", line 91, in main
Jun 21 23:43:09 server /runnow.py: [tools.runnow:12]	 os.setgid(passwd.pw_gid)
Jun 21 23:43:09 server /runnow.py: [tools.runnow:12] PermissionError: [Errno 1] Operation not permitted
Jun 21 23:43:09 server /runnow.py: [tools.runnow:140] Exiting runnow process


I've checked as many users and reset/changed passwords, all to no avail. I am logged into the FreeNAS gui with the root user when clicking "Run now". I know these rsync jobs were running the GUI when I was running pre-Corral but have been running rsync manually when SSH'ed in so not sure when exactly this functionality broke. I ended up doing the downgrade from Corral to 9.10-something then back up to 11 release if that changes anything.

Can anyone suggest permissions I should check and on which users?

thankyou
bdl
 
D

dlavigne

Guest
Please create a bug report at bugs.freenas.org and post the issue number here.
 
Status
Not open for further replies.
Top