Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > 3rd Party Projects > Projects > Mythbuntu
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Mythbuntu
Discussions for the Mythbuntu project.

 
Thread Tools Display Modes
Old October 25th, 2007   #1
zeltak
Gee! These Aren't Roasted!
 
zeltak's Avatar
 
Join Date: Jan 2006
Beans: 197
cant get mythweb to work

hi all

Everything works perfectly (well almost...) in the final release. i switched from mythdora and it is much faster , i love it (no to say mythdora was bad!). One thing i cant get to work is mythweb. i get this page that says index of and then apache as a link. other then that nothing. it used to work flawlessly before on my previous machine. can any one help?

thx for this really great distro!

Zeltak
__________________
Kubuntu: Thinkpad X200
Ubuntu media Server
Mythbuntu HTPC
Nokia N900 (kinda-buntu )
zeltak is offline   Reply With Quote
Old October 25th, 2007   #2
leftfield technology
First Cup of Ubuntu
 
Join Date: Sep 2007
Beans: 2
Re: cant get mythweb to work

Have you added /mythweb to the end of your IP? eg. 192.168.1.1/mythweb
leftfield technology is offline   Reply With Quote
Old October 25th, 2007   #3
p$y
5 Cups of Ubuntu
 
p$y's Avatar
 
Join Date: Jul 2007
Location: Germany
Beans: 30
Re: cant get mythweb to work

I have a problem, too. Don't know if I should start a new thread.

I connect to my mythbuntu box but apache2 says:
Quote:
root@tv:/home/simon# /etc/init.d/apache2 restart
* Restarting web server apache2 apache2: apr_sockaddr_info_get() failed for tv
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
apache2: apr_sockaddr_info_get() failed for tv
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
and mythweb says:
Quote:
Database Access Denied

You are most likely receiving this message because you
have failed to configure mythweb's database login info.

Please see .htaccess for instructions.
It doesn't matter if I have set a password or not.

Other things like munin or phpsysinfo works

Last edited by p$y; October 25th, 2007 at 10:59 AM..
p$y is offline   Reply With Quote
Old October 25th, 2007   #4
p$y
5 Cups of Ubuntu
 
p$y's Avatar
 
Join Date: Jul 2007
Location: Germany
Beans: 30
Re: cant get mythweb to work

ok I fixed the apache2 error by editing /etc/hosts to:
Quote:
127.0.0.1 localhost.localdomain localhost
127.0.1.1 tv.lan tv
first it looked like this
Quote:
127.0.0.1 localhost
127.0.1.1 tv
but I am unable to connect to mythweb, I have executed dpkg-reconfigure mythweb, but still not working...
p$y is offline   Reply With Quote
Old October 25th, 2007   #5
p$y
5 Cups of Ubuntu
 
p$y's Avatar
 
Join Date: Jul 2007
Location: Germany
Beans: 30
Re: cant get mythweb to work

ok now I resolved the problem, the password in /etc/mythtv/mythweb-htaccess was not the same like in /etc/mythtv/mysql.txt and everytime I run dpkg-reconfigure mythweb the password will be replaced with a wrong one :-/

Last edited by p$y; October 25th, 2007 at 11:47 AM..
p$y is offline   Reply With Quote
Old October 25th, 2007   #6
zeltak
Gee! These Aren't Roasted!
 
zeltak's Avatar
 
Join Date: Jan 2006
Beans: 197
Re: cant get mythweb to work

thx for the answers

i did try it with the mythweb at the end but i get the error message of database denied. i guess it has to do with the htaccess and mysql.txt, yet i have no idea of how to change it...

thx

Zeltak
__________________
Kubuntu: Thinkpad X200
Ubuntu media Server
Mythbuntu HTPC
Nokia N900 (kinda-buntu )
zeltak is offline   Reply With Quote
Old October 25th, 2007   #7
superm1
Ubuntu Developer
 
superm1's Avatar
 
Join Date: Oct 2005
Location: Austin, TX
Beans: 2,848
Ubuntu Development Release
Re: cant get mythweb to work

Quote:
Originally Posted by zeltak View Post
thx for the answers

i did try it with the mythweb at the end but i get the error message of database denied. i guess it has to do with the htaccess and mysql.txt, yet i have no idea of how to change it...

thx

Zeltak
Code:
sudo dpkg-reconfigure mythweb
superm1 is offline   Reply With Quote
Old October 25th, 2007   #8
superm1
Ubuntu Developer
 
superm1's Avatar
 
Join Date: Oct 2005
Location: Austin, TX
Beans: 2,848
Ubuntu Development Release
Re: cant get mythweb to work

Quote:
Originally Posted by p$y View Post
ok now I resolved the problem, the password in /etc/mythtv/mythweb-htaccess was not the same like in /etc/mythtv/mysql.txt and everytime I run dpkg-reconfigure mythweb the password will be replaced with a wrong one :-/
Reconfigure mythtv-common and put the right info in. Then reconfigure mythweb.
superm1 is offline   Reply With Quote
Old October 30th, 2007   #9
neutron68
A Carafe of Ubuntu
 
Join Date: Oct 2007
Location: Minneapolis, MN
Beans: 108
Ubuntu 9.10 Karmic Koala
dpkg - NOT the solution

Based on the message by p$y, I just changed the database password line in the file /etc/mythtv/mythweb-htaccess to the correct password, which is listed in the file /etc/mythtv/mysql.txt. That password seems to be autogenerated by Mythbuntu setup, since I didn't get asked for one and didn't manually force one. Based on that post, I did NOT run the dpkg-reconfigure command, as it is reported to screw up what I just fixed!

I had already set a username and password for mythweb in the Mythbuntu Control Center so I didn't need to redo that.

Also, you do need to point your browser to "IP ADDRESS"/mythweb and then it works. Pointing to just "IP ADDRESS" like I've done in Knoppmyth doesn't work in Mythbuntu. I guess the Knoppmyth boys put a redirect in to do the work for you.

This password bug is still something that should be fixed in the Mythbuntu setup, but until it is fixed, at least we know how to do it ourselves.

Cheers!
Eric

Last edited by neutron68; October 30th, 2007 at 10:13 PM..
neutron68 is offline   Reply With Quote
Old October 30th, 2007   #10
superm1
Ubuntu Developer
 
superm1's Avatar
 
Join Date: Oct 2005
Location: Austin, TX
Beans: 2,848
Ubuntu Development Release
Re: dpkg - NOT the solution

Quote:
Originally Posted by neutron68 View Post
Based on the message 3 posts up, I just changed the database password line in the file /etc/mythtv/mythweb-htaccess to the correct one, which is listed in the file /etc/mythtv/mysql.txt. That password seems to be autogenerated by Mythbuntu setup. Based on that post, I did NOT run the dpkg-reconfigure command again, as it is reported to screw up what I just fixed!

Also, you have to point your browser to "IP ADDRESS"/mythweb and then it works. Pointing to just "IP ADDRESS" like we've done with Knoppmyth doesn't work. In my case, it looks like this: 192.168.7.13/mythweb

This password bug is still something that should be fixed in the Mythbuntu setup, but until it is fixed, at least we know how to do it ourselves.

Cheers!
Eric
Please file a bug upon this issue if its not already done.
superm1 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:32 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry