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 » Sat Apr 28, 2018 3:16 pm

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: 1070
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: setup

Post by bill6502 » Sat Apr 28, 2018 4:26 pm

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 » Sun Apr 29, 2018 12:08 am

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: 1070
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: setup

Post by bill6502 » Sun Apr 29, 2018 10:41 pm

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 » Mon Apr 30, 2018 1:40 am

I typed that in and it retured that no such file or directory

User avatar
bill6502
Developer
Posts: 1070
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: setup

Post by bill6502 » Mon Apr 30, 2018 2:59 am

/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 » Tue May 01, 2018 1:54 am

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 » Tue May 01, 2018 2:27 am

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: 1070
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: setup

Post by bill6502 » Tue May 01, 2018 8:46 pm

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 » Wed May 02, 2018 12:03 am

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: 1070
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: setup

Post by bill6502 » Wed May 02, 2018 1:08 am

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 » Wed May 02, 2018 11:11 pm

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 » Wed May 02, 2018 11:13 pm

it is ubundu. Where is the version number kept

User avatar
bill6502
Developer
Posts: 1070
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: setup

Post by bill6502 » Wed May 02, 2018 11:29 pm

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 » Wed May 02, 2018 11:55 pm

I found the version. It is 16.04 LTS

Post Reply