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

on-boot-script vs on-boot-script-2.x #566

Open
ddkedr opened this issue Sep 3, 2023 · 15 comments
Open

on-boot-script vs on-boot-script-2.x #566

ddkedr opened this issue Sep 3, 2023 · 15 comments

Comments

@ddkedr
Copy link

ddkedr commented Sep 3, 2023

Hey, Guys!

Can anybody tell whether I should use on-boot-script or on-boot-script-2.x for my UDMP with UnifiOS 3?

And what is the actual difference between these two?

Thanks

@m4n63
Copy link

m4n63 commented Sep 6, 2023

Hey, Guys!

Can anybody tell whether I should use on-boot-script or on-boot-script-2.x for my UDMP with UnifiOS 3?

And what is the actual difference between these two?

Thanks

you need to use the 2.x version, and even that has some installation issues, read this topic for the rundown of the changes you need to perform manually after install.
#501

@fdcastel
Copy link

fdcastel commented Sep 25, 2023

Minor suggestions:

  1. What about call it on-boot-script-3.x, then?
    Keep the versions aligned with Unifi OS base version.
    It would surely help to clear the confusion for new users.

  2. Improve main README.md explaining the differences.
    As it is today there is no clear mention about the two versions.
    Worse: current section for 2.x wrongly points to README.md of 1.x (!?) 😟

    Follow this readme.

  3. Put an explicit warning in the README.md of each script version telling to use the other version (according to your Unifi OS version).

@fdcastel
Copy link

Other problems:

  1. In 2.x docs the section Manual install steps are completely wrong for 3.x version.
    e.g. there is no unifi-os anymore.

  2. Also: it tells to download a udm-boot-2x_1.0.1_all.deb package but links it to the wrong version (1.0.0).
    The sample code which follows the instruction also refers to the 1.0.0 version:

    curl -L [[https://udm-boot.boostchicken.dev](https://unifi.boostchicken.io/udm-boot-2x_1.0.0_all.deb)](https://unifi.boostchicken.io/udm-boot-2x_1.0.0_all.deb) -o udm-boot-2x_1.0.0_all.deb
    dpkg -i udm-boot-2x_1.0.0_all.deb
    systemctl enable udm-boot
    exit

@fdcastel
Copy link

fdcastel commented Sep 25, 2023

For reference:

After reading #501 I did these steps to install on-boot-script in a UDM-PRO 3.x.

@fdcastel
Copy link

@boostchicken Any comments about the suggestions and problems cited above?

@boostchicken
Copy link
Member

Send a PR and I;; review, or if you want a whole new repo Ill make you one.

@SamErde
Copy link
Contributor

SamErde commented Feb 15, 2024

Actually...there might be something to maintaining a separate repo for the branch & package that supports older firmware with unifi-os and podman. I wonder if that would clear up the questions that continue to show up in issues.

@fdcastel
Copy link

Actually...there might be something to maintaining a separate repo for the branch & package that supports older firmware with unifi-os and podman.

I was thinking exactly this now.

@boostchicken What about to create a new 3.x repo in https://github.com/unifi-utilities/unifi-common (which is currently empty)?

@boostchicken
Copy link
Member

Actually...there might be something to maintaining a separate repo for the branch & package that supports older firmware with unifi-os and podman. I wonder if that would clear up the questions that continue to show up in issues.

There is a branch 1.0.6 for old stuff

@fdcastel
Copy link

Send a PR and I;; review, or if you want a whole new repo Ill make you one.

Sorry guys. Somehow, I managed to completely miss this one.

I have an extra UDM-PRO around here.

I'll try to put some ideas up, and I'll send them to you, @boostchicken.

@fdcastel
Copy link

Actually...there might be something to maintaining a separate repo for the branch & package that supports older firmware with unifi-os and podman.

I was thinking exactly this now.

@boostchicken What about to create a new 3.x repo in https://github.com/unifi-utilities/unifi-common (which is currently empty)?

BTW: Do you have any plans for this one?

@fdcastel
Copy link

Forget it. I did just read this.

Man...

@fdcastel
Copy link

@boostchicken Did you ever attempt to boot an UDM-Pro firmware in a virtual environment (e.g. QEMU?)

@boostchicken
Copy link
Member

@boostchicken Did you ever attempt to boot an UDM-Pro firmware in a virtual environment (e.g. QEMU?)

Hella yeah we did, their kernel didn't have the required stuff and we never got past that

@boostchicken
Copy link
Member

Btw look at the commits I fixed a ton of issues related to 4.0 and just little things and also merged forks who had some fixes as well!

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

5 participants