<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 12 May 2016 at 01:27, Mark Boyum <span dir="ltr"><<a href="mailto:mark@boyum.us" target="_blank">mark@boyum.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Tue, May 10, 2016 at 8:11 PM Anthony Giggins <<a href="mailto:seven@seven.dorksville.net" target="_blank">seven@seven.dorksville.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 11 May 2016 at 08:48, Mark Boyum <span dir="ltr"><<a href="mailto:circushair@gmail.com" target="_blank">circushair@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><br><div class="gmail_quote"><div><div><div dir="ltr">On Tue, May 10, 2016 at 7:26 AM Anthony Giggins <<a href="mailto:seven@seven.dorksville.net" target="_blank">seven@seven.dorksville.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 10 May 2016 at 18:25, Mike Perkins <span dir="ltr"><<a href="mailto:mikep@randomtraveller.org.uk" target="_blank">mikep@randomtraveller.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>On 10/05/16 05:04, Anthony Giggins wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
what are your permission to /etc/mythtv/config.xml<br>
<br>
$ ls -al /etc/mythtv/config.xml<br>
-rw-r--r-- 1 www-data mythtv 425 Feb 17 13:09 /etc/mythtv/config.xml<br>
<br>
</blockquote></span>
That isn't going to work. If mythtv is using this file, it is going to need write permissions to it. Having owner=www-data implies that this file was set up by mythweb which sounds strange.<span><font color="#888888"><br>
<br>
-- <br>
<br>
Mike Perkins<br>
<br><br></font></span></blockquote></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>I probably changed this somewhere along the line, probably for this exact issue. I don't see why mythtv would "need" write permissions in theory the file should not change, anyway I tested on the 0.28 system with the same permission and I'm getting the same error, I'll do some further testing tomorrow.</div><div><br></div><div>Cheers,</div><div><br></div><div>Anthony</div></div><br></div></div></blockquote></div></div><div>Hi Anthony,<br><br></div><div>/etc/mythtv/config.xml has these perms:<span><br>-rw-rw-r-- 1 mythtv mythtv  455 May  2 15:16 config.xml 

<br><br></span></div><div>I am still on Ubuntu 14.04.4 but did do apt-get --dist-upgrade when switching from .27 to .28.<span><font color="#888888"><br></font></span></div><span><font color="#888888"><div>-Mark<br></div></font></span></div></div>
<br></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Just tested and it appears to get past those original errors if you create the /etc/apache2/sites-enabled/mythcut.conf as per the install instructions in the README, so it appears the xml parsing code is the problem as I've confirmed this is not a permissions problem (still getting the same results with 777 permissions on the file)</div><div><div><br></div><div><Directory /var/www/mythcut/></div><div>        DirectoryIndex index.php</div><div><br></div><div>        setenv db_server        "ip-address-of-your-db-server"</div><div>        setenv db_name          "mythtv database name, probably mythconverg"</div><div>        setenv db_login         "mythtv"</div><div>        setenv db_password      "your-super-secret-password"</div><div></Directory></div><div><br></div><div>* Then reload your apache (apachectl graceful)</div></div><div><br></div></div>looking at the differences from a 0.27 & a 0.28 config.xml they are very different (as shown below) so may need to add some mythtv version checking code in and parse them appropriately or alternatively rewrite to use the mythtv php bindings or whatever mythweb uses</div><div class="gmail_extra"><br></div><div class="gmail_extra">0.27</div><div class="gmail_extra"><div class="gmail_extra"><Configuration></div><div class="gmail_extra">  <UPnP></div><div class="gmail_extra">    <MythFrontend></div><div class="gmail_extra">      <DefaultBackend></div><div class="gmail_extra">        <DBHostName>localhost</DBHostName></div><div class="gmail_extra">        <DBUserName>mythtv</DBUserName></div><div class="gmail_extra">        <DBPassword>PASSWORD</DBPassword></div><div class="gmail_extra">        <DBName>mythconverg</DBName></div><div class="gmail_extra">        <DBPort>3306</DBPort></div><div class="gmail_extra">      </DefaultBackend></div><div class="gmail_extra">    </MythFrontend></div><div class="gmail_extra">    <UDN></div><div class="gmail_extra">      <MediaRenderer>{83c101f1-70a7-4372-8eb8-4f047561f59</MediaRenderer></div><div class="gmail_extra">    </UDN></div><div class="gmail_extra">  </UPnP></div><div class="gmail_extra"></Configuration></div><div class="gmail_extra"><br></div><div class="gmail_extra">0.28</div><div class="gmail_extra"><div class="gmail_extra"><Configuration></div><div class="gmail_extra">  <Database></div><div class="gmail_extra">    <PingHost>1</PingHost></div><div class="gmail_extra">    <Host>localhost</Host></div><div class="gmail_extra">    <UserName>mythtv</UserName></div><div class="gmail_extra">    <Password>PASSWORD</Password></div><div class="gmail_extra">    <DatabaseName>mythconverg</DatabaseName></div><div class="gmail_extra">    <Port>3306</Port></div><div class="gmail_extra">  </Database></div><div class="gmail_extra">  <WakeOnLAN></div><div class="gmail_extra">    <Enabled>0</Enabled></div><div class="gmail_extra">    <SQLReconnectWaitTime>0</SQLReconnectWaitTime></div><div class="gmail_extra">    <SQLConnectRetry>5</SQLConnectRetry></div><div class="gmail_extra">    <Command>echo 'WOLsqlServerCommand not set'</Command></div><div class="gmail_extra">  </WakeOnLAN></div><div class="gmail_extra"></Configuration></div><div><br></div><div>Cheers,</div><div><br></div><div>Anthony</div></div></div></div></blockquote><div><br></div></div></div><div>Anthony,<br></div><div>I had tried that the other day and failed.  But since it worked for you I took another look at the mythcut.conf file and found that the path to mythcut was incorrect.<br><br></div><div>After correcting that to <Directory /var/www/html/mythcut/> it now works!<br><br></div><div>Thanks for the assistance,<br></div><div>-Mark <br></div></div></div>
<br></blockquote><div>No Problems I'm going to try and add some logic to detect which version of mythtv is running when I get some time and perhaps make it alittle more tablet/touchscreen friendly.</div><div><br></div><div>I also got it working to a point on 16.04 but I also had to install php7.0-gd but for some reason the thumbnails are still displaying blank so I'll need to tinker some more.</div><div><br></div><div>Cheers,</div><div><br></div><div>Anthony</div></div><br></div></div>