Bulk Action Update

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
Is there a reason why there isn't a bulk action for updating apps? A quick search here brought up nothing so figured I'd ask.

If it's none other than it just hasn't gotten around to yet, can we please add options for "Update Selected", and maybe for "Update All", under the bulk actions drop down menu on the installed apps page?

TIA
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
Is there a reason why there isn't a bulk action for updating apps? A quick search here brought up nothing so figured I'd ask.

If it's none other than it just hasn't gotten around to yet, can we please add options for "Update Selected", and maybe for "Update All", under the bulk actions drop down menu on the installed apps page?

TIA
Most likely:
1. the backend for it simply has not been build
2. Updates are potentially destructive without reading the release notes

As the first release of SCALE is feature complete, you are not going to see this feature in the first release of SCALE. For features to get added for the first release, they have to be super safe to implement and well documented.

Considering the potential effects of adding this, it's not likely to get implemented for this release. Don't worry though: A LOT of features didn't make the cut, that does NOT mean they are ignored :)

Also a small note: If you've feature requests, posting on the forum doesn't push your issue, best is to vote-up the existing ticket on the iX Jira :)
 

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
I figured your #2 was the reason it hadn't been added.

I also figured a discussion on it was worthwhile before adding a ticket on the Jira. I also see you mention "existing ticket"...I suppose I should have searched there as well as I wasn't aware of an existing ticket for this feature.

Thanks.

**Edit: The associated ticket on Jira for reference - https://jira.ixsystems.com/browse/NAS-112055
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
#2 is the primary concern. Updates can be destructive and disruptive in many different ways.
How does our TrueNAS QA team test to avoid these issues?
How does an enterprise avoid nasty surprises that may cost them time, data and money?
Perhaps there is a need for App updates to be certified as "safe"..... the "safe" ones can be auto-updated?
Who would certify the App updates as "safe"?
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
#2 is the primary concern. Updates can be destructive and disruptive in many different ways.
How does our TrueNAS QA team test to avoid these issues?
How does an enterprise avoid nasty surprises that may cost them time, data and money?
Perhaps there is a need for App updates to be certified as "safe"..... the "safe" ones can be auto-updated?
Who would certify the App updates as "safe"?
It's simply untestable considering iX has no control over external App catalogs.
Sadly enough it's also not inheard of that "safe" updates ended up to be "not safe", so even that guarantee is just roulette with slightly beter odds.
 

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
Agreed, not to mention, I run several other apps outside of the catalogs so those would be hard to prove safe and impossible to list as such. I suppose that could be something “official” apps could be listed as, safe or unsafe, but we’re a ways away from that and I’m sure it’d take a team to go through and validate each app at every update.
 

brando56894

Wizard
Joined
Feb 15, 2014
Messages
1,537
#2 is the primary concern. Updates can be destructive and disruptive in many different ways.
How does our TrueNAS QA team test to avoid these issues?
How does an enterprise avoid nasty surprises that may cost them time, data and money?
Perhaps there is a need for App updates to be certified as "safe"..... the "safe" ones can be auto-updated?
Who would certify the App updates as "safe"?

I feel it should be a "use at your own risk" feature since there are many potential issues without a lot of foolproof solutions.
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
I feel it should be a "use at your own risk" feature since there are many potential issues without a lot of foolproof solutions.

Unfortunately the people who are impacted will then (rightly) complain and require assistance to resolve their issues. Its not a decision we can easily make for the UI.

I'm not against someone creating a script with huge WARNINGs in it.... they can report back on their experience and how it could be made safer..
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
Unfortunately the people who are impacted will then (rightly) complain and require assistance to resolve their issues. Its not a decision we can easily make for the UI.

I'm not against someone creating a script with huge WARNINGs in it.... they can report back on their experience and how it could be made safer..
The problem is also a bit due to potentially not every catalog respecting semantic versioning.
For example even the official apps use cal-ver.

If a catalog uses semver and applies it correctly it should(!) be somewhat safe/doable to script it.
But it's agreeable to leave it to the catalog owner or community to provide support for such scripts and not put the burden on iX :)
 

Yamon234

Dabbler
Joined
Oct 5, 2021
Messages
13
PSA I just realized this is now supported in TrueNAS Scale. You can now bulk update!
Screenshot_20230708_195213_Chrome.jpg
 
Top