Skip to content
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

Doesn't work at all on 1.8.5 #103

Closed
VIPKaiser opened this issue Jan 22, 2021 · 14 comments
Closed

Doesn't work at all on 1.8.5 #103

VIPKaiser opened this issue Jan 22, 2021 · 14 comments

Comments

@VIPKaiser
Copy link

I cannot get it to work at all on 1.8.5 the package runs as follows:

root@ubnt:/# dpkg -i udm-boot_1.0.2_all.deb
[parse_pkg_files] cmdargs: dpkg
(Reading database ... 61700 files and directories currently installed.)
Preparing to unpack udm-boot_1.0.2_all.deb ...
Unpacking udm-boot (1.0.2) over (1.0.2) ...
Setting up udm-boot (1.0.2) ...
#-> ubnt-dpkg-cache install
[parse_pkg_files] cmdargs: dpkg
[cache_add_action] PKGFILES: /udm-boot_1.0.2_all.deb
removing /data/dpkg-cache/stretch/packages/udm-boot_1.0.2_all.deb ... done
udm-boot: action=install, package=/data/dpkg-cache/stretch/packages/udm-boot_1.0.2_all.deb mark=manual
<-# ubnt-dpkg-cache install

Nothing is created, nothing is added to init.d directory no service is created?

@ArmandH
Copy link

ArmandH commented Jan 22, 2021

I have same question because they also mention if you want to cleanup
rm etc/init.d/udm.sh
systemctl disable udmboot
rm /etc/systemd/system/udmboot.service

None of that i have
sudo dpkg-query -l | grep udm
show i have package installed and i configured also a podman with adguardhome and its working, so i think maybe things have changed but its working.

@mensa84
Copy link

mensa84 commented Jan 28, 2021

Is it working on 1.8.6?

@ArmandH
Copy link

ArmandH commented Jan 28, 2021

Upgraded to 1.8.6 my container of adguardhome is gone, when running the boot script i get

./10-dns.sh

grep: /run/dnsmasq.conf.d/custom.conf: No such file or directory
adguardhome

re-installed the .deb package in unifi-os shell , exit and re-run the 10-dns.sh and i got back adguardhome container, only cannot access it UPDATE: deleting cni directory and reboot and copying back 20 script solve the problem. All working on 1.8.6 now

@mensa84
Copy link

mensa84 commented Jan 28, 2021

So the whole package seems to be really not solution, if it fails after every few FW updates :(

@vicslive
Copy link

I am trying to find information on how to debug error status=1 as below, I am running 1.8.6 and just installed the udm-boot to run the script for the ea_proxy ATT bypass, but never get the udm-boot to work yet. Please, Any ideas on what to do?
root@ubnt:/# systemctl status udm-boot
● udm-boot.service - Run On Startup UDM
Loaded: loaded (/lib/systemd/system/udm-boot.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2021-01-28 20:57:52 CST; 5min ago
Process: 10536 ExecStart=/sbin/ssh-proxy /mnt/data/on_boot.sh (code=exited, status=1/FAIL
URE)
Main PID: 10536 (code=exited, status=1/FAILURE)

Jan 28 20:57:52 ubnt systemd[1]: Starting Run On Startup UDM...
Jan 28 20:57:52 ubnt ssh-proxy[10536]: [78B blob data]
Jan 28 20:57:52 ubnt systemd[1]: udm-boot.service: Main process exited, cod
e=exited, status=1/FAILURE
Jan 28 20:57:52 ubnt systemd[1]: udm-boot.service: Failed with result 'exit
-code'.
Jan 28 20:57:52 ubnt systemd[1]: Failed to start Run On Startup UDM.

@ArmandH
Copy link

ArmandH commented Jan 29, 2021

mine is active on 1.8.6 but like i said i had to reinstall the package after upgrade
udm-boot.service - Run On Startup UDM
Loaded: loaded (/lib/systemd/system/udm-boot.service; enabled; vendor preset: enabled)
Active: active (exited) since Thu 2021-01-28 18:58:55 CET; 18h ago
Process: 10062 ExecStart=/sbin/ssh-proxy /mnt/data/on_boot.sh (code=exited, status=0/SUCCESS)
Main PID: 10062 (code=exited, status=0/SUCCESS)

@boostchicken
Copy link
Member

Hey everyone here, please try the 1.0.3 package just released and report b acvk

@mensa84
Copy link

mensa84 commented Jan 30, 2021

Don't you mean 1.0.4?

@boostchicken
Copy link
Member

boostchicken commented Jan 30, 2021 via email

@mensa84
Copy link

mensa84 commented Jan 30, 2021

For me it worked to install, thx a lot!
Is there any example on how to create a cronjob on the UDM-P? Or could you please explain it to me?

@ArmandH
Copy link

ArmandH commented Jan 30, 2021

Works for me thanks for the new update

systemctl status udm-boot
● udm-boot.service - Run On Startup UDM
Loaded: loaded (/lib/systemd/system/udm-boot.service; enabled; vendor preset: enabled)
Active: active (exited) since Sat 2021-01-30 12:25:12 CET; 1min 40s ago
Process: 18024 ExecStart=/sbin/ssh-proxy /mnt/data/on_boot.sh (code=exited, status=0/SUCCESS)
Main PID: 18024 (code=exited, status=0/SUCCESS)

Jan 30 12:25:11 ubnt systemd[1]: Starting Run On Startup UDM...
Jan 30 12:25:11 ubnt ssh-proxy[18024]: ln: /etc/cni/net.d/20-dns.conflist: File exists
Jan 30 12:25:11 ubnt ssh-proxy[18024]: RTNETLINK answers: File exists
Jan 30 12:25:11 ubnt ssh-proxy[18024]: RTNETLINK answers: File exists
Jan 30 12:25:11 ubnt ssh-proxy[18024]: RTNETLINK answers: File exists
Jan 30 12:25:12 ubnt ssh-proxy[18024]: efb582b4c44baf045d428564ad840f61488ac127b79f3a439ef0ea05582f992c
Jan 30 12:25:12 ubnt systemd[1]: Started Run On Startup UDM.

@heytcass
Copy link

heytcass commented Feb 8, 2021

HAve a similar issue. Started on 1.0.4, so @boostchicken comment doesn't seem to fix the issue. When running the boot script at first, I also got the /run/dnsmasq.conf.d/custom.conf: No such file or directory error that @ArmandH got.

Any recommendations? I saw @ArmandH comment about blowing away the cni directory, but don't want to screw up my shiny new UDM I spent all yesterday getting just right.

@XxSimpleAceXx
Copy link

Not sure but after reading the comments and reviewing everything I can't get mine to install like the issue above. I am running 1.8.6 and I have the same issue that this ticket was opened for.

When I go to remove the files and do a clean install they are also not found.

Any ideas?

@boostchicken
Copy link
Member

@XxSimpleAceXx closing for inactivity, please re-open if you still need help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants