unifi-utilities / unifios-utilities

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

Missing /mnt/data/on_boot.d folder. #94

Closed Tntdruid closed 3 years ago

Tntdruid commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

UDM Information

Additional context Add any other context about the problem here.

Did the install dpkg -i udm-boot_1.0.2_all.deb,

i dont have the /mnt/data/on_boot.d on my UDM Pro.

I did reboot it after the install.

First time installing stuff on my UDM Pro :)

spali commented 3 years ago

Was the dpkg -i ... command successfully? Could you paste the output here so we can see what happened?

Tntdruid commented 3 years ago

root@ubnt:/# dpkg -i udm-boot_1.0.2_all.deb [parse_pkg_files] cmdargs: dpkg (Reading database ... 56190 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

spali commented 3 years ago

that's strange...there doesn't seem to be any error. Is it possible that you checked the existence of /mnt/data/on_boot.d from within the unifi-os shell? if the prompt is root@ubnt:/# then you are inside the unifi container. If so, you need to drop out of the unifi container with exit. Then you are in the shell of the UDM (host) itself. Should be visible by only a # as prompt. There you should see it. Otherwise please do a ls -l /mnt/data/ and post the result.

Tntdruid commented 3 years ago

Welcome to UniFi Dream Machine!

ls -l /mnt/data/

total 56 drwxr-xr-x 2 root root 4096 Aug 12 20:44 crash-data drwxr-xr-x 2 root root 4096 Jan 8 12:10 log drwx------ 2 root root 16384 Apr 3 2019 lost+found drwxr-xr-x 2 root root 4096 Jan 6 17:43 on_boot.d -rwxr-xr-x 1 root root 129 Jan 8 22:11 on_boot.sh drwx------ 3 root root 4096 Apr 3 2019 podman drwxr-xr-x 2 root root 4096 Apr 3 2019 ssh drwxr-xr-x 3 root root 4096 Jan 7 12:16 system drwxr-xr-- 2 root root 4096 Jan 7 12:21 traces drwxr-xr-x 4 root root 4096 Jan 8 09:10 udapi-config drwxr-xr-x 8 root root 4096 Aug 20 23:57 unifi-os

spali commented 3 years ago

There it is :)

Tntdruid commented 3 years ago

Thanks for the help 👍