setup

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

setup

Post by gcook12 »

Trying to get mythtv going again from a long time ago. Started the computer up and it loaded new software but now it is telling me that it cannot find the mythtv server. The external drive is connected. Any ideas?
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: setup

Post by bill6502 »

Sure, go to the logs. Not sure what "its is telling me" above refers to,
but the backend logs are usually in /var/log/mythtv/mythbackend.log
and the frontend's of course are mythfrontend.log.
gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: setup

Post by gcook12 »

OK really having to show my ignorance here. I opened a terminal then typed in /var/lib/mythtv/mythbackend.log and what came back was bash: /var/lib/mythtv/mythbackend.log: No such file or directory
I assume that is bad. I am also lost as to how to send you the log file contents if I ever find one.
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: setup

Post by bill6502 »

It's a file, so cat /var/log/mythtv/mythbackend.log would work.

You may be able to see the error yourself.

But, in case it's huge, try this: stop the backend, for example sudo systemctl stop mythtv-backend
(that's for recent Ubuntu/Mythbuntu distributions, yours may use a different command.

Once stopped, do this to create a fresh log: sudo mythbackend -u mythtv --logpath /tmp
after the messages settle (figure one minute or less) type control-c.

Then attach file file in /tmp (the name will be obvious) here.
gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: setup

Post by gcook12 »

I typed that in and it retured that no such file or directory
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: setup

Post by bill6502 »

/var/log/mythtv, my typo which if fixed above.
gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: setup

Post by gcook12 »

I found the log. It was in /var/log/mythtv I am not sure how to post a listing
fraserspur
Newcomer
Posts: 13
Joined: Sun Apr 02, 2017 8:51 am
Australia

Re: setup

Post by fraserspur »

gcccok12, you need to reply by selecting 'Full Editor & Preview, type your response and then select 'Attachments' and 'Add File'.
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: setup

Post by bill6502 »

And, please be sure to follow the steps 5 up from here to create a fresh log.
The existing log is likely to be full of old runs.
gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: setup

Post by gcook12 »

Sorry about that. I hope I did it right this time. I am having one problem following this. Every time I exit MythTV Startup Status it restarts before I can look for the file. Is there a way to terminate it?
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: setup

Post by bill6502 »

You'll need to mention the distribution you're running, I've commented on
Ubuntu/Mythbuntu above, but we really need to be sure. For example, I'm
running on Ubuntu 17.10 and mythbackend --version tells me that I'm on
version 30-Pre.

If you did find and run mythtv-setup.real, you can use the same logging options,
so: mythtv-setup.real --logpath /tmp would put a file in /tmp that you can attach.
Same with most myth* programs.
gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: setup

Post by gcook12 »

Hope I followed the steps correctly but I did not find a log file in /tmp
gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: setup

Post by gcook12 »

it is ubundu. Where is the version number kept
User avatar
bill6502
Developer
Posts: 2307
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: setup

Post by bill6502 »

mythbackend --version

If there was no file in /tmp, then please paste the command line you used
and the output you saw on the terminal window.
gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: setup

Post by gcook12 »

I found the version. It is 16.04 LTS
Post Reply