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

upgrade to 7.5.187 #694

Closed
wants to merge 7 commits into from
Closed

upgrade to 7.5.187 #694

wants to merge 7 commits into from

Conversation

it-can
Copy link

@it-can it-can commented Oct 9, 2023

upgrade to 7.5.187

@Gamertech
Copy link
Contributor

Gamertech commented Oct 9, 2023

This should be built against the beta branch .187 is still EA.

Edit: The beta branch hasn't been updated for a while. Would likely need all the Java fixes from master too.

@jdmac87
Copy link

jdmac87 commented Oct 9, 2023

7.5.187 is currently only early access.

@it-can
Copy link
Author

it-can commented Oct 11, 2023

https://community.ui.com/releases/UniFi-Network-Application-7-5-187/408b64c5-a485-4a37-843c-31e87140be64

it's now a RC release

@jdmac87
Copy link

jdmac87 commented Oct 11, 2023

https://community.ui.com/releases/UniFi-Network-Application-7-5-187/408b64c5-a485-4a37-843c-31e87140be64

it's now a RC release

I would suggest it is merged as latest only when Ubiquiti have formerly released it as the GA.
It's still to be considered a pre-release and further RCs may replace this one.

@PrplHaz4
Copy link

https://community.ui.com/releases/UniFi-Network-Application-7-5-187/408b64c5-a485-4a37-843c-31e87140be64
it's now a RC release

I would suggest it is merged as latest only when Ubiquiti have formerly released it as the GA. It's still to be considered a pre-release and further RCs may replace this one.

Given it took about a month for the USG DNS issue to come to light and the recent release demotions, even flipping GA to latest immediately sounds risky (and ultimately leads to more of @jacobalberty's time being spent on issues here that are out of his control).

Dockerfile Show resolved Hide resolved
@Gamertech
Copy link
Contributor

.187 is now official.

Dockerfile Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@szinn
Copy link

szinn commented Oct 20, 2023

Will this get merged?

@Gamertech
Copy link
Contributor

@it-can I don't know when jacobalberty will be back, but can you edit your PR in-line with the above suggestions please? Ubiquiti removes the tag on the end of the version when it goes stable.

Would let it get merged as soon as the maintainer sees it.

@dk90103
Copy link

dk90103 commented Oct 23, 2023

Even more urgent now:

https://community.ui.com/releases/Security-Advisory-Bulletin-036-036/81367bc9-2a64-4435-95dc-bbe482457615

@Cuzorn
Copy link

Cuzorn commented Oct 23, 2023

Even more urgent now:

https://community.ui.com/releases/Security-Advisory-Bulletin-036-036/81367bc9-2a64-4435-95dc-bbe482457615

Actually, that bug is only applicable when you run the controller on a unifi gateway console. It does not appear to be a risk for self hosted instances.

@dajappie dajappie mentioned this pull request Oct 23, 2023
README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@arkste arkste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tbclark3
Copy link

tbclark3 commented Nov 6, 2023

Is this project abandoned?

I don't think it's abandoned. Seems that @jacobalberty has been offline, not checking Github for the past few weeks

What is the difference between abandoned and "offline for the past few weeks"? Internet is accessible just about anywhere on the planet.

@therumbler
Copy link

Is this project abandoned?

I don't think it's abandoned. Seems that @jacobalberty has been offline, not checking Github for the past few weeks

What is the difference between abandoned and "offline for the past few weeks"? Internet is accessible just about anywhere on the planet.

Please don't get upset/set expectations for this repo's owner. All Jacob did was create a a great Dockerfile. Jacob has no responsibility whatsoever to maintain this repo.

TrueCharts, picking this repo, versus a way more maintained version such as the LinuxServer.io image could be considered a mistake, given this PR's situation.

I have dozen of totally unmaintained repos here in Github. If someone else chooses to use one, that's on them if they're expecting updates.

If you want, you could export your config and deploy up a new up-to-date instance of the controller, using a more maintained Docker image. Or even install directly, using a VM (this is exactly what I did).

@PrivatePuffin
Copy link

PrivatePuffin commented Nov 6, 2023

TrueCharts, picking this repo, versus a way more maintained version such as the LinuxServer.io image could be considered a mistake, given this PR's situation.

Unless you're a developer with vast experience with deploying containers on kubernetes. It might be best not to comment on decision making without even asking.

LinuxServer.io uses S6 overlay, which is not well suited for kubernetes. It creates quite specific permission and, in some edgecases, performance issues on kubernetes.

Running to the internet to start shouting on an upstream we use that we made a bad mistake, is bad form to begin with. A polite question towards us directly would've allowed us to clear this up without all sorts of accusitions being thrown towards both us AND @jacobalberty.

This gets even worse by the fact that @jacobalberty has been one of the most used and best reviewed unifi-controller containers out there. Which has been rock solid for thousands of users for years by now.

If people actually take their time to read through why this container is always slightly outdated, they would know that @jacobalberty is always very selective on when he merges an update. As there are a LOT of bad unifi versions out there.

This (waiting a while to see feedback) is the same protocol used by Hostifi for example. Although Hostifi has the upside of having paid staff and active reporting/testing protocols in place.

So in TLDR:
It's best to assume people that do things for years, know what the fuck they are doing or at the very least have some sort of reasoning to do what they do. In a certain way, paid or not, they are the profesional in what they are doing and you, as an average bloke, are not.


On another note:
It looks like project like TrueNAS SCALE and Unraid, causes an influx of users that, somehow, think it's "normal" or "best practice" in IT to merge new version as a downstream product right away.

This is not and has actually never been the case with software development. Downstreams always have a delay, either due to internal testing, protocols being followed, simple CI delays, QA waittimes or, simply, not having staff available to update things right away.

To give an example: Just-about none of the packages on an Average TrueNAS SCALE installation is up-to-date with their upstream. They often wheren't even up-to-date on the release date or when BETA went in effect.

This is normal.
Its understandable a lot of users are not "used" to how development works, but people should really chill the fuck down.

@Grab0
Copy link

Grab0 commented Nov 6, 2023

Holy shit, this escalated ...not so quickly.
Respectfully my dude, a short answer (to be patient) weeks ago would do the job.
Thanks for the update anyway. Cheers!

@PrivatePuffin
Copy link

Holy shit, this escalated ...not so quickly. Respectfully my dude, a short answer (to be patient) weeks ago would do the job. Thanks for the update anyway. Cheers!

As I explained, I never got a memo about this "weeks ago".
Are you certain you're not confusing the discussion on the TrueNAS repositories with TrueCharts?

@PeterFalken
Copy link

PeterFalken commented Nov 7, 2023

Thank you @therumbler for bringing the linuxserver.io image to my attention, it's always good to have options. The new Unifi Network Application images works great if you have your mongodb as a separate service/image. Migrating between these two images should be easy enough with the configuration/data export/import functions provided by the Unifi folks.

@Grab0
Copy link

Grab0 commented Nov 7, 2023

Holy shit, this escalated ...not so quickly. Respectfully my dude, a short answer (to be patient) weeks ago would do the job. Thanks for the update anyway. Cheers!

Luckily you've got it now somehow.
Anyway, it's sorted out for me.
I will keep on waiting patiently.
Just to be clear, I'm happy and grateful for this project, no complains.

@oscar-b
Copy link

oscar-b commented Nov 8, 2023

To the ones that are approving this PR, have you actually, you know, tested it?

@jdmac87
Copy link

jdmac87 commented Nov 8, 2023

To the ones that are approving this PR, have you actually, you know, tested it?

As one who has approved the changes, the approvals here are based on code only. Not the overarching responsibility to test Unifi's software packages.

The code is approved to the condition that it will update the containers appropriately to leverage the upstream 7.5.187 packages.

Edit: And update the appropriate documentation on the front page with links.

@PrivatePuffin
Copy link

To the ones that are approving this PR, have you actually, you know, tested it?

No they are just trying to hit that button to make the point across that they want to see the update pushed through.

@Grab0
Copy link

Grab0 commented Nov 8, 2023

To the ones that are approving this PR, have you actually, you know, tested it?

Check out the changes yourself. Tell me, if there is something hard to approve.
Approval is not required for this anyway. People are just inpatient.

@PrplHaz4
Copy link

PrplHaz4 commented Nov 8, 2023

To the ones that are approving this PR, have you actually, you know, tested it?

Check out the changes yourself. Tell me, if there is something hard to approve. Approval is not required for this anyway. People are just inpatient.

That's exactly the point of testing. Ubiquiti breaks things ALL the time with just a "simple" version bump.

@Grab0
Copy link

Grab0 commented Nov 8, 2023

To the ones that are approving this PR, have you actually, you know, tested it?

Check out the changes yourself. Tell me, if there is something hard to approve. Approval is not required for this anyway. People are just inpatient.

That's exactly the point of testing. Ubiquiti breaks things ALL the time with just a "simple" version bump.

Ah, ok. Go ahead and test it. Tell us how that worked for you.

@arkste
Copy link
Contributor

arkste commented Nov 9, 2023

To the ones that are approving this PR, have you actually, you know, tested it?

yes, the scope of this repo is reviewing changes to the dockerfile, not the changes to the actual unifi controller software btw.

but ... considering that this PR is already a month old and a lot of people are apparently dependant on this image (according to the amount of approvals), i would suggest either moving this repo to an organization with more than one maintainer in the near future or forking the repo, building the image and pushing it to your own docker hub repo.

@therumbler
Copy link

To the ones that are approving this PR, have you actually, you know, tested it?

Yes, I pulled the branch from @it-can.

I built the image from @it-can's branch, ran it in Compose, and successfully imported my exported Unifi Application config. All worked as expected!

Unless you're a developer with vast experience with deploying containers on kubernetes. It might be best not to comment on decision making without even asking.

My apologies, @Ornias1993. I see how my wording could have been interpreted as critical of TrueCharts.
I think TrueCharts is one of the greatest projects I've ever taken advantage of. I used TrueCharts for many years until earlier this year, when I migrated my services to VMs.

Re-reading my post i see how this unintended interpretation could have been made. While I haven't used k8s professionally in almost 3 years (migrated from k8s to Nomad) I do know about S6.
I'd forgotten about this aspect of LinuxServer.io's images and how it's unsuitable for Kubernetes. My bad.

In the future I'll more carefully re-read my posts, as I truly did not intend to knock the amazing work TrueCharts has done.

With kindness,
@therumbler

@PrivatePuffin
Copy link

yes, the scope of this repo is reviewing changes to the dockerfile, not the changes to the actual unifi controller software btw.

No, the scope of every repo is to also ensure dependencies actually work correctly with the software.

Re-reading my post i see how this unintended interpretation could have been made. While I haven't used k8s professionally in almost 3 years (migrated from k8s to Nomad) I do know about S6.
I'd forgotten about this aspect of LinuxServer.io's images and how it's unsuitable for Kubernetes. My bad.

Some more info on this:
Technically speaking S6 Overlay and LSIO could be made kubernetes aware/compatible with relatively sparse changes. We'se send a 4-piece summary of required changes to LSIO some time ago.

@arkste
Copy link
Contributor

arkste commented Nov 9, 2023

No, the scope of every repo is to also ensure dependencies actually work correctly with the software.

what? this repo creates a docker image created by a dockerfile, so again: the scope of this repo is reviewing changes to the dockerfile, of course this includes any dependencies needed to run the software inside the docker container, but this repo isnt about the unifi software. go to the unifi community if you have any issues with the software itself.

@PrivatePuffin
Copy link

what? this repo creates a docker image created by a dockerfile, so again: the scope of this repo is reviewing changes to the dockerfile, of course this includes any dependencies needed to run the software inside the docker container, but this repo isnt about the unifi software. go to the unifi community if you have any issues with the software itself.

Ofcoarse people shouldn't complain here about the unifi software, but it's pretty normal (and good) practice to verify the stability of dependencies (in this case: The unifi software) before accepting an update.

You might not agree, but that is how every good project is ran: With more or less verification.

(and yes, in the case of this project, Unifi software is a technical dependency of the container.)

@josephpage
Copy link

@oscar-b I have built locally and tested it.
It works like a charm in my home network for the features I use.
(upgrade from 7.5.176 in a x64 Synology NAS with docker-compose)

Copy link
Contributor

@waja waja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cause I can :)

waja pushed a commit to waja/docker-unifi that referenced this pull request Nov 27, 2023
@waja
Copy link
Contributor

waja commented Nov 28, 2023

For everybody want to test and don't want to build this on it's own, I created a fork and applied this changes. You can grab it at https://github.com/waja/docker-unifi/pkgs/container/unifi/151909544?tag=7.5.187

Copy link

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

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

Successfully merging this pull request may close these issues.