unifi-utilities / unifios-utilities

A collection of enhancements for UnifiOS based devices
GNU General Public License v3.0
3.84k stars 415 forks source link

udm boot script install, missing dependancy #355

Closed iloominaty closed 2 years ago

iloominaty commented 2 years ago

Describe the bug install script not working, missing "ubnt-device-info" dependancy.

To Reproduce Steps to reproduce the behavior:

  1. Run "remote_install.sh" script found HERE

Expected behavior I expect the script to complete without errors

Actuall behavior

root@ubnt:/# curl -fsL "https://raw.githubusercontent.com/boostchicken-dev/udm-utilities/HEAD/on-boot-script/remote_install.sh" | /bin/sh
  _   _ ___  __  __   ___           _
 | | | |   \|  \/  | | _ ) ___  ___| |_
 | |_| | |) | |\/| | | _ \/ _ \/ _ \  _|
  \___/|___/|_|  |_| |___/\___/\___/\__|

 Execute any script when your udm system
 starts.

Missing dependencie(s): `ubnt-device-info`

UDM Information

alxwolf commented 2 years ago

please issue ubnt-device-info directly on your UDM.

If that works, please try ubnt-device-info summary and post result (anonymising the MAC address).

iloominaty commented 2 years ago

Hi sorry, i forgot to mention that i already tried that.

root@ubnt:/# ubnt-device-info
bash: ubnt-device-info: command not found
root@ubnt:/#
iloominaty commented 2 years ago

im so sorry

I was in the unifi-os shell when attempting to run the script...

Please disregard everything. Again, sorry.

alxwolf commented 2 years ago

not that this did not happen to me before :)

When UDM/P reaches the same SW level as the UDM SE, this part will be over...

iceman3k commented 6 months ago

I would like my cloud key gen 2+ to have the on_boot function and am receiving this error. Is it possible to get persistent scripts and packages on the cloud key gen 2+? Running UniFi OS 3.2.7. Thanks!