Project

General

Profile

Bug #65796

Fix bug that prevented Plugins whose MANIFEST file did not match {jailname}.json from being upgraded or updated

Added by Jurgen Segaert 4 months ago. Updated 2 months ago.

Status:
Done
Priority:
No priority
Assignee:
Brandon Schneider
Category:
Middleware
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Some plugins cannot be updated/upgraded when the manifest.json file in https://github.com/freenas/iocage-ix-plugins jailname doesn't match the pattern {jailname}.json.

As an example: the Plex plugin
  • The jail name is just "plex"
  • The manifest file is "plexmediaserver.json"

As a result, the plex plugin jail cannot be updated or upgraded.

sudo iocage update plex
Snapshotting plex... 
Updating plugin INDEX... 
/mnt/tank/iocage/.plugin_index/plex.json was not found!

The plugins that do follow that naming convention (the majority) can be updated/upgraded fine.

Reference: https://github.com/iocage/iocage/blob/5be1c6fd01e45726c9f4d79ad5638b8851762393/iocage_lib/ioc_plugin.py#L1119-L1122


Related issues

Copied to FreeNAS - Bug #67510: Do not require plugin name to exactly match MANIFEST name Done

History

#1 Updated by Jurgen Segaert 4 months ago

Possible related to: https://redmine.ixsystems.com/issues/54234

I can consistently reproduce as follows:

iocage fetch --plugins -n plex ip4_addr="em0|192.168.0.210/24" 
iocage update plex

#2 Updated by William Grzybowski 4 months ago

  • Assignee changed from Release Council to Brandon Schneider
  • Target version changed from Backlog to 11.2-U3

#3 Updated by Brandon Schneider 4 months ago

  • Status changed from Unscreened to In Progress

#4 Updated by Bug Clerk 4 months ago

  • Status changed from In Progress to Ready for Testing

#5 Updated by Dru Lavigne 4 months ago

  • Target version changed from 11.2-U3 to 11.2-U2

#6 Updated by Bug Clerk 4 months ago

  • Copied to Bug #67510: Do not require plugin name to exactly match MANIFEST name added

#7 Updated by Dru Lavigne 4 months ago

  • Target version changed from 11.2-U2 to 11.3

#8 Updated by Dru Lavigne 3 months ago

  • Target version changed from 11.3 to 11.3-BETA1

#9 Updated by Dru Lavigne 3 months ago

  • Subject changed from Plugins where the MANIFEST file doesn't match {jailname}.json cannot be upgraded or updated to Fix bug that prevented Plugins whose MANIFEST file did not match {jailname}.json from being upgraded or updated
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#10 Updated by Dru Lavigne 2 months ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3-BETA1 to Master - FreeNAS Nightlies
  • Needs QA changed from Yes to No

Also available in: Atom PDF