-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to install package #321
Comments
From the log it looks like the script cannot update the package repositories from Ubiquiti and fails to install required packages. Also there's one package that has not been fully installed. What Unifi OS version are you on? And can you post the contents of the /etc/udm-iptv.conf file? I'd suggest restarting your UCG Ultra and running the script again and posting the results. |
UniFi OS 3.2.12, don't know how to get the contents of /etc/udm-iptv.conf file. I've already tried a restart and that didn't help. |
Is UniFi OS 3.2.15 not a requirement? (It was on UXG-Lite) |
This is currently the latest official release, so I don't think so |
I'm mistaken, UniFi OS 3.1.16 was an early access release for the UXG-Lite and a requirement for UDM-IPTV. So I assume UniFi OS 3.2.12 should work. (But why not try a newer version, just to be sure) |
@dmutsaers the Gateway series has different Unifi OS releases than the Cloud Gateways. It seems 3.2.12 is the latest Official release for UCG Ultra, with 3.2.17 being released as Release candidate today. @dmouwes how much Linux knowledge do you have? Without any it will be difficult to troubleshoot this issue or to make manual changes to the setup. But can you try the following, type 'cat /etc/udm-iptv.conf' (without the quotes) and post the results. Also post the log of what happens when you try a new install of the script. And finally does 'udm-iptv reconfigure' work for you? |
I stand corrected 😉 |
I don't have any linux knowledge. I used the script before on an UDM and that worked fine mostly. This is the result of 'cat /etc/udm-iptv.conf: Example configuration for udmp-iptvInterface on which IPTV traffic enters the routerIPTV_WAN_INTERFACE=eth5" ID of VLAN which carries IPTV traffic (use 0 if no VLAN is used)IPTV_WAN_VLAN="4" Name of the IPTV VLAN interfaceIPTV_WAN_VLAN_INTERFACE="iptv" IP ranges from which the IPTV traffic originates (separated by spaces)IPTV_WAN_RANGES="213.75.0.0/16 217.166.0.0/16" DHCP options to send when requesting an IP addressIPTV_WAN_DHCP_OPTIONS="-O staticroutes -V IPTV_RG" LAN interfaces on which IPTV should be made availableIPTV_LAN_INTERFACES="br4" Disable quickleave for igmpproxyIPTV_IGMPPROXY_DISABLE_QUICKLEAVE="false" Enable debugging for igmpproxyIPTV_IGMPPROXY_DEBUG="false" IPTV_IGMPPROXY_IGMP_VERSION="3" This is what happens when I install the script new: |
I think I see one thing that could be causing the issue. In So it should say: You can edit this with The other thing is that one package does not seem to be installed fully. After doing the above change you could try running |
3.2.17 is "Official" for the Cloud Gateway Ultra (since today). |
I just updated to unifi OS 3.2.17 and tried installing the script again after, this is what I got this time: sh -c "$(curl https://raw.githubusercontent.com/fabiani shere/udm-iptv/master/install.sh -sSf)" Configuration file '/etc/udm-iptv.conf' |
@dmouwes did you try the suggestions I posted about editing |
@dmouwes It looks like it's working for other users: |
I ran the suggested changes mentioned and this is what it says root@EM:~# dpkg --configure -a |
Sorry, afraid I don't know what else to try. The script is working for others with a CGU, and without access to your CGU it is very difficult to debug this remotely. Maybe others here have additional tips. |
The thing I would try next is a factory reset and start over. |
Please try to install after running |
I'm also encountering the issue that I cannot install the script:
is seems that "stretch" has been archived |
What is your ISP? (if relevant)
KPN
Diagnostic Information
Installing packages...
E: Failed to fetch https://apt-beta.artifacts.ui.com/dists/bullseye/InRelease 401 [IP: 52.10.249.110 443]
E: The repository 'https://apt-beta.artifacts.ui.com bullseye InRelease' is no longer signed.
E: Failed to fetch https://apt-release-candidate.artifacts.ui.com/dists/bullseye/InRelease 401 [IP: 52.10.249.110 443]
E: The repository 'https://apt-release-candidate.artifacts.ui.com bullseye InRelease' is no longer signed.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to install dialog... Using readline frontend
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
igmpproxy
The following packages will be upgraded:
udm-iptv
1 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
1 not fully installed or removed.
Need to get 0 B/16.5 kB of archives.
After this operation, 2048 B of additional disk space will be used.
Get:1 /tmp/tmp.20xFoScFSG/udm-iptv.deb udm-iptv all 3.0.5 [16.5 kB]
Preconfiguring packages ...
/tmp/udm-iptv.config.9MvBBN: 21: /etc/udm-iptv.conf: Syntax error: Unterminated quoted string
udm-iptv failed to preconfigure, with exit status 2
(Reading database ... 49027 files and directories currently installed.)
Preparing to unpack .../tmp.20xFoScFSG/udm-iptv.deb ...
Unpacking udm-iptv (3.0.5) over (3.0.4) ...
Setting up udm-iptv (3.0.5) ...
/var/lib/dpkg/info/udm-iptv.config: 21: /etc/udm-iptv.conf: Syntax error: Unterminated quoted string
dpkg: error processing package udm-iptv (--configure):
installed udm-iptv package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
udm-iptv
E: Sub-process /usr/bin/dpkg returned an error code (1)
Describe the Bug
Cloud Gateway Ultra won't install the updated script.
Expected Behavior
installation of the script
The text was updated successfully, but these errors were encountered: