Project

General

Profile

All channels on my installation are showing {name-not-set}

Added by Chris Jones about 1 year ago

I had to reboot my Fedora server the other day and now my TVHeadend application is failing to record any programs. When I looked at the Channels list, every single channel is showing as {name-not-set}.

I have reset the EPG linking to my local broadcast station at Winter Hill, but nothing has changed, and the TVH documentation does not appear to deal with this issue.

What do I do to recover my configuration?


Replies (39)

RE: All channels on my installation are showing {name-not-set} - Added by Jonas Lang about 1 year ago

Have you mapped your services since you did your reset

RE: All channels on my installation are showing {name-not-set} - Added by Chris Jones about 1 year ago

It does not give me any options to do anything.

RE: All channels on my installation are showing {name-not-set} - Added by Jonas Lang about 1 year ago

Next to the Muxes tab you should see the Services tab. Select the Services tab and below that you should see Map All Services. Select that and it should complete it.

If you’ve reset TVH I’d suggest rescanning your muxes and then map the services found after the scan has completed.

RE: All channels on my installation are showing {name-not-set} - Added by Chris Jones about 1 year ago

I have re-mapped muxes/services and all channels are defined as {name-not-set} with no number and no service.

The EPG shows all scheduled programs for the next several days, but not one entry has the channel ID.

What is wrong here?

RE: All channels on my installation are showing {name-not-set} - Added by Jonas Lang about 1 year ago

Has the transmitter stopped broadcasting channel IDs or changed the format somehow. Maybe search just in case.

What version of TVH are you using. Have you installed it from a PPA or compiled it yourself. Check the TVH GitHub to see if there was any changes made that may be affecting TVH on Fedora. https://github.com/tvheadend/tvheadend/pulls?q=is%3Apr+is%3Aclosed
If so you might want to post a bug report.

You might want to reconfigure or reinstall TVH in case there was some form of configuration corruption when you reset things. Obviously try reconfiguration first before trying to reinstall.

You might want to read this first
https://tvheadend.org/boards/5/topics/22492

RE: All channels on my installation are showing {name-not-set} - Added by Chris Jones about 1 year ago

The TVH version I am using is 4.3^20230408gitf32c7c5-1.fc38 which I understand is the latest available through RPMFusion.

I ended up uninstalling and reinstalling TVH. Now, I am struggling to reach the web interface for TVH. The response I get when I run $Hostname:9981 or the IP address (192.168.178.20:9981 is "This site cannot be reached. 192.168.178.20 refused to connect.

RE: All channels on my installation are showing {name-not-set} - Added by Jonas Lang about 1 year ago

Clearly the TVH service is not running on that address. Have you set up a static address for TVH. Just to check type in the following in Terminal

sudo systemctl status tvheadend.service

RE: All channels on my installation are showing {name-not-set} - Added by Chris Jones about 1 year ago

The service is running:
[root@saruman ~]# systemctl status tvheadend.service
● tvheadend.service - Tvheadend - a TV streaming server and DVR
Loaded: loaded (/usr/lib/systemd/system/tvheadend.service; disabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: active (running) since Thu 2023-10-26 23:40:46 BST; 2s ago
Process: 219880 ExecStart=/usr/bin/tvheadend -f -p /run/tvheadend.pid $OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 219881 (tvheadend)
Tasks: 40 (limit: 9435)
Memory: 21.9M
CPU: 918ms
CGroup: /system.slice/tvheadend.service
└─219881 /usr/bin/tvheadend -f -p /run/tvheadend.pid -c /var/lib/tvheadend/config -u tvheadend -g video -6 --http_port 9981 --htsp_port 9982 -C

Oct 26 23:40:46 saruman.mollcons.local tvheadend219881: epgdb: broadcasts 7604
Oct 26 23:40:46 saruman.mollcons.local tvheadend219881: dvr: Purging obsolete autorec entries for current schedule
Oct 26 23:40:46 saruman.mollcons.local tvheadend219881: START: HTS Tvheadend version 4.3^20230408gitf32c7c5-1.fc38 started, running as PID:219881 UID:981 GID:39, CWD>
Oct 26 23:40:47 saruman.mollcons.local tvheadend219881: scanfile: DVB-S - loaded 1 regions with 272 networks
Oct 26 23:40:47 saruman.mollcons.local tvheadend219881: scanfile: DVB-T - loaded 44 regions with 1080 networks
Oct 26 23:40:47 saruman.mollcons.local tvheadend219881: scanfile: DVB-C - loaded 18 regions with 62 networks
Oct 26 23:40:47 saruman.mollcons.local tvheadend219881: scanfile: ATSC-T - loaded 2 regions with 13 networks
Oct 26 23:40:47 saruman.mollcons.local tvheadend219881: scanfile: ATSC-C - loaded 2 regions with 6 networks
Oct 26 23:40:47 saruman.mollcons.local tvheadend219881: scanfile: ISDB-T - loaded 2 regions with 2544 networks
Oct 26 23:40:47 saruman.mollcons.local tvheadend219881: avahi: Service 'Tvheadend' successfully established.

However, when I login using root, it displays 403 Forbidden.

How do I resolve this issue?

RE: All channels on my installation are showing {name-not-set} - Added by Jonas Lang about 1 year ago

Were you asked to supply an admin name and password when you reinstalled TVH. Try clearing your browser cookies so you will be asked to supply those credentials you just created.

Read this too https://tvheadend.org/projects/tvheadend/wiki/Faq

RE: All channels on my installation are showing {name-not-set} - Added by Chris Jones about 1 year ago

Did that and now when I restart TVH I get the following status:

[root@saruman root]# systemctl status tvheadend.service
● tvheadend.service - Tvheadend - a TV streaming server and DVR
Loaded: loaded (/usr/lib/systemd/system/tvheadend.service; disabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: active (running) since Fri 2023-10-27 13:02:53 BST; 3s ago
Process: 265168 ExecStart=/usr/bin/tvheadend -f -p /run/tvheadend.pid $OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 265169 (tvheadend)
Tasks: 40 (limit: 9435)
Memory: 21.0M
CPU: 906ms
CGroup: /system.slice/tvheadend.service
└─265169 /usr/bin/tvheadend -f -p /run/tvheadend.pid -c /var/lib/tvheadend/config -u tvheadend -g video -6 --http_port 9981 --htsp_port 9982 -C

Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: epgdb: broadcasts 6715
Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: dvr: Purging obsolete autorec entries for current schedule
Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: START: HTS Tvheadend version 4.3^20230408gitf32c7c5-1.fc38 started, running as PID:265169 UID:981 GID:39, CWD>
Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: scanfile: DVB-S - loaded 1 regions with 272 networks
Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: scanfile: DVB-T - loaded 44 regions with 1080 networks
Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: scanfile: DVB-C - loaded 18 regions with 62 networks
Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: scanfile: ATSC-T - loaded 2 regions with 13 networks
Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: scanfile: ATSC-C - loaded 2 regions with 6 networks
Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: scanfile: ISDB-T - loaded 2 regions with 2544 networks
Oct 27 13:02:54 saruman.mollcons.local tvheadend265169: avahi: Service 'Tvheadend' successfully established.

Then I run the browser and try to login I get the 403 error once more. Any ideas as to what is wrong?
[root@saruman root]# systemctl status tvheadend.service
● tvheadend.service - Tvheadend - a TV streaming server and DVR
Loaded: loaded (/usr/lib/systemd/system/tvheadend.service; disabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: active (running) since Fri 2023-10-27 13:02:53 BST; 43s ago
Process: 265168 ExecStart=/usr/bin/tvheadend -f -p /run/tvheadend.pid $OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 265169 (tvheadend)
Tasks: 42 (limit: 9435)
Memory: 21.4M
CPU: 927ms
CGroup: /system.slice/tvheadend.service
└─265169 /usr/bin/tvheadend -f -p /run/tvheadend.pid -c /var/lib/tvheadend/config -u tvheadend -g video -6 --http_port 9981 --htsp_port 9982 -C

Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: START: HTS Tvheadend version 4.3^20230408gitf32c7c5-1.fc38 started, running as PID:265169 UID:981 GID:39, CWD>
Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: scanfile: DVB-S - loaded 1 regions with 272 networks
Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: scanfile: DVB-T - loaded 44 regions with 1080 networks
Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: scanfile: DVB-C - loaded 18 regions with 62 networks
Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: scanfile: ATSC-T - loaded 2 regions with 13 networks
Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: scanfile: ATSC-C - loaded 2 regions with 6 networks
Oct 27 13:02:53 saruman.mollcons.local tvheadend265169: scanfile: ISDB-T - loaded 2 regions with 2544 networks
Oct 27 13:02:54 saruman.mollcons.local tvheadend265169: avahi: Service 'Tvheadend' successfully established.
Oct 27 13:03:29 saruman.mollcons.local tvheadend265169: http: fd00::4462:c380:bad3:1da8: HTTP/1.1 GET (1) /extjs.html -- 403
Oct 27 13:03:29 saruman.mollcons.local tvheadend265169: http: fd00::4462:c380:bad3:1da8: HTTP/1.1 GET (1) /favicon.ico -- 403
lines

RE: All channels on my installation are showing {name-not-set} - Added by Jonas Lang about 1 year ago

Did you read the link I included. You can stop the TVH service and start it manually

sudo systemctl stop tvheadend.service

Now read that link on how to start TVH manually.

You need to do a search which will produce links on how to do this. A simple Google search like

tvheadend 403 forbidden

will yield plenty of links you can follow.

Unfortunately you are running TVH in Fedora which doesn’t allow to issue a simple reconfiguration command based on the Debian package system.

RE: All channels on my installation are showing {name-not-set} - Added by Jonas Lang about 1 year ago

I’m not a Fedora user and I’m not sure what version of TVH you have installed but looking at this link does the latest build here match the build you are using.
https://fedora.pkgs.org/37/rpmfusion-free-x86_64/tvheadend-4.3-9.20220330git2bf1629.fc37.x86_64.rpm.html

RE: All channels on my installation are showing {name-not-set} - Added by Chris Jones about 1 year ago

The version I have installed is tvheadend: version 4.3^20230408gitf32c7c5-1.fc38

I first of all stopped the service, restarted it and then ran the initialisation command

Here is the output from the sequence:
[root@saruman root]# systemctl start tvheadend.service
[root@saruman root]# tvheadend --noacl
2023-10-27 18:19:17.616 [ INFO] main: Log started
2023-10-27 18:19:17.616 [ INFO] tcp: No systemd socket: creating a new one
2023-10-27 18:19:17.616 [ ERROR] tcp: bind: *:9981: Address already in use
2023-10-27 18:19:17.616 [ INFO] tcp: No systemd socket: creating a new one
2023-10-27 18:19:17.616 [ ERROR] tcp: bind: *:9982: Address already in use
2023-10-27 18:19:17.641 [ INFO] config: loaded
2023-10-27 18:19:17.642 [ INFO] config: scanfile (re)initialization with path <none>
2023-10-27 18:19:17.642 [ INFO] transcode: 'video' context type registered
2023-10-27 18:19:17.642 [ INFO] transcode: 'audio' context type registered
2023-10-27 18:19:17.642 [ INFO] transcode: '&TVHH264Decoder' decoder helper registered
2023-10-27 18:19:17.642 [ INFO] transcode: '&TVHTHEORADecoder' decoder helper registered
2023-10-27 18:19:17.642 [ INFO] transcode: '&TVHAACDecoder' decoder helper registered
2023-10-27 18:19:17.642 [ INFO] transcode: '&TVHVORBISDecoder' decoder helper registered
2023-10-27 18:19:17.642 [ INFO] transcode: '&TVHOPUSDecoder' decoder helper registered
2023-10-27 18:19:17.642 [ INFO] transcode: '&TVHMPEG2VIDEOEncoder' encoder helper registered
2023-10-27 18:19:17.642 [ INFO] transcode: '&TVHH264Encoder' encoder helper registered
2023-10-27 18:19:17.642 [ INFO] transcode: '&TVHHEVCEncoder' encoder helper registered
2023-10-27 18:19:17.642 [ INFO] transcode: '&TVHAACEncoder' encoder helper registered
2023-10-27 18:19:17.644 [ INFO] codec: 'mpeg2video' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'mp2' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'aac' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'vorbis' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'flac' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'libx264' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'libx265' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'libvpx' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'libvpx-vp9' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'libtheora' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'libvorbis' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'libfdk_aac' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'libopus' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'h264_vaapi' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'hevc_vaapi' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'vp8_vaapi' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'vp9_vaapi' encoder registered
2023-10-27 18:19:17.644 [ INFO] codec: 'webtv-vp8' codec profile created
2023-10-27 18:19:17.644 [ INFO] codec: 'webtv-h264' codec profile created
2023-10-27 18:19:17.644 [ INFO] codec: 'webtv-vorbis' codec profile created
2023-10-27 18:19:17.644 [ INFO] codec: 'webtv-aac' codec profile created
2023-10-27 18:19:17.646 [ INFO] descrambler: adding CAID 2600/FFFF as ConstCW interval 10000ms pc 20 ep default (BISS)
2023-10-27 18:19:17.646 [ INFO] descrambler: adding CAID 0E00/FFFF as MultiPID interval 1000ms pc 2 ep default (PowerVu)
2023-10-27 18:19:17.648 [ INFO] iptv: Using 2 input thread(s)
2023-10-27 18:19:18.042 [ INFO] scanfile: DVB-S - loaded 1 regions with 272 networks
2023-10-27 18:19:18.042 [ INFO] scanfile: DVB-T - loaded 44 regions with 1080 networks
2023-10-27 18:19:18.042 [ INFO] scanfile: DVB-C - loaded 18 regions with 62 networks
2023-10-27 18:19:18.042 [ INFO] scanfile: ATSC-T - loaded 2 regions with 13 networks
2023-10-27 18:19:18.042 [ INFO] scanfile: ATSC-C - loaded 2 regions with 6 networks
2023-10-27 18:19:18.042 [ INFO] scanfile: ISDB-T - loaded 2 regions with 2544 networks
2023-10-27 18:19:19.655 [ ERROR] linuxdvb: unable to open /dev/dvb/adapter1/frontend0
2023-10-27 18:19:21.659 [ ERROR] linuxdvb: unable to open /dev/dvb/adapter0/frontend0
2023-10-27 18:19:21.662 [ INFO] dvr: Creating new configuration ''
2023-10-27 18:19:21.662 [WARNING] access: Access control checking disabled
2023-10-27 18:19:21.664 [ INFO] epggrab: module uk_freesat created
2023-10-27 18:19:21.664 [ INFO] epggrab: module uk_freesat_eit created
2023-10-27 18:19:21.664 [ INFO] epggrab: module uk_freeview created
2023-10-27 18:19:21.664 [ INFO] epggrab: module nz_freeview2 created
2023-10-27 18:19:21.664 [ INFO] epggrab: module nz_freeview1 created
2023-10-27 18:19:21.665 [ INFO] epggrab: module viasat_baltic created
2023-10-27 18:19:21.665 [ INFO] epggrab: module Bulsatcom_39E created
2023-10-27 18:19:21.665 [ INFO] epggrab: module uk_cable_virgin created
2023-10-27 18:19:21.665 [ INFO] epggrab: module eit created
2023-10-27 18:19:21.665 [ INFO] epggrab: module psip created
2023-10-27 18:19:21.671 [ INFO] epggrab: module opentv-ausat created
2023-10-27 18:19:21.672 [ INFO] epggrab: module opentv-skyit created
2023-10-27 18:19:21.673 [ INFO] epggrab: module opentv-skynz created
2023-10-27 18:19:21.674 [ INFO] epggrab: module opentv-skyuk created
2023-10-27 18:19:21.674 [ INFO] epggrab: module xmltv created
2023-10-27 18:19:21.677 [ INFO] tbl-eit: module eit - scraper disabled by config
2023-10-27 18:19:21.677 [ INFO] epgdb: gzip format detected, inflating (ratio 138.6% deflated size 79)
2023-10-27 18:19:21.677 [ INFO] epgdb: parsing 57 bytes
2023-10-27 18:19:21.678 [ INFO] epgdb: loaded v3
2023-10-27 18:19:21.678 [ INFO] epgdb: config 1
2023-10-27 18:19:21.678 [ INFO] epgdb: broadcasts 0
2023-10-27 18:19:21.679 [ INFO] dvr: Purging obsolete autorec entries for current schedule
2023-10-27 18:19:21.680 [ NOTICE] START: HTS Tvheadend version 4.3^20230408gitf32c7c5-1.fc38 started, running as PID:273667 UID:0 GID:0, CWD:/export/root CNF:/root/.hts/tvheadend
2023-10-27 18:19:22.439 [ INFO] avahi: Service 'Tvheadend' successfully established.

When I then try to login with root and the password, it responds with 403 Forbidden.

RE: All channels on my installation are showing {name-not-set} - Added by Jonas Lang about 1 year ago

Does the installation of TVH on Fedora give you the opportunity to supply an admin name and password during the installation process.

RE: All channels on my installation are showing {name-not-set} - Added by Jonas Lang about 1 year ago

Are you being asked to supply a name and password in the browser. If so have you tried leaving both fields blank and submitting it.

Follow this link if you are still experiencing problems https://tvheadend.org/boards/5/topics/40734

RE: All channels on my installation are showing {name-not-set} - Added by Chris Jones about 1 year ago

I have uninstalled TVH, reinstalled and then attempted to run the browser session which appears to work, presenting a login form. When I attempt to login, it generates a 403 error.

RE: All channels on my installation are showing {name-not-set} - Added by Jonas Lang about 1 year ago

You haven’t answered my question. When you are installing TVH are you being asked to create a user. That’s the most important part of installing TVH. That’s when you create what’s known as a super user. https://tvheadend.org/boards/5/topics/20534

How are you uninstalling TVH. Is this the method you use to install it

Download latest rpmfusion-free-release-stable rpm from

http://download1.rpmfusion.org/free/fedora/

Install rpmfusion-free-release-stable rpm:

  1. rpm -Uvh rpmfusion-free-release-stable*rpm
Install tvheadend rpm package:
  1. dnf install tvheadend

If all else fails uninstall TVH and install it via snap following this link https://snapcraft.io/install/tvheadend/fedora

Is there a particular reason you use Fedora Linux. Are you a Linux beginner or an expert.

RE: All channels on my installation are showing {name-not-set} - Added by Chris Jones about 1 year ago

In answer to your first question - no, I am not asked to create a user during installation.

RPMFusion 38.1 was installed on 31st May 2023 as part of the upgrade to Fedora 38

I used dnf to install tvheadend as you suggested.

I have now installed TVH using snapd = configuration has gone OK but now I have had to reinstall the TV adaptor.

Following that, I have tried to scan the 7 muxes and no services have been discovered from my local transmitter. What could still be wrong?

RE: All channels on my installation are showing {name-not-set} - Added by Jonas Lang about 1 year ago

Check the Status tab see if you are showing signal. If so manually enter the mux details of one known working mux from your provider.

RE: All channels on my installation are showing {name-not-set} - Added by Chris Jones about 1 year ago

I have checked the status for each of the 7 muxes showing. All 7 are showing under Name a value between 554MHz and 778MHz but all show a Scan Result of FAIL. No services are shown either.

I am thinking that maybe the problem lies with either the PCIe card I am using, or a problem with the aerial connection.

RE: All channels on my installation are showing {name-not-set} - Added by Chris Jones about 1 year ago

Desktop with AMD Athlon(tm) 64 X2 Dual Core Processor 5600+, 2 cores, 8Gb of RAM, 250Gb SSD, 500Gb SATA Raid 1, 2Tb SATA. Running Fedora 38 with Linux 6.5.8

RE: All channels on my installation are showing {name-not-set} - Added by Jonas Lang about 1 year ago

How many tuners is TVH reporting. Are you using DVBT or DVBC.

(1-25/39)