fabianishere / udm-iptv

Helper tool for configuring routed IPTV on the UniFi Dream Machine (Pro)
GNU General Public License v2.0
428 stars 67 forks source link

Failed to preset unit with KPN v3.2.12 #311

Open LeroyBeesemer opened 8 months ago

LeroyBeesemer commented 8 months ago

What is your ISP? (if relevant)

KPN

Diagnostic Information

Please share the following output with the developers: === Configuration === WAN Interface: eth8 WAN VLAN: 4 (dev iptv) WAN DHCP: true (options "-O staticroutes -V IPTV_RG") WAN Ranges: 213.75.0.0/16 217.166.0.0/16 LAN Interfaces: br4 IGMP Proxy quickleave disabled: false IGMP Proxy debug: false === IP Link and Route === Device "iptv" does not exist. Cannot find device "iptv" === Service Logs === -- Journal begins at Mon 2024-02-12 13:17:06 CET, ends at Thu 2024-03-07 01:50:02 CET. -- -- No entries --

Describe the Bug

Hi,

I try to install the script. But after I run the script I get the following error:

Failed to preset unit: Unit file /etc/systemd/system/udm-iptv.service is masked. /usr/bin/deb-systemd-helper: error: systemctl preset failed on udm-iptv.service: No such file or directory udm-iptv.service is a disabled or a static unit not running, not starting it.

I'm currently running UDM on v3.2.12.

Do you guys have any idea how to fix this?

Expected Behavior

I expect that after install the script it works.

LeroyBeesemer commented 8 months ago

After resetting the UDM to factory default (Dont forget to make a backup first) the problem above is fixed, the script is installed correctly now. But... now I got another problem. I tried to startup the KPN TV box, but got the error code 563. I tried different settings, but nothings works. Someone any idea what the problem here is?

Screenshot 2024-03-07 at 04 05 57
arjen-w commented 8 months ago

Did you configure the correct internal network while running the script? You have to try different IGMP proxy versions (through the script), as it may differ between devices.

Sebazzz commented 3 months ago

I also have this particular problem, first time user.

/tmp/udm-iptv.config.AI7Ig5: 161: .: cannot open /usr/lib/udm-iptv/profiles/kpn.profile: No such file
udm-iptv failed to preconfigure, with exit status 2

The initial set-up continues though.

Sebazzz commented 2 months ago

And now I actually have KPN and am able to test, I can conclude IPTV just works fine. UDM in a router-behind-experiabox 10 configuration.

edit: Given #227 I might be mistaken.