AI1 Installer - No mythweb?

For discussion of topics specific to MythTV on OSX
bambamf16
Newcomer
Posts: 8
Joined: Tue Sep 25, 2018 6:13 am
United States of America

AI1 Installer - No mythweb?

Post by bambamf16 »

I finally got the All-in-one installer to get a working mythtv backend (all my fault, I had previous mysql, and initially used prebuilt packages). That is behind me now, but none of the directories or files indicated in the MacPorts Mythweb are there. It doesn't seem like anything but Mythbackend was installed.

I am sure this is my issue, but what am I missing?

Thanks,

jeff
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: AI1 Installer - No mythweb?

Post by pvr4me »

You are following these instructions, right?

https://www.mythtv.org/wiki/MythWeb_via_MacPorts

Please copy/paste the transcript from the Terminal session where you attempt to follow the steps.

Remember: "Any errors will report a message; successful completion just returns the command prompt."

Craig
Formerly the MacPorts guy.
bambamf16
Newcomer
Posts: 8
Joined: Tue Sep 25, 2018 6:13 am
United States of America

Re: AI1 Installer - No mythweb?

Post by bambamf16 »

Yes, the directions on that page. Here are the results:

MacMini:~ mythtv$ sudo cp -np /opt/dvr/sbin/envvars-std /opt/dvr/sbin/envvars
Password:
cp: /opt/dvr/sbin/envvars-std: No such file or directory
MacMini:~ mythtv$ sudo cp -np /opt/dvr/etc/apache2/original/httpd.conf /opt/dvr/etc/apache2/httpd.conf
cp: /opt/dvr/etc/apache2/original/httpd.conf: No such file or directory
MacMini:~ mythtv$ sudo cp -np /opt/dvr/etc/apache2/original/extra/* /opt/dvr/etc/apache2/extra/
cp: directory /opt/dvr/etc/apache2/extra does not exist
MacMini:~ mythtv$ cd /opt/dvr/lib/apache2/modules
-bash: cd: /opt/dvr/lib/apache2/modules: No such file or directory
MacMini:~ mythtv$ sudo /opt/dvr/bin/apxs -a -e -n "php5" mod_php54.**
sudo: /opt/dvr/bin/apxs: command not found
MacMini:~ mythtv$ sudo chmod 666 /opt/dvr/etc/apache2/httpd.conf
chmod: /opt/dvr/etc/apache2/httpd.conf: No such file or directory
MacMini:~ mythtv$

Thanks for you help, Jeff

PS. ** is the remove so
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: AI1 Installer - No mythweb?

Post by pvr4me »

So, you got the installer from:

https://sourceforge.net/projects/macpor ... ler/files/

If you have the backend running, then hundreds of MB of stuff had to be installed onto your machine. There are no options--it always goes to the same locations. I can't explain how the MythWeb bits might be missing.

What are the contents under '/opt/dvr' ? Did you move or rename part of the tree?

Craig
Formerly the MacPorts guy.
bambamf16
Newcomer
Posts: 8
Joined: Tue Sep 25, 2018 6:13 am
United States of America

Re: AI1 Installer - No mythweb?

Post by bambamf16 »

I got the file from the link on this page: https://www.mythtv.org/wiki/MacPorts

Here is the ls from /opt/dvr:

MacMini:~ mythtv$ cd /opt/dvr
MacMini:dvr mythtv$ ls
Library apache2 bin etc include lib libexec sbin share var
MacMini:dvr mythtv$

I did not move or rename anything that I am aware of.

Jeff
bambamf16
Newcomer
Posts: 8
Joined: Tue Sep 25, 2018 6:13 am
United States of America

Re: AI1 Installer - No mythweb?

Post by bambamf16 »

I just did an ls -R and found some interesting things.

1. The envars-std exists but it is in the bin folder not sbin
2. The httpd.conf file is in /opt/dvr/conf/original not /opt/dvr/etc/apache2/original

The ls -R output for the /opt/dvr folder is attached (if I can figure out how to do that).

Jeff
Attachments
LS Recursive Output.txt
(39.27 KiB) Downloaded 177 times
bambamf16
Newcomer
Posts: 8
Joined: Tue Sep 25, 2018 6:13 am
United States of America

Re: AI1 Installer - No mythweb?

Post by bambamf16 »

I also should say, Web Frontend is working splendidly, so I am not sure how much more I gain by Mythweb other than personal satisfaction.

Jeff
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: AI1 Installer - No mythweb?

Post by pvr4me »

I think you've installed Myth _0.27_ not 0.28. You can confirm by running 'mythutil --version'.

A key change between the two versions was that the MacPorts layout for Apache2 changed. If you want to continue with 0.27, you can follow an old version of the MythWeb install instructions:

https://www.mythtv.org/wiki?title=MythW ... ldid=63899

Otherwise, you should be able to migrate to 0.28 and then follow the current version of the MythWeb configuration instructions.

Craig
Formerly the MacPorts guy.
bambamf16
Newcomer
Posts: 8
Joined: Tue Sep 25, 2018 6:13 am
United States of America

Re: AI1 Installer - No mythweb?

Post by bambamf16 »

That is weird, here is the name of the file I downloaded:

mythtv.28-0.28.1-Fixes-20170201_1.mpkg 340.9 MB

How do I run the mythutil command? I am in the /opt/dvr/bin folder and it won't do anything (command not found).

Thanks again.
Jeff
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: AI1 Installer - No mythweb?

Post by pvr4me »

In Terminal...

Code: Select all

cd /opt/dvr/bin
mythutil --version
or from anywhere

Code: Select all

/opt/dvr/bin/mythutil --version
Craig
Formerly the MacPorts guy.
bambamf16
Newcomer
Posts: 8
Joined: Tue Sep 25, 2018 6:13 am
United States of America

Re: AI1 Installer - No mythweb?

Post by bambamf16 »

That's what I did. Said invalid command. I was in folder.
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: AI1 Installer - No mythweb?

Post by pvr4me »

And if you do 'ls -l myth*'?
Formerly the MacPorts guy.
bambamf16
Newcomer
Posts: 8
Joined: Tue Sep 25, 2018 6:13 am
United States of America

Re: AI1 Installer - No mythweb?

Post by bambamf16 »

MacMini:bin mythtv$ ls -l myth*
-rwxr-xr-x 1 root wheel 139252 Feb 13 2017 mythavtest
-rwxr-xr-x 1 root wheel 4033440 Feb 13 2017 mythbackend
-rwxr-xr-x 1 root wheel 107284 Feb 13 2017 mythccextractor
-rwxr-xr-x 1 root wheel 798648 Feb 13 2017 mythcommflag
-rwxr-xr-x 1 root wheel 221772 Feb 13 2017 mythffmpeg
-rwxr-xr-x 1 root wheel 154840 Feb 13 2017 mythffprobe
-rwxr-xr-x 1 root wheel 184984 Feb 13 2017 mythffserver
-rwxr-xr-x 1 root wheel 179552 Feb 13 2017 mythfilerecorder
-rwxr-xr-x 1 root wheel 466336 Feb 13 2017 mythfilldatabase
-rwxr-xr-x 1 root wheel 5683616 Feb 13 2017 mythfrontend
-rwxr-xr-x 1 root wheel 72880 Feb 13 2017 mythhdhomerun_config
-rwxr-xr-x 1 root wheel 97848 Feb 13 2017 mythjobqueue
-rwxr-xr-x 1 root wheel 372236 Feb 13 2017 mythlcdserver
-rwxr-xr-x 1 root wheel 123300 Feb 13 2017 mythmediaserver
-rwxr-xr-x 1 root wheel 201524 Feb 13 2017 mythmetadatalookup
-rwxr-xr-x 1 root wheel 119368 Feb 13 2017 mythpreviewgen
-rwxr-xr-x 1 root wheel 193392 Feb 13 2017 mythreplex
-rwxr-xr-x 1 root wheel 133264 Feb 13 2017 mythscreenwizard
-rwxr-xr-x 1 root wheel 192592 Feb 13 2017 mythshutdown
-rwxr-xr-x 1 root wheel 780888 Feb 13 2017 mythtranscode
-rwxr-xr-x 1 root wheel 524636 Feb 13 2017 mythtv-setup
-rwxr-xr-x 1 root wheel 499616 Feb 13 2017 mythutil
-rwxr-xr-x 1 root wheel 230084 Feb 13 2017 mythwelcome
-rwxr-xr-x 1 root wheel 2724 Feb 13 2017 mythwikiscripts
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: AI1 Installer - No mythweb?

Post by pvr4me »

So, mythutil is the third last entry. Regardless, by the dates, I can see that you have 0.28. I can't explain why the MythWeb stuff doesn't appear to be in the only location where the installer can put it.

Stop the backend, run the installer again and then try to continue with setup.

Craig
Formerly the MacPorts guy.
MoisiePants
Junior
Posts: 54
Joined: Sat Jul 23, 2016 11:41 am
Great Britain

Re: AI1 Installer - No mythweb?

Post by MoisiePants »

Hello,

I've been building my own version of the MacPorts install rather than using the All-in-One version - I've got MythWeb working fine, but I needed to adapt some of the directions on https://www.mythtv.org/wiki/MythWeb_via_MacPorts to get it to work.

I've been meaning to make some changes to that page to reflect my adaptations for a while - I'll try and do it over the next couple of days.

Pants.
Post Reply