Page 1 of 1

(SOLVED) MythStreamTV Question

Posted: Thu Feb 26, 2009 12:58 pm
by kwisher
Hello All,

I have installed MythStreamTV using the instructions here (http://ubuntuforums.org/showthread.php? ... thstreamtv) and using the attached file. When I try to start the stream from Mythweb I receive the following error : An unknown module was specified.

I see some errors from the install script. I have include the text from the terminal.

Code: Select all

----------------------------------------------------------------------
    MythStreamTV Directory         : /usr/share/mythtv/mythstreamtv
    MythWeb HTTP Directory         : /usr/share/mythtv/mythweb
    MythWeb HTTP Service Account   : www-data
    MythStreamTV Server Address    : 
    MythStreamTV Server Port       : 8001
    MythStreamTV Stream Admin Port : 8002
    MythStreamTV User:Group        : mythtv:mythtv
    MythTV Recordings Directory    : /var/lib/mythtv/recordings
    Path to where vlc is installed : /usr/bin/vlc
----------------------------------------------------------------------

Installing MythStreamTV.........
.... Checking MythWeb Compatablity: .... Installing /usr/share/mythtv/mythstreamtv/mythstreamtv.sh: cat: /usr/share/mythstreamtv/mythstreamtv.sh: No such file or directory
Success
.... Installing /usr/share/mythtv/mythstreamtv/mythstreamtvactive.sh: cat: /usr/share/mythstreamtv/mythstreamtvactive.sh: No such file or directory
Success
.... Installing /usr/share/mythtv/mythstreamtv/mythstreamtvctrl.sh: cat: /usr/share/mythstreamtv/mythstreamtvctrl.sh: No such file or directory
Success
.... Installing /usr/share/mythtv/mythstreamtv/mythstreamtvstop.sh: cat: /usr/share/mythstreamtv/mythstreamtvstop.sh: No such file or directory
Success
.... Installing /usr/share/mythtv/mythstreamtv/ivtv-tune.sh: cat: /usr/share/mythstreamtv/ivtv-tune.sh: No such file or directory
Success
Creating StreamTV Diretory's in MythWEB...
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/handler.php: cat: /usr/share/mythstreamtv/modules/handler.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/init.php: cat: /usr/share/mythstreamtv/modules/init.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/confirm.php: cat: /usr/share/mythstreamtv/modules/confirm.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/createfile.php: cat: /usr/share/mythstreamtv/modules/createfile.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/selectstream.php: cat: /usr/share/mythstreamtv/modules/selectstream.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/default/createfile.php: cat: /usr/share/mythstreamtv/themes/createfile.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/default/menu.php: cat: /usr/share/mythstreamtv/themes/menu.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/default/confirm.php: cat: /usr/share/mythstreamtv/themes/confirm.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/default/selectstream.php: cat: /usr/share/mythstreamtv/themes/selectstream.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/default/welcome.php: cat: /usr/share/mythstreamtv/themes/welcome.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/compact/createfile.php: cat: /usr/share/mythstreamtv/themes/createfile.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/compact/menu.php: cat: /usr/share/mythstreamtv/themes/menu.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/compact/confirm.php: cat: /usr/share/mythstreamtv/themes/confirm.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/compact/selectstream.php: cat: /usr/share/mythstreamtv/themes/selectstream.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/compact/welcome.php: cat: /usr/share/mythstreamtv/themes/welcome.php: No such file or directory
Success
ln: creating symbolic link `/usr/share/mythtv/mythweb/modules/streamtv/tmpl/lite/compact': File exists
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/wap/createfile.php: cat: /usr/share/mythstreamtv/themes/wap/createfile.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/wap/menu.php: cat: /usr/share/mythstreamtv/themes/wap/menu.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/wap/confirm.php: cat: /usr/share/mythstreamtv/themes/wap/confirm.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/wap/selectstream.php: cat: /usr/share/mythstreamtv/themes/wap/selectstream.php: No such file or directory
Success
.... Installing /usr/share/mythtv/mythweb/modules/streamtv/tmpl/wap/welcome.php: cat: /usr/share/mythstreamtv/themes/wap/welcome.php: No such file or directory
Success
.... Checking MythWeb Installation: Not required, skipping
.... Checking MythWebWap Installation: Not required, skipping
.... Fixing up file permissions: ln: creating symbolic link `/usr/share/mythtv/mythweb/modules/streamtv/includes/includes': File exists
Scanning php files in /usr/share/mythtv/mythweb
Can someone please help me with this problem?

TIA

Re: MythStreamTV Question

Posted: Thu Feb 26, 2009 10:24 pm
by DaveQB
Clearly you are missing files in
/usr/share/mythtv/mythstreamtv/

run:

Code: Select all

ls -l /usr/share/mythtv/mythstreamtv
And show us the output.

Re: MythStreamTV Question

Posted: Thu Feb 26, 2009 11:14 pm
by kwisher
DaveQB wrote:Clearly you are missing files in
/usr/share/mythtv/mythstreamtv/

run:

Code: Select all

ls -l /usr/share/mythtv/mythstreamtv
And show us the output.

Code: Select all

 # ls -l /usr/share/mythtv/mythstreamtv
total 0
-rwxrwxrwx 1 mythtv mythtv 0 2009-02-26 12:52 ivtv-tune.sh
-rwxrwxrwx 1 mythtv mythtv 0 2009-02-26 12:52 mythstreamtvactive.sh
-rwxrwxrwx 1 mythtv mythtv 0 2009-02-26 12:52 mythstreamtvctrl.sh
-rwxrwxrwx 1 mythtv mythtv 0 2009-02-26 12:52 mythstreamtv.sh
-rwxrwxrwx 1 mythtv mythtv 0 2009-02-26 12:52 mythstreamtvstop.sh

Re: MythStreamTV Question

Posted: Fri Feb 27, 2009 12:52 am
by DaveQB
That's bizzare!

The files are there. Have you run it again ? Maybe they have since been installed .. :?:

Code: Select all

ls -l /usr/share/mythstreamtv/mythstreamtvactive.sh
Is it really there ? I have copied and paste to make sure there is not typo.

Investigate those files and that installer you are running..

Re: MythStreamTV Question

Posted: Fri Feb 27, 2009 1:47 am
by mikeh
Never used mythstreamtv but from the looks of your errors it seems that it is trying to copy the files into various directories in /usr/share/mythtv

The ls listing you produced shows the files in the target directory, but they are all zero bytes in size.

Are you running the install script as root?

Re: MythStreamTV Question

Posted: Fri Feb 27, 2009 4:48 pm
by kwisher
mikeh wrote:Never used mythstreamtv but from the looks of your errors it seems that it is trying to copy the files into various directories in /usr/share/mythtv

The ls listing you produced shows the files in the target directory, but they are all zero bytes in size.

Are you running the install script as root?
I installed using sudo as the how-to instructed. After I read your post I installed again as root. Same results. Any other suggestions?

Re: MythStreamTV Question

Posted: Fri Feb 27, 2009 8:31 pm
by mikeh
So did you do this from the terminal after downloading the file. (I apologize if this is exactly how you did it, but I want to make sure).

Code: Select all

cd /
sudo tar -xzvf <path_to_package>/mythstreamtv_1.30-11-amk.tar.gz
cd /usr/share/mythstreamtv
sudo nano ./install.sh  (make your edits and save)
sudo ./install.sh
I am wondering if you did the tar from the root of your file system. Just by untaring the gz file from root you should have the /usr/share/mythstreamtv directory populated with the files you listed in a previous post, but they shouldn't be zero byte.

Re: MythStreamTV Question

Posted: Sat Feb 28, 2009 12:55 pm
by kwisher
mikeh wrote:So did you do this from the terminal after downloading the file. (I apologize if this is exactly how you did it, but I want to make sure).

Code: Select all

cd /
sudo tar -xzvf <path_to_package>/mythstreamtv_1.30-11-amk.tar.gz
cd /usr/share/mythstreamtv
sudo nano ./install.sh  (make your edits and save)
sudo ./install.sh
I am wondering if you did the tar from the root of your file system. Just by untaring the gz file from root you should have the /usr/share/mythstreamtv directory populated with the files you listed in a previous post, but they shouldn't be zero byte.
No I did not. I downloaded and uncompressed to my desktop and installed from there via the terminal. I wasn't sure it was safe to do anything in the /root folder.

Re: MythStreamTV Question

Posted: Sat Feb 28, 2009 1:16 pm
by mikeh
Shouldn't be a problem. Doing the untar from / will put all the files in the proper location. It won't kill anything. The only thing it will do is overwrite those zero byte files which you want anyways.

I would do the install as they list and see if that solves your problem. Hopefully that will do it!

Re: MythStreamTV Question

Posted: Sat Feb 28, 2009 2:12 pm
by kwisher
That was the solution. Thanks so much for your help. I guess next time I will follow the instructions exactly as they are written.

Re: MythStreamTV Question

Posted: Sat Feb 28, 2009 3:35 pm
by mikeh
Glad that was it!