trying to get mythtv-core.28 up and running, help!

For discussion of topics specific to MythTV on OSX
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: trying to get mythtv-core.28 up and running, help!

Post by pvr4me »

dardenus wrote:i don't think i understand, i have files for mythfilldatabase, mythfrontend, and mythtv-setup, none say mythbackend
In Myth_Stop_Start, click "Start MythBackend".

Craig
Formerly the MacPorts guy.
dardenus
Junior
Posts: 29
Joined: Thu Mar 30, 2017 12:49 pm
United States of America

Re: trying to get mythtv-core.28 up and running, help!

Post by dardenus »

pvr4me wrote:
dardenus wrote:i don't think i understand, i have files for mythfilldatabase, mythfrontend, and mythtv-setup, none say mythbackend
In Myth_Stop_Start, click "Start MythBackend".

Craig

ran Start MythBackend as stated, shows in Myth Stop Start that it is not running, and no log was created
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: trying to get mythtv-core.28 up and running, help!

Post by pvr4me »

dardenus wrote:ran Start MythBackend as stated, shows in Myth Stop Start that it is not running, and no log was created
In Applications > Console, there should be log entries created each time you click Start MythBackend, in the form of 'sudo launchctl load <blah>'. Please copy and paste the few lines around that.

Craig
Formerly the MacPorts guy.
dardenus
Junior
Posts: 29
Joined: Thu Mar 30, 2017 12:49 pm
United States of America

Re: trying to get mythtv-core.28 up and running, help!

Post by dardenus »

default 19:31:35.222666 -0500 opendirectoryd Client: <private>, UID: 0, EUID: 0, GID: 20, EGID: 20
default 19:31:35.229022 -0500 sudo root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/launchctl load -w /Library/LaunchDaemons/org.mythtv.mythbackend.plist
default 19:31:35.237008 -0500 authd Succeeded authorizing right 'system.privilege.admin' by client '/Applications/MacPorts/MythTV/Myth_Stop_Start.app' [2634] for authorization created by '/Applications/MacPorts/MythTV/Myth_Stop_Start.app' [2634] (13,0)
default 19:31:35.247052 -0500 trustd cert[2]: AnchorTrusted =(leaf)[force]> 0
default 19:31:35.248620 -0500 authd MacOS error: -67050
default 19:31:35.249884 -0500 authd Succeeded authorizing right 'system.privilege.admin' by client '/usr/libexec/security_authtrampoline' [2653] for authorization created by '/Applications/MacPorts/MythTV/Myth_Stop_Start.app' [2634] (3,0)
default 19:31:35.250748 -0500 security_authtrampoline executing /System/Library/ScriptingAdditions/StandardAdditions.osax/Contents/MacOS/uid
default 19:31:35.261329 -0500 opendirectoryd Client: <private>, UID: 0, EUID: 0, GID: 20, EGID: 20
default 19:31:35.262053 -0500 opendirectoryd Client: <private>, UID: 0, EUID: 0, GID: 20, EGID: 20
default 19:31:35.262694 -0500 opendirectoryd Client: <private>, UID: 0, EUID: 0, GID: 20, EGID: 20
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: trying to get mythtv-core.28 up and running, help!

Post by pvr4me »

1) Let's see if launchctl is trying to run the backend. In Terminal, enter the first line, your root password and you should get something like the last line:

Code: Select all

$ sudo launchctl list |grep myth
Password:
547	138	org.mythtv.mythbackend
2) Check the plist that is being fed to launchctl. In Terminal, enter 'cat /Library/LaunchDaemons/org.mythtv.mythbackend.plist' and paste the results here.

Craig
Formerly the MacPorts guy.
dardenus
Junior
Posts: 29
Joined: Thu Mar 30, 2017 12:49 pm
United States of America

Re: trying to get mythtv-core.28 up and running, help!

Post by dardenus »

$ sudo launchctl list |grep myth
$

sudo cat /Library/LaunchDaemons/org.mythtv.mythbackend.plist
Password:
cat: /Library/LaunchDaemons/org.mythtv.mythbackend.plist: No such file or directory
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: trying to get mythtv-core.28 up and running, help!

Post by pvr4me »

Well, that is the problem. Way back when, I asked you to uninstall everything in MacPorts and then re-run the all-in-one installer (mythtv.28-0.28.1-Fixes-20170201_1.mpkg). It appears that you neglected the later part. It should be OK to do it now but if you can take a backup of the disk beforehand, that is always prudent.

Craig
Formerly the MacPorts guy.
dardenus
Junior
Posts: 29
Joined: Thu Mar 30, 2017 12:49 pm
United States of America

Re: trying to get mythtv-core.28 up and running, help!

Post by dardenus »

i thought I did? the file is still on my desktop. I assume time machine is good enough for this? will start a backup
dardenus
Junior
Posts: 29
Joined: Thu Mar 30, 2017 12:49 pm
United States of America

Re: trying to get mythtv-core.28 up and running, help!

Post by dardenus »

ran backup, ran mythtv.28-0.28.1-Fixes-20170201_1.mpkg, no change
ran myth start stop and backend is not running, re ran all steps mentioned before and found no changes, same results in console, same results in terminal, and no log file created
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: trying to get mythtv-core.28 up and running, help!

Post by pvr4me »

dardenus wrote:ran backup, ran mythtv.28-0.28.1-Fixes-20170201_1.mpkg, no change
ran myth start stop and backend is not running, re ran all steps mentioned before and found no changes, same results in console, same results in terminal, and no log file created
When you say "same results in terminal", do you mean the plist file is still not present? The installer would have given you an error message if it was unable to write that file.

Please re-run the installer but DON"T QUIT at the end. From the menu bar, you can view the installer log messages and there is an option to save the log file. Please save it and upload here.

Craig
Formerly the MacPorts guy.
dardenus
Junior
Posts: 29
Joined: Thu Mar 30, 2017 12:49 pm
United States of America

Re: trying to get mythtv-core.28 up and running, help!

Post by dardenus »

correct, i re ran the install and pulled the log, attached
Attachments
Installer Log 8-Apr-2017.txt.zip
(28.71 KiB) Downloaded 94 times
Last edited by dardenus on Sat Apr 08, 2017 3:46 pm, edited 4 times in total.
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: trying to get mythtv-core.28 up and running, help!

Post by pvr4me »

dardenus wrote:correct, i re ran the install and pulled the log, attached
Attached...where?

Craig
Formerly the MacPorts guy.
dardenus
Junior
Posts: 29
Joined: Thu Mar 30, 2017 12:49 pm
United States of America

Re: trying to get mythtv-core.28 up and running, help!

Post by dardenus »

oops, file was too large, compressed and attached to post above, sorry
User avatar
pvr4me
Senior
Posts: 763
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: trying to get mythtv-core.28 up and running, help!

Post by pvr4me »

The installer log indicates that the user name is drobo and the install disk is named "Server HD". Are you running something different than a typical macOS configuration? Does this user have typical administration rights?

Have you tried installing from aother normal userid? The mythbackend does not run under a logged-in user; it runs as root strictly in the background.

Does the following file exist?

/opt/dvr/Library/LaunchDaemons/org.mythtv.mythbackend.plist

Craig
Formerly the MacPorts guy.
dardenus
Junior
Posts: 29
Joined: Thu Mar 30, 2017 12:49 pm
United States of America

Re: trying to get mythtv-core.28 up and running, help!

Post by dardenus »

the computer is mainly used to run iTunes to stream media to the Apple TVs in the house and runs Apple Server to run Time Machine backups for the MacBooks in the house.
the HDD is named Server HD to help identify it from MacBook HDs that i attach now and then (haven't really needed to in quite a while)
the user is Drobo (i use a Drobo ext hd enclosure to stream data from thus the name)
the file /opt/dvr/Library/LaunchDaemons/org.mythtv.mythbackend.plist does exist.
i can change the HD name or create a new user account if needed, sounds like i wouldn't need to regularly be logged into it so that would be fine
Post Reply