Page 1 of 4

setup

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

Re: setup

Posted: Sat Apr 28, 2018 4:26 pm
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.

Re: setup

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

Re: setup

Posted: Sun Apr 29, 2018 10:41 pm
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.

Re: setup

Posted: Mon Apr 30, 2018 1:40 am
by gcook12
I typed that in and it retured that no such file or directory

Re: setup

Posted: Mon Apr 30, 2018 2:59 am
by bill6502
/var/log/mythtv, my typo which if fixed above.

Re: setup

Posted: Tue May 01, 2018 1:54 am
by gcook12
I found the log. It was in /var/log/mythtv I am not sure how to post a listing

Re: setup

Posted: Tue May 01, 2018 2:27 am
by fraserspur
gcccok12, you need to reply by selecting 'Full Editor & Preview, type your response and then select 'Attachments' and 'Add File'.

Re: setup

Posted: Tue May 01, 2018 8:46 pm
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.

Re: setup

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

Re: setup

Posted: Wed May 02, 2018 1:08 am
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.

Re: setup

Posted: Wed May 02, 2018 11:11 pm
by gcook12
Hope I followed the steps correctly but I did not find a log file in /tmp

Re: setup

Posted: Wed May 02, 2018 11:13 pm
by gcook12
it is ubundu. Where is the version number kept

Re: setup

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

Re: setup

Posted: Wed May 02, 2018 11:55 pm
by gcook12
I found the version. It is 16.04 LTS