Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade

 

 

First page Previous page 1 2 Next page Last page  View All MythTV commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Nov 13, 2009, 12:02 PM

Post #1 of 29 (2320 views)
Permalink
Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------
Following errormessage is shown:
datetime: 2009-11-13 21:59:25 (EET)
errornum: 256
error type: User Error
error string: MasterServerIP or MasterServerPort not found! You mayneed
to check your settings.php file or re-run mythtv-setup
filename: /usr/share/mythtv/mythweb/classes/MythBackend.php
error line: 45

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 13, 2009, 12:10 PM

Post #2 of 29 (2275 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------
Changes (by mdean):

* status: new => infoneeded_new


Comment:

Did you actually upgrade MythWeb (and make sure you didn't leave any of
the old MythWeb behind)? This is a dup of #7557.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 13, 2009, 12:35 PM

Post #3 of 29 (2272 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by anonymous):

Replying to [comment:1 mdean]:
> Did you actually upgrade MythWeb (and make sure you didn't leave any of
the old MythWeb behind)? This is a dup of #7557.

Yes, the installed version is 0.22.0+fixes22594-0ubuntu1

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 17, 2009, 12:22 AM

Post #4 of 29 (2237 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by anonymous):

I'm not exactly sure what 'didn't leave any of the old MythWeb behind'
means but I tried to uninstall the MythWeb, re-installed it and it still
does not work.
The MythTv itself works a-ok (one backendserver, one frontend) so the
MythTv setup is ok.
What can I debug in order to make MythWeb work?

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 17, 2009, 1:25 AM

Post #5 of 29 (2227 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by mdean):

See http://www.gossamer-threads.com/lists/mythtv/dev/407636#407636

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 18, 2009, 12:10 PM

Post #6 of 29 (2187 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by anonymous):

Replying to [comment:4 mdean]:
> See http://www.gossamer-threads.com/lists/mythtv/dev/407636#407636

a) MythTV is configured, it works just fine, both the backend and a
separate frontend
b) mysqlcheck -r returns OK for all the tables
c) the config.xml is correctly configured

I was not trying to access streaming, the error comes when accessing the
mythweb home page (http://<hostname>/mythweb)

- Petri

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 19, 2009, 1:49 AM

Post #7 of 29 (2162 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by anonymous):

Replying to [comment:5 anonymous]:
> Replying to [comment:4 mdean]:
> > See http://www.gossamer-threads.com/lists/mythtv/dev/407636#407636
>
> a) MythTV is configured, it works just fine, both the backend and a
separate frontend
> b) mysqlcheck -r returns OK for all the tables
> c) the config.xml is correctly configured
>
> I was not trying to access streaming, the error comes when accessing the
mythweb home page (http://<hostname>/mythweb)
>
> - Petri

When I hardcoded both the $port and $host in
/usr/share/mythtv/mythweb/classes/MythBackend.php I got the mythweb
(almost working) so the problem lies somewhere fetching the backend server
name and port. I lack competence in debugging this any more deeply.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:6>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 27, 2009, 7:51 PM

Post #8 of 29 (2025 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by gwhodgson@…):

I am having the same problem following the upgrade to 0.22. I've checked
all of the above, and I can't find the problem. Without tracing the
problem back through the code, all I can surmise is that mythweb is
somehow not getting its connection to the database. Everything else is
working.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:7>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 4, 2009, 1:46 PM

Post #9 of 29 (1913 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by gwhodgson@…):

I have more details about this problem in this thread:

http://ubuntuforums.org/showthread.php?t=1342624

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:8>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 10, 2009, 12:18 AM

Post #10 of 29 (1838 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by anonymous):

Replying to [comment:8 gwhodgson@…]:
> I have more details about this problem in this thread:
>
> http://ubuntuforums.org/showthread.php?t=1342624

This is how I got it (partially) working:

- modified the classes/MythBackend.php so that instead of assigning $host
and $port through setting(), they are directly set to ip-address and port
number

- modified modules/status/handler.php and hardcoded $masterhost and
$statusport to localhost and 6544

Would someone please explain from which files the values above are
supposedly taken from and provide an example content of the files?

My config.xml and mysql.txt in $HOME/.mythtv directory are links to the
files in /etc/mythtv -directory having correct values for the relevant
fields.

/etc/apache2/sites-enabled/mythweb.conf also has the correct db name,
server, login, and password values

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:9>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 10, 2009, 11:27 AM

Post #11 of 29 (1826 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by jtumblin@…):

I have a similar problem. I am running Fedora 10 I ran the yum updates
the other day and now I am running mythweb-0.22-222.fc10.i386, it works ok
except when I try to schedule a recording I am getting

Forbidden

You don't have permission to access /mythweb/tv/detail/1005/1260475200 on
this server.

It was working fine before the upgrade.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:10>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 11, 2009, 3:30 PM

Post #12 of 29 (1792 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by t1ger):

Replying to [comment:9 anonymous]:
> Replying to [comment:8 gwhodgson@…]:
> > I have more details about this problem in this thread:
> >
> > http://ubuntuforums.org/showthread.php?t=1342624
>
> This is how I got it (partially) working:
>
> - modified the classes/MythBackend.php so that instead of assigning
$host and $port through setting(), they are directly set to ip-address and
port number
>
> - modified modules/status/handler.php and hardcoded $masterhost and
$statusport to localhost and 6544
>
> Would someone please explain from which files the values above are
supposedly taken from and provide an example content of the files?
>
> My config.xml and mysql.txt in $HOME/.mythtv directory are links to the
files in /etc/mythtv -directory having correct values for the relevant
fields.
>
> /etc/apache2/sites-enabled/mythweb.conf also has the correct db name,
server, login, and password values

Thanks man!

Here how I modified.

{{{

...
// Looking for the master backend?
if (is_null($host)) {
$host = 'localhost';
$port = '6543';
....
}}}

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:11>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 19, 2009, 4:49 PM

Post #13 of 29 (1606 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------
Changes (by xris):

* status: infoneeded_new => new


Comment:

did [22983] fix this?

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:12>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 19, 2009, 11:58 PM

Post #14 of 29 (1606 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by anonymous):

Replying to [comment:12 xris]:
> did [22983] fix this?

No, it did not help.

Is anyone capable of creating a short wrapper script that would use the
mythweb definitions and print out:
- from which file(s) the hostname and db port read attempts are made
- the values that are read from the file(s) above

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:13>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 21, 2009, 7:29 AM

Post #15 of 29 (1573 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: new
Priority: blocker | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by jtumblin):

I resolved my issue. When I ran the upgrades I also upgraded mod_security
which installs with a default deny rule once I changed deny to pass it
started working as designed. I found this link which helped me.

https://lists.owasp.org/pipermail/owasp-modsecurity-core-rule-
set/2009-August/000032.html

Hope this helps.

JT

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:14>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 21, 2009, 7:41 AM

Post #16 of 29 (1576 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.22-fixes
Severity: medium | Mlocked: 0
------------------------------+---------------------------------------------
Changes (by mdean):

* priority: blocker => minor
* status: new => infoneeded_new
* version: unknown => 0.22-fixes
* severity: high => medium


Comment:

Replying to [comment:13 anonymous]:
> Replying to [comment:12 xris]:
> > did [22983] fix this?
>
> No, it did not help.
>
> Is anyone capable of creating a short wrapper script that would use the
mythweb definitions and print out:
> - from which file(s) the hostname and db port read attempts are made
> - the values that are read from the file(s) above

Note, also, that [22983] was applied to trunk, only, so if you're using
0.22-fixes, you'll need to apply the same changes (click the Unified Diff
download link) to your local install of MythWeb.

Does either applying those changes or using the above-linked changes to
modsecurity fix the issue for others who have experienced the issue?

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:15>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 22, 2009, 2:01 AM

Post #17 of 29 (1554 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.22-fixes
Severity: medium | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by anonymous):

Replying to [comment:15 mdean]:
> Note, also, that [22983] was applied to trunk, only, so if you're using
0.22-fixes, you'll need to apply the same changes (click the Unified Diff
download link) to your local install of MythWeb.

I made the changes of [22983] by hand, removed my hardcoded addresses,
restarted apache and checked. Did not help.

> Does either applying those changes or using the above-linked changes to
modsecurity fix the issue for others who have experienced the issue?

I could not figure out what really should be configured for the
modsecurity fix as there is no file named
modsecurity_crs_49_enforcement.conf anywhere in my system so I can not
verify whether that would help or not.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:16>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 22, 2009, 6:34 AM

Post #18 of 29 (1535 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.22-fixes
Severity: medium | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by jtumblin):

If everything is configured correctly then it is not Mythweb's problem.
You are not getting a connection to the database. Can you post a Tail of
the http error log that shows the steps where Mythweb fails?

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:17>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 22, 2009, 6:42 AM

Post #19 of 29 (1540 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.22-fixes
Severity: medium | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by gwhodgson@…):

I have nothing in the error logs regarding mythweb at all. I see the
usual hits to the skins and other files in the access logs. Should I be
turning up error reporting or something?

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:18>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 22, 2009, 6:45 AM

Post #20 of 29 (1543 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.22-fixes
Severity: medium | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by anonymous):

Replying to [comment:17 jtumblin]:
> If everything is configured correctly then it is not Mythweb's problem.
You are not getting a connection to the database. Can you post a Tail of
the http error log that shows the steps where Mythweb fails?

There is no errormessage in Apache's log(s). The framework of the Mythweb
works but the frame in which the basic page (by accessing
<hostname>/mythweb) returns the errormessage described in the 1st message
of this chain.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:19>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 22, 2009, 7:07 AM

Post #21 of 29 (1546 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.22-fixes
Severity: medium | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by Jtumblin):

There has to be something in the httpd/error_log of the Mythweb server
because you are generating an error message. If you could post some of
the log entries here maybe I can make a suggestion that will get your box
fixed. The error_log should be a seperate log located in the directory
with the access log.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:20>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 22, 2009, 7:15 AM

Post #22 of 29 (1536 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.22-fixes
Severity: medium | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by anonymous):

Replying to [comment:20 Jtumblin]:
> There has to be something in the httpd/error_log of the Mythweb server
because you are generating an error message. If you could post some of
the log entries here maybe I can make a suggestion that will get your box
fixed. The error_log should be a seperate log located in the directory
with the access log.

No there is not. Only entries in /var/log/apache2/error.log are about
restarting the apache:
[Tue Dec 22 16:46:29 2009] [notice] caught SIGTERM, shutting down
[Tue Dec 22 16:46:30 2009] [notice] Apache/2.2.12 (Ubuntu)
PHP/5.2.10-2ubuntu6.3 with Suhosin-Patch configured -- resuming normal
operations

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:21>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 22, 2009, 7:23 AM

Post #23 of 29 (1544 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.22-fixes
Severity: medium | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by anonymous):

Replying to [comment:17 jtumblin]:
> If everything is configured correctly then it is not Mythweb's problem.
You are not getting a connection to the database. Can you post a Tail of
the http error log that shows the steps where Mythweb fails?

Yes I know the problem is the database connection as stated above:

--- clip ---

This is how I got it (partially) working:

- modified the classes/MythBackend.php so that instead of assigning $host
and $port through setting(), they are directly set to ip-address and port
number

- modified modules/status/handler.php and hardcoded $masterhost and
$statusport to localhost and 6544

Would someone please explain from which files the values above are
supposedly taken from and provide an example content of the files?

My config.xml and mysql.txt in $HOME/.mythtv directory are links to the
files in /etc/mythtv -directory having correct values for the relevant
fields.

/etc/apache2/sites-enabled/mythweb.conf also has the correct db name,
server, login, and password values

--- clip ---

So the mytbackend itself works properly. Another PC configured as a
standalone mythfrontend gets the connection to backend properly. As soon
as the hardcoded entries above are used, also mythweb can access the
system properly. It just does not read correct values from the
configuration files.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:22>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 22, 2009, 7:28 AM

Post #24 of 29 (1541 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.22-fixes
Severity: medium | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by jtumblin):

How do you know it is not read the correct values from the config files?
Do you see some pages or just blanks?

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:23>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 22, 2009, 7:36 AM

Post #25 of 29 (1536 views)
Permalink
Re: Ticket #7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade [In reply to]

#7561: Mythweb stopped working after Ubuntu 9.04 -> 9.10 upgrade
------------------------------+---------------------------------------------
Reporter: pet@… | Owner: kormoc
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.22-fixes
Severity: medium | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by anonymous):

Replying to [comment:23 jtumblin]:
> How do you know it is not read the correct values from the config files?
Do you see some pages or just blanks?

Well I know it because IF I HARDCODE THE VALUES DEFINED IN THE CONFIG
FILES AS DESCRIBED ABOVE THEN THE SYSTEM WORKS. If I used the non-modified
mythweb php files, the mythweb main page has the mythweb framework but the
'main frame' has the backtrace

When the MythBackend.php is configured with hardcoded $host and $port
values, the mythweb works except the backend status -page which works when
the modules/status/handler.php is modified with hardcoded $masterhost and
$statusport values.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7561#comment:24>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

First page Previous page 1 2 Next page Last page  View All MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.