Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Upgrading the release version of a jail

Inxsible

Neophyte Sage
Joined
Aug 14, 2017
Messages
1,027
I currently have 4 plugin jails and 3 of them upgraded without issues, but the 4th one keeps giving me errors. I used the command
Code:
iocage upgrade -r couchpotato 11.2-RELEASE
similar to what I used for the other 3 jails.
Code:
+-----+--------------+-------+--------------+-------------+
| JID |     NAME     | STATE |   RELEASE    |     IP4     |
+=====+==============+=======+==============+=============+
| 29  | couchpotato  | up    | 11.1-RELEASE |  |
+-----+--------------+-------+--------------+-------------+
| 27  | emby         | up    | 11.2-RELEASE |  |
+-----+--------------+-------+--------------+-------------+
| 25  | radarr       | up    | 11.2-RELEASE |  |
+-----+--------------+-------+--------------+-------------+
| 21  | transmission | up    | 11.2-RELEASE |  |
+-----+--------------+-------+--------------+-------------+
Note that couchpotato is still on 11.1-RELEASE.

All of these plugin jails were created with 11.1-U5 version -- but I created these jails using iocage and the command line. They all show up in the new UI now that I upgraded to 11.2, but I can't update them from the UI either. Can the release version be upgraded from the UI or only the packages within the jail?
jails2.png


Here's the error that I get on running the upgrade
Code:
root@nas:/mnt/tank/home/nasuser # iocage upgrade couchpotato -r 11.2-RELEASE
Snapshotting couchpotato...
Updating plugin INDEX...
New plugin RELEASE missing, fetching now...
Fetching: 11.2-RELEASE

Downloading : MANIFEST [####################] 100%
Downloading : base.txz [####################] 100%
Downloading : lib32.txz [####################] 100%
Downloading : doc.txz [####################] 100%
Downloading : src.txz [####################] 100%
Extracting: base.txz...
Extracting: lib32.txz...
Extracting: doc.txz...
Extracting: src.txz...

* Updating 11.2-RELEASE to the latest patch level...
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from update1.freebsd.org... done.
Fetching metadata signature for 11.2-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 25 patches.....10....20.. done.
Applying patches... done.

The following files will be updated as part of updating to 11.2-RELEASE-p6:
/bin/freebsd-version
/boot/check-password.4th
/usr/bin/gprof
/usr/include/netinet6/in6.h
/usr/include/netinet6/ip6_var.h
/usr/include/x86/specialreg.h
/usr/sbin/bhyve
/usr/sbin/wpa_supplicant
/usr/share/man/man4/inet.4.gz
/usr/share/man/man4/inet6.4.gz
/usr/share/man/man4/tcp.4.gz
/usr/share/man/mandoc.db
/usr/share/zoneinfo/Africa/Casablanca
/usr/share/zoneinfo/Africa/El_Aaiun
/usr/share/zoneinfo/America/Santiago
/usr/share/zoneinfo/Asia/Macau
/usr/share/zoneinfo/Asia/Manila
/usr/share/zoneinfo/Asia/Pyongyang
/usr/share/zoneinfo/Asia/Shanghai
/usr/share/zoneinfo/Asia/Tokyo
/usr/share/zoneinfo/Europe/Volgograd
/usr/share/zoneinfo/Pacific/Easter
/usr/share/zoneinfo/Pacific/Fiji
/usr/share/zoneinfo/Pacific/Honolulu
/usr/share/zoneinfo/zone.tab
src component not installed, skipped
Installing updates... done.
Running upgrade...
jexec: jail "ioc-couchpotato" not found
Snapshot tank/iocage/jails/couchpotato@ioc_upgrade_2018-12-08 not found

Any subsequent runs of the above command just gives me this
Code:
root@nas:/mnt/tank/home/nasuser # iocage upgrade couchpotato -r 11.2-RELEASE
Snapshotting couchpotato...
Snapshot already exists!


Updating it, says it cannot find the 11.2-RELEASE, but still says it updated successfully
Code:
root@nas:/mnt/tank/home/nasuser # iocage update couchpotato
Snapshotting couchpotato...
Updating plugin INDEX...
Removing old pkgs...
Installing new pkgs...

Testing SRV response to iocage-plugins
Testing DNSSEC response to iocage-plugins

Installing plugin packages:
  - net-p2p/couchpotato...
Updating plugin artifact...

Branch 11.2-RELEASE does not exist at https://github.com/freenas/iocage-plugin-couchpotato.git!
Using "master" branch for plugin, this may not work with your RELEASE

couchpotato has been updated successfully.



How would I go about updating the jail to 11.2 and then deleting the 11.1-RELEASE to free up some space?
 

Inxsible

Neophyte Sage
Joined
Aug 14, 2017
Messages
1,027
Were you able to resolve this?
Nope. Short of just deleting the said jail and re-creating it, I don't know what else to do.
 

Inxsible

Neophyte Sage
Joined
Aug 14, 2017
Messages
1,027
@jerryjharrison , As I mentioned in my post above, I eventually just deleted the jail and re-created it.

It was ok, because it was Couchpotato -- and there isn't that much to configure in it. I wouldn't want to do that on my emby jail. Way too much meta-data etc to have to recreate and re-download all that for the amount of movies etc that I have.
 
Top