Can't edit cron job - user root is invalid

f4242

Explorer
Joined
Mar 16, 2017
Messages
97
<div class="bbWrapper">Hi,<br /> <br /> I'm unable to edit a cron/task job. It says &quot;L'utilisateur root est invalide.&quot; (something like &quot;the user root is invalid&quot; in english). I'm able to login to the web ui and SSH with the root user. Any idea?</div>
 

Meyers

Patron
Joined
Nov 16, 2016
Messages
211
<div class="bbWrapper">How exactly are you trying to edit a cron job?</div>
 

f4242

Explorer
Joined
Mar 16, 2017
Messages
97
<div class="bbWrapper">With the web ui, I double click on my task, I do my edit and then I click OK. The saving doesn't complete because of the error.</div>
 

Meyers

Patron
Joined
Nov 16, 2016
Messages
211
<div class="bbWrapper">Can you provide a screenshot of the edit screen?</div>
 

f4242

Explorer
Joined
Mar 16, 2017
Messages
97
<div class="bbWrapper"><script class="js-extraPhrases" type="application/json"> { "lightbox_close": "Close", "lightbox_next": "Next", "lightbox_previous": "Previous", "lightbox_error": "The requested content cannot be loaded. Please try again later.", "lightbox_start_slideshow": "Start slideshow", "lightbox_stop_slideshow": "Stop slideshow", "lightbox_full_screen": "Full screen", "lightbox_thumbnails": "Thumbnails", "lightbox_download": "Download", "lightbox_share": "Share", "lightbox_zoom": "Zoom", "lightbox_new_window": "New window", "lightbox_toggle_sidebar": "Toggle sidebar" } </script> <div class="bbImageWrapper js-lbImage" title="Capture d’écran de 2019-03-28 14-42-15.png" data-src="https://www.truenas.com/community/attachments/capture-d%E2%80%99%C3%A9cran-de-2019-03-28-14-42-15-png.29654/" data-lb-sidebar-href="" data-lb-caption-extra-html="" data-single-image="1"> <img src="https://www.truenas.com/community/attachments/capture-d%E2%80%99%C3%A9cran-de-2019-03-28-14-42-15-png.29654/" data-url="" class="bbImage" data-zoom-target="1" style="" alt="Capture d’écran de 2019-03-28 14-42-15.png" title="Capture d’écran de 2019-03-28 14-42-15.png" width="530" height="521" loading="lazy" /> </div></div>
 

Meyers

Patron
Joined
Nov 16, 2016
Messages
211
<div class="bbWrapper">I wonder - do you have an email configured for the root user?</div>
 

f4242

Explorer
Joined
Mar 16, 2017
Messages
97
<div class="bbWrapper">Yes I have an email defined. It's a relatively new problem, I didn't had this in the past. I'm pretty sure it was working fine on previous 11.1 build.</div>
 

Meyers

Patron
Joined
Nov 16, 2016
Messages
211
<div class="bbWrapper">So the root user doesn't show up in the drop down list?</div>
 

f4242

Explorer
Joined
Mar 16, 2017
Messages
97
<div class="bbWrapper">Yes it is, I can select it.</div>
 

Meyers

Patron
Joined
Nov 16, 2016
Messages
211
<div class="bbWrapper">Maybe try deleting that job and creating a new one with the same parameters.</div>
 

f4242

Explorer
Joined
Mar 16, 2017
Messages
97
<div class="bbWrapper">It does that with every tasks, even new ones.</div>
 

Meyers

Patron
Joined
Nov 16, 2016
Messages
211
<div class="bbWrapper">Do you see anything in /var/log/messages when you try to save the job and get the error?<br /> <br /> At this point, you may want to <a href="https://redmine.ixsystems.com/projects/freenas/issues?set_filter=1&amp;tracker_id=1" target="_blank" class="link link--external" rel="nofollow ugc noopener">file a bug report.</a></div>
 

f4242

Explorer
Joined
Mar 16, 2017
Messages
97
<div class="bbWrapper">Nop, no message! I guess I'll have to make a bug report. Thanks!</div>
 
Joined
Jan 4, 2014
Messages
1,644
<div class="bbWrapper"><blockquote data-attributes="member: 71919" data-quote="f4242" data-source="post: 522217" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-title"> <a href="/community/goto/post?id=522217" class="bbCodeBlock-sourceJump" rel="nofollow" data-xf-click="attribution" data-content-selector="#post-522217">f4242 said:</a> </div> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> I didn't had this in the past. I'm pretty sure it was working fine on previous 11.1 build. </div> <div class="bbCodeBlock-expandLink js-expandLink"><a role="button" tabindex="0">Click to expand...</a></div> </div> </blockquote>Are you able to boot into the previous 11.1 build to see if the problem persists?</div>
 

f4242

Explorer
Joined
Mar 16, 2017
Messages
97
<div class="bbWrapper">Probably, but I can't right now because this is our file server in the office.</div>
 

Moody2018

Cadet
Joined
Apr 18, 2019
Messages
1
<div class="bbWrapper">If you're looking for a simpler cron job solution, you might consider webcron services which will load a specific URL at a given time.</div>
 
Top