Open Calimerorulez opened 2 years ago
I suspect this is unavoidable on the UDR. I recommend making a backup of /etc/udm-iptv.conf
and restoring it after re-installation.
Hi, thank you for your reply.
Should I close this issue, or do you want to look into it further?
I can provide debug info if necessary.
I'll keep it open so others can see, but I don't expect a fix unless Ubiquiti changes the firmware update process.
Just upgraded to 2.4.10, and I did not have to reinstall the script/software. But maybe that was a lucky shot... Can't reproduce it anymore now ;)
Just an idea.... what if you add a feature to configure the app as an argument? for example:
sh -c "$(curl https://raw.githubusercontent.com/fabianishere/udm-iptv/master/install.sh -sSf)" 192.168.2.1 KPN
Now I can run this command every time when the UDR has an update. Just need to build a monitoring system that will execute this command and you're done.
Or am I missing something?
Well every time there's an update, I just run the install script again as it keeps track of the configuration as it was before the update.
Again, iptv gone. Knew instantly where to look. Fmi this is an ubiquity problem right?
Again, iptv gone. Knew instantly where to look. Fmi this is an ubiquity problem right?
This is correct. See fabianishere's comment below.
I'll keep it open so others can see, but I don't expect a fix unless Ubiquiti changes the firmware update process.
Unfortunately, Ubiquiti hasn't change the process since this comment.
I'm using the USG with KPN (Internet + IPTV) using the following manual (written in Dutch). And I'm about to upgrade to the Cloud Gateway Ultra (CGU).
It places the kpn.sh file in the /config/scripts/post-config.d/
folder which for me persisted over updates (I'm not sure if this is the case for UDM/CGU. According the following unifi forum post. files in the /config/
folder are persisted.
Perhaps it is possible to modify the install.sh
script to check for and download the missing packages and put this script in the /config/scripts/post-config.d/
folder which is executed every time on reboot.
Has this been tried before?
Edit:
Found this: https://www.reddit.com/r/Ubiquiti/comments/gt8ijq/udmudmpro_how_to_run_commands_on_device_startup/
I'm using the USG with KPN (Internet + IPTV) using the following manual (written in Dutch). And I'm about to upgrade to the Cloud Gateway Ultra (CGU).
It places the kpn.sh file in the
/config/scripts/post-config.d/
folder which for me persisted over updates (I'm not sure if this is the case for UDM/CGU. According the following unifi forum post. files in the/config/
folder are persisted.Perhaps it is possible to modify the
install.sh
script to check for and download the missing packages and put this script in the/config/scripts/post-config.d/
folder which is executed every time on reboot.Has this been tried before?
Edit:
Found this: https://www.reddit.com/r/Ubiquiti/comments/gt8ijq/udmudmpro_how_to_run_commands_on_device_startup/
@fabianishere Can you check this, we. use the /config/scripts/post-config.d/
for things in the Edgerouter and have some custom scripting in it. Would be nice to also have something like this for the UniFi Line-up.
In case of your running script, you could also opt to make an option at the end of an install / upgrade / reconfigure to copy the files used to persistent storage on the UniFi Line-Up.
When a user than runs the script again check first of these files are there or not and act accordingly.
Let me know what you think.
Also running the Cloud Gateway Ultra. I suspect this will be a very popular device given its price. I upgraded the console today to version 3.2.17 and my KPN iTV stopped working. After running the install script, it is running again. Hopeful we can figure something out to make it persistent.
Also running the Cloud Gateway Ultra. I suspect this will be a very popular device given its price. I upgraded the console today to version 3.2.17 and my KPN iTV stopped working. After running the install script, it is running again. Hopeful we can figure something out to make it persistent.
Well, my 2 cents: with the UDM SE, it wasn’t persistent as well. After a OS update I had to re run the script to het the iTV working again. 1 minute effort.
While it's a one minute effort, it would be nice if the reinstall could be automated. 😉
What is your ISP? (if relevant)
KPN
Diagnostic Information
Not available anymore after reinstall :(
Describe the Bug
I just installed the new firmware for the UDR (2.4.9), and I had to reinstall the .deb file, despite having:
In the ubnt-dpkg-cache file.
Expected Behavior
No reinstall :)