MythWeb - No TV Configured error
Moderator: Forum Moderators
MythWeb - No TV Configured error
I recently upgraded from .25 to .27 and now have an error in Mythweb. I get "No TVs Configured". I have verified that the DB password is correct. My tuners are all set up and Myth works properly except for this MythWeb error. I had a slight issue updating the DB schema during the upgrade and I am thinking that there are possibly some old values or settings that are still around that are bad. Can anybody point me in the correct direction to resolve this? I tried removing the Mythweb plugin and re-installing it but I still have the error.
Re: MythWeb - No TV Configured error
No suggestions?
Re: MythWeb - No TV Configured error
Did you upgrade mythweb as well?
Re: MythWeb - No TV Configured error
Been a while, but I came across my own post while updating to 27.3 today. Turns out somewhere along the line my db schema changed from 'mythconverg' to 'mythconverge'. I'm not sure when or how that happened. I'm pretty sure i never changed it, but that was what was causing my error. Correcting the mythweb.conf with the new db name fixed this issue.
Re: MythWeb - No TV Configured error
I have the same problem. My mythweb.conf file looks fine. I'm on 0.27 and have been for a few months. This seems to have happened randomly. No packages blacklisted for upgrade and all packages up-to-date - nothing to update or upgrade. Backend status and settings page look normal. If I go to my bookmarked shortcut for upcoming recordings I get an "An unknown module was specified" message. Any suggestions ?
Using mythbunutu 12.04.
Mythweb Installed version is 2:0.27.6+fixes.20160213.332aa34-0ubuntu0mythbuntu5.
apt-cache policy mythtv gives
mythtv:
Installed: (none)
Candidate: 2:0.27.6+fixes.20160213.332aa34-0ubuntu0mythbuntu5
mythbackend --version gives
MythTV Version : v0.27.6-6-g332aa34
Using mythbunutu 12.04.
Mythweb Installed version is 2:0.27.6+fixes.20160213.332aa34-0ubuntu0mythbuntu5.
apt-cache policy mythtv gives
mythtv:
Installed: (none)
Candidate: 2:0.27.6+fixes.20160213.332aa34-0ubuntu0mythbuntu5
mythbackend --version gives
MythTV Version : v0.27.6-6-g332aa34
Re: MythWeb - No TV Configured error
Any suggestions ?
Re: MythWeb - No TV Configured error
Hi,
Sounds like a different problem (as the original was a misspelling of mythconverg.)
Not a lot to go on here. The question implies that other pages in mythweb work,
but the bookmarked link to upcoming doesn't. A good starting point is looking at
the Apache logs:
and attempting to go to the page again. Don't use the bookmark, type the
URL manually, e.g. yourBackend/mythweb/tv/upcoming (or wherever your
pages live.
Sounds like a different problem (as the original was a misspelling of mythconverg.)
Not a lot to go on here. The question implies that other pages in mythweb work,
but the bookmarked link to upcoming doesn't. A good starting point is looking at
the Apache logs:
Code: Select all
tailf /var/log/apache2/error.log
URL manually, e.g. yourBackend/mythweb/tv/upcoming (or wherever your
pages live.
Re: MythWeb - No TV Configured error
Hi. Thanks for the response. Agreed - underlying problem must be different - but symptoms are the same. Thanks for suggestion re logs, but unfortunately that is not revealing anything.
This was done at 6pm local time 20 Feb. The restarts from last night and this morning were my apache restarts after various attempts to solve the problem.
I uninstalled / reinstalled mythweb with purge a couple of times. Updated ports in conf files as I have an alternative port setting. Ran mythtv-setup etc, but the current status is same as before. ie MythWeb is available, backend status page is normal but no upcoming recordings page
The tail did not update after I navigated to the upcoming page by typing in the url manually (http://htpc:3389/mythweb/tv/upcoming) -
This was done at 6pm local time 20 Feb. The restarts from last night and this morning were my apache restarts after various attempts to solve the problem.
I uninstalled / reinstalled mythweb with purge a couple of times. Updated ports in conf files as I have an alternative port setting. Ran mythtv-setup etc, but the current status is same as before. ie MythWeb is available, backend status page is normal but no upcoming recordings page
The tail did not update after I navigated to the upcoming page by typing in the url manually (http://htpc:3389/mythweb/tv/upcoming) -
Code: Select all
$ tailf /var/log/apache2/error.log
[Fri Feb 19 23:28:46 2016] [error] [client 69.162.124.230] File does not exist: /etc/apache2/htdocs
[Fri Feb 19 23:29:29 2016] [notice] caught SIGTERM, shutting down
[Fri Feb 19 23:29:30 2016] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.21 with Suhosin-Patch configured -- resuming normal operations
[Fri Feb 19 23:33:27 2016] [notice] caught SIGTERM, shutting down
[Fri Feb 19 23:33:28 2016] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.21 with Suhosin-Patch configured -- resuming normal operations
[Fri Feb 19 23:42:18 2016] [notice] caught SIGTERM, shutting down
[Fri Feb 19 23:42:19 2016] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.21 with Suhosin-Patch configured -- resuming normal operations
[Sat Feb 20 07:59:58 2016] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sat Feb 20 07:59:58 2016] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.21 with Suhosin-Patch configured -- resuming normal operations
Re: MythWeb - No TV Configured error
Bump. Anybody else able to assist with any ideas ?
Re: MythWeb - No TV Configured error
Let's ask the obvious, does the tv directory (module) even exist?
Your path may be different.
There are 3 directories and 32 files in the above for me.
Your path may be different.
Code: Select all
ls -l /var/www/mythweb/modules/tv
Re: MythWeb - No TV Configured error
Thanks for responding. Yep. It exists. All owned root:root, but readable by all.
Code: Select all
:~$ ls -l /var/www/mythweb/modules/tv
total 416
-rw-r--r-- 1 root root 1722 Feb 13 12:00 canned_searches.conf.php
-rw-r--r-- 1 root root 11895 Feb 13 2015 canned_searches.conf.php.BACKUP
-rw-r--r-- 1 root root 12112 Jan 31 00:17 canned_searches.conf.php.BACKUP160131
-rw-r--r-- 1 root root 12201 Jan 31 00:28 canned_searches.conf.php.BACKUP160131-02
-rw-r--r-- 1 root root 1722 Aug 2 2012 canned_searches.conf.php.DEFAULT
-rw-r--r-- 1 root root 3845 Feb 13 12:00 channel.php
drwxr-xr-x 2 root root 4096 Feb 19 23:27 classes
-rw-r--r-- 1 root root 15026 Feb 13 12:01 detail.php
-rw-r--r-- 1 root root 1074 Feb 13 12:00 get_pixmap.php
-rw-r--r-- 1 root root 539 Jan 5 16:13 get_schedule_details.php
-rw-r--r-- 1 root root 571 Feb 13 12:01 get_show_details.php
-rw-r--r-- 1 root root 3365 Feb 13 12:00 handler.php
drwxr-xr-x 2 root root 4096 Feb 19 23:27 includes
-rw-r--r-- 1 root root 1875 Feb 13 12:00 init.php
-rw-r--r-- 1 root root 2977 Feb 13 12:00 list.php
-rw-r--r-- 1 root root 498 Feb 13 12:00 list_recording_groups.php
-rw-r--r-- 1 root root 1214 Feb 13 12:00 list_shows_in_title_and_group.php
-rw-r--r-- 1 root root 917 Feb 13 12:00 list_titles_in_group.php
-rw-r--r-- 1 root root 768 Feb 13 12:00 lookup_metadata.php
-rw-r--r-- 1 root root 11920 Jan 5 16:13 MFPlayer_styles.swf
-rw-r--r-- 1 root root 177666 Jan 5 16:13 MFPlayer.swf
-rw-r--r-- 1 root root 1961 Feb 13 12:00 opensearch.php
-rw-r--r-- 1 root root 657 Jan 5 16:13 playerProductInstall.swf
-rw-r--r-- 1 root root 971 Feb 13 12:01 recommended.php
-rwxr-xr-x 1 root root 8808 Feb 13 12:01 recorded.php
-rw-r--r-- 1 root root 10816 Feb 13 12:01 schedules_custom.php
-rw-r--r-- 1 root root 7130 Feb 13 12:00 schedules_manual.php
-rw-r--r-- 1 root root 1499 Feb 13 12:00 schedules.php
-rw-r--r-- 1 root root 492 Feb 13 12:00 searches.php
-rw-r--r-- 1 root root 24909 Feb 13 12:00 search.php
-rw-r--r-- 1 root root 3843 Feb 13 12:00 set_channels.php
-rw-r--r-- 1 root root 2692 Feb 13 12:00 set_playgroup.php
-rw-r--r-- 1 root root 509 Feb 13 12:00 set_screens.php
-rw-r--r-- 1 root root 2222 Feb 13 12:00 set_session.php
-rw-r--r-- 1 root root 1089 Feb 13 12:00 submenu.php
drwxr-xr-x 7 root root 4096 Feb 19 23:27 tmpl
-rw-r--r-- 1 root root 353 Feb 13 12:00 ttvdb_proxy.php
-rw-r--r-- 1 root root 6530 Feb 13 12:00 upcoming.php
Re: MythWeb - No TV Configured error
Bump. Is anybody able to offer any further ideas please ?
Re: MythWeb - No TV Configured error
I'll sign off this as I have no better ideas, however, since you've mentioned
a custom setup, and that "Backend status and settings" work, does going
to: http://htpc:3389/mythweb/tv (or music, videos) work? Suggesting that
there's something configuration related that prevents going 'below' the
tv module. I'd assume that the browser(s) have been restarted (many
times) and that it's not a caching issue.
Good luck!
a custom setup, and that "Backend status and settings" work, does going
to: http://htpc:3389/mythweb/tv (or music, videos) work? Suggesting that
there's something configuration related that prevents going 'below' the
tv module. I'd assume that the browser(s) have been restarted (many
times) and that it's not a caching issue.
Good luck!
Re: MythWeb - No TV Configured error
I had another attempt at troubleshooting this today and solved my problem. I purged and reinstalled again which didn't help. I had a look at the config files again and noticed that setenv db_name was set to "mythtv" and not "mythconverg" in /etc/apache2/sites-available/mythweb.conf. Once I changed it all was back to normal. This is pretty weird as I checked my config when this problem first occurred - because that's what caused the OP's issue - my db name was definitely mythconverg then. Perhaps I was looking in /etc/apache2/sites-enabled/mythweb.conf. Like the OP, I'm not really sure how or why these changes occured - but - I'm just pleased it is working now. Thanks to bill6502 for trying to help.