<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 8, 2020 at 1:14 PM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com">pb.mythtv@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>On 8/8/20 1:24 PM, Greg Oliver wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Aug 8, 2020 at 12:06
PM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com" target="_blank">pb.mythtv@gmail.com</a>> wrote:<span class="gmail_default" style="font-family:monospace,monospace"></span><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <br>
<div>On 8/7/20 2:37 PM, Greg Oliver wrote:<br>
</div>
<blockquote type="cite">
<div style="font-family:monospace,monospace">On another
note, the adb logs are full of :</div>
<div style="font-family:monospace,monospace"><br>
</div>
<div style="font-family:monospace,monospace">08-07
13:19:28.259 1528 1595 E lfe : AsyncBackendCall
Exception Getting backend Info.<br>
08-07 13:19:28.259 1528 1595 E lfe :
java.io.FileNotFoundException: <a href="http://192.168.100.151:6544/Status/GetStatus" target="_blank">http://192.168.100.151:6544/Status/GetStatus</a><br>
08-07 13:19:28.259 1528 1595 E lfe : at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)<br>
08-07 13:19:28.259 1528 1595 E lfe : at
org.mythtv.leanfront.data.f.a(Unknown Source:39)<br>
08-07 13:19:28.259 1528 1595 E lfe : at
org.mythtv.leanfront.data.a.b(Unknown Source:376)<br>
08-07 13:19:28.259 1528 1595 E lfe : at
org.mythtv.leanfront.data.a.doInBackground(Unknown
Source:2)<br>
08-07 13:19:28.259 1528 1595 E lfe : at
android.os.AsyncTask$2.call(AsyncTask.java:333)<br>
08-07 13:19:28.259 1528 1595 E lfe : at
java.util.concurrent.FutureTask.run(FutureTask.java:266)<br>
08-07 13:19:28.259 1528 1595 E lfe : at
android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)<br>
08-07 13:19:28.259 1528 1595 E lfe : at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)<br>
08-07 13:19:28.259 1528 1595 E lfe : at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)<br>
08-07 13:19:28.259 1528 1595 E lfe : at
java.lang.Thread.run(Thread.java:764)<br>
</div>
<div style="font-family:monospace,monospace"><br>
</div>
</blockquote>
This is used for displaying the percentage of disk space
used (percentage displays next to the search icon on the
list).<br>
<br>
I do not know why that is failing. I just started v30
backend mythbackend version: fixes/30
[v30.0-92-gc6b20b072e] <a href="http://www.mythtv.org" target="_blank">www.mythtv.org</a>
and I can run that url on a browser. What do you see? Look
at your backend log and see if there is an error message.<br>
</div>
</blockquote>
<div><br>
</div>
<div style="font-family:monospace,monospace">I had to turn on debugs to get it, but
it looks like I am missing some rows in the DB somehow.. I
have not hand jammed anything in or out of the database in
years though..<br>
</div>
<div style="font-family:monospace,monospace"><br>
</div>
<div style="font-family:monospace,monospace">Aug 08 12:20:23 mythtv
mythbackend[23863]: 2020-08-08 12:20:23.231457 I
HttpWorker(62): New connection<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.232498 I (Request Header) accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.232503 I (Request Header) accept-encoding: gzip,
deflate<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.232504 I (Request Header) accept-language:
en-US,en;q=0.5<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.232506 I (Request Header) cache-control: max-age=0<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.232509 I (Request Header) connection: keep-alive<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.232510 I (Request Header) dnt: 1<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.232511 I (Request Header) host: <a href="http://192.168.100.151:6544" target="_blank">192.168.100.151:6544</a><br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.232512 I (Request Header)
upgrade-insecure-requests: 1<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.232513 I (Request Header) user-agent: Mozilla/5.0
(X11; Fedora; Linux x86_64; rv:77.0) Gecko/20100101
Firefox/77.0<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.232563 I Database object created: DBManager17<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.232566 I New DB connection, total: 11<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.233232 I [DBManager17] Connected to database
'mythconverg' at host: 192.168.100.140<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.233901 I MSqlQuery::exec(DBManager17) SELECT data
FROM settings WHERE value = 'http/protected/urls' AND
hostname = 'mythtv' <<<< Took 0ms, Returned 0
row(s)<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.234431 I MSqlQuery::exec(DBManager17) SELECT data
FROM settings WHERE value = 'http/protected/urls' AND
hostname IS NULL <<<< Took 0ms, Returned 0
row(s)<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.234542 I ExtractMethodFromURL(end) : GetStatus :
/Status<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.235054 I MSqlQuery::exec(DBManager17) SELECT data
FROM settings WHERE value = 'http/keepalivetimeoutsecs' AND
hostname = 'mythtv' <<<< Took 0ms, Returned 0
row(s)<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.235537 I MSqlQuery::exec(DBManager17) SELECT data
FROM settings WHERE value = 'http/keepalivetimeoutsecs' AND
hostname IS NULL <<<< Took 0ms, Returned 0
row(s)<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.235642 I HTTPRequest::FormatFileResponse('') -
cannot find file<br>
Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08
12:20:23.235655 I HTTPRequest::SendResponse(xml/html) ()
:404 Not Found -> <a href="http://192.168.99.10" target="_blank">192.168.99.10</a>: 2<br>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
</pre>
</blockquote>
<p>I don't think that is related to the problem, I also have no data
for those values.</p>
<p>I looked at it a bit more. GetStatus has been part of mythbackend
since 2006. The following urls are available. All should work.<br>
</p>
<p><a href="http://name:6544/Status/GetStatus" target="_blank">http://name:6544/Status/GetStatus</a><br>
<a href="http://name:6544/Status/GetStatusHTML" target="_blank">http://name:6544/Status/GetStatusHTML</a><br>
<a href="http://name:6544/Status/Status" target="_blank">http://name:6544/Status/Status</a><br>
<a href="http://name:6544/Status/xml" target="_blank">http://name:6544/Status/xml</a></p>
<p>Status and GetStatusHTML return a web page, the two others return
xml.</p>
<p>I don't know why yours is failing, perhaps there is a probelm
with creating a temporary file in your system?<br>
</p><br></div></blockquote><div><span class="gmail_default" style="font-family:monospace,monospace">Hmmm. All of my partitions have plenty of space. Where does it try to write to? I run the backend as root</span><span class="gmail_default" style="font-family:monospace,monospace">, so no permission issues. It can write logs and recordings ok obviously.</span></div></div></div>