Watch TV not working

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

Moderator: Forum Moderators

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

Re: Watch TV not working

Post by bill6502 »

@gcook12, steps 1-3 are fine. Don't do the 4th till you've tried
watching LiveTV. Then type control-c to stop the backend
and attach the log found in /tmp.

To restart the backend, then type: sudo systemctl start mythtv-backend.
gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: Watch TV not working

Post by gcook12 »

Sorry but I am really having trouble getting the idea down on how to post my log

first I stopped the backend by issueing this command
sudo systemctl stop mythtv-backend
Then I build a new log file by issuing this command

sudo mythbackend -u mythtv --logpath /tmp
Screen reader support enabled.
Started the backend by typing mythbackend at the prompt
tried to run watch live tv
then tried to post the file as an attachment. There was nothing resembling a log file in the /tmp directory.

There was a mythbackend.log file in the /var/log/mythtv directory but it was 0 bits big.

Still must be doing something wrong.
User avatar
bill6502
Developer
Posts: 2325
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Watch TV not working

Post by bill6502 »

  1. sudo systemctl stop mythtv-backend
  2. sudo mythbackend -u mythtv --logpath /tmp --loglevel debug --quiet
  3. Start the frontend and attempt to watch LiveTV, which is expected to fail.
  4. Type control-c in the window where step 2. was done.
  5. Look for the file in /tmp similar to: mythbackend.20180528121903.3630.log
  6. Attach the log here using the "Attachments" tab.
gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: Watch TV not working

Post by gcook12 »

Tried putting that in just like you said but when I put in the second command it returned with
sudo: mythbackend.real: command not found
gcook12
Junior
Posts: 89
Joined: Sun Nov 06, 2016 1:35 am
United States of America

Re: Watch TV not working

Post by gcook12 »

Thanks, I will try that but first I want to figure out why I am having so much trouble posting logs. Seems like that is central to all troubleshooting. Again, thanks for your thoughts and I will keep you posted.
User avatar
bill6502
Developer
Posts: 2325
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Watch TV not working

Post by bill6502 »

You're going to have to some detective work yourself. I don't run the Mythbuntu
package. See what command systemctl uses to start the backend by typing this:

Code: Select all

systemctl cat mythtv-backend
You'll see an ExecStart line. Use the name of the command there. It may be
a full path, like /usr/bin/mythbackend. Apparently, it doesn't have the .real
suffix. See the command list 3 posts above, I modified one line.
fraserspur
Newcomer
Posts: 13
Joined: Sun Apr 02, 2017 8:51 am
Australia

Re: Watch TV not working

Post by fraserspur »

I run mythtv on xUbuntu 16.04 and use the following commands which shouldn't require a path:

Start mythbackend - sudo systemctl start mythtv-backend.service
Stop mythbackend - sudo systemctl stop mythtv-backend.service

I understand that this system is an upgrade from a previous version of ubuntu/mythtv. You should make sure that the old upstart configuration isn't interfering with the upgraded system. look in /etc/init.d for mythtv-backend and if it is there rename it by typing this:

Code: Select all

sudo mv /etc/init.d/mythtv-backend /etc/init.d/mythtv-backend.old
User avatar
bill6502
Developer
Posts: 2325
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Watch TV not working

Post by bill6502 »

@ fraserspur, right the systemctl messages are the proper way to do things,
but in this case I'd like to see the additional logging and rather than change
the service or use the ADDITIONAL_ARGS feature, I went with stopping
the service and starting the BE directly. I'm guessing that mythbackend.real
no longer exists in Mythbuntu, but wanted the OP to confirm by looking at
the actual service.
Post Reply