<div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr">On Sun, May 13, 2018, 11:11 PM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank" rel="noreferrer">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, 13 May 2018 20:41:49 -0500, you wrote:<br>
<br>
>On 05/13/2018 07:39 PM, Ian Evans wrote:<br>
>> Was having a problem with mythvidexport.py not exporting one recording.<br>
>> <br>
>> I decided to increase the logging and changed my user job command line from:<br>
>> <br>
>> /usr/share/mythtv/mythvidexport.py --delete %VERBOSEMODE% %JOBID%<br>
>> <br>
>> to:<br>
>> <br>
>> /usr/share/mythtv/mythvidexport.py --delete --syslog local7 --loglevel<br>
>> debug<br>
>> --verbose all %JOBID%<br>
>> <br>
>> I restarted the backend and restarted the frontend and ran the job again.<br>
>> However, the log showed it was running the old command line:<br>
>> <br>
>> May 13 20:31:54 buster mythbackend: mythbackend[1385]: E UserJob_56023<br>
>> jobqueue.cpp:2445 (DoUserJobThread) JobQueue: User Job<br>
>> '/usr/share/mythtv/mythvidexport.py --delete  --verbose general --loglevel<br>
>> info --quiet --syslog local7 56023' failed.<br>
>> <br>
>> <br>
>> Running setup again, I could see the command line was the new one I had put<br>
>> in. So why would the logs show it running the old one?<br>
><br>
>Without seeing the actual commands and output, I can only guess that the initial<br>
>restart of the backend didn't take.<br>
><br>
>The settings are cached, so you can really get by with just doing a:<br>
>mythutil --clearcache [-q -q] rather that restarting the BE.<br>
><br>
>Or, your original command line is fine. Just do: mythbackend --setverbose all.<br>
>Then when the backend starts your UserJob, the options will be passed. I'd<br>
>suggest adding ,norefcount to cut down on the noise from all.<br>
<br>
How are you starting and stopping mythbackend?  On a systemd system,<br>
the old ways of doing that no longer work properly.  The correct<br>
commands for a systemd system are:<br>
<br>
systemctl start mythtv-backend<br>
systemclt stop mythtv-backend<br>
<br>
and restarting is:<br>
<br>
systemctl restart mythtv-backend<br>
<br>
To see what mythbackend's status is:<br>
<br>
systemctl status mythtv-backend<br><br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm not running the command line to start and stop it. Running mythtv-setup it asks to stop it and then asks if it can restart it. </blockquote></div></div>