Help me understand

Meya

Dabbler
Joined
Dec 5, 2018
Messages
39
A couple days ago, I updated to TrueNAS 12.0 from 11.3 with a few issues. As expected, some jails don't work anymore and I'm trying to understand why. In order to do this, I need some help understanding a few things.

The first one is if I'm on the latest version of TrueNAS. This is what I see on the system info section:
1634918859531.png


The second one is about updating my jails. Currently, I updated all my jails to 12.0 since doing it via the GUI wasn't working. But when I do
Code:
iocage fetch
I see this:
1634919072695.png

Does that mean I can update the jails to 13.0 even though TrueNAS is only 12.0? I'm confused about this.

Trying to fix some jails, when doing
Code:
pkg update
I see the following:
1634919210593.png

and my understanding is that the pkg version is 12.2 but the kernel version is behind (12.0). If so, How do I make them match? What happens if I say 'yes' instead of 'no' when updating the jail? I'm asking because trying to update my nextcloud jail, I'm trying to search for a missing file called PDO and this is what I get when searching for it:
1634919397599.png


I love learning :)
 

Attachments

  • 1634918819447.png
    1634918819447.png
    16.6 KB · Views: 187

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Does that mean I can update the jails to 13.0 even though TrueNAS is only 12.0? I'm confused about this.
No you can not. Your jails can't run a newer kernel version than the base system.

Please post the output of iocage list in code tags.
 

Meya

Dabbler
Joined
Dec 5, 2018
Messages
39
Please post the output of iocage list in code tags.

Code:
+-----+--------------+-------+--------------+------+
| JID |     NAME     | STATE |   RELEASE    | IP4  |
+=====+==============+=======+==============+======+
| 20  | emby         | up    | 12.0-RELEASE | DHCP |
+-----+--------------+-------+--------------+------+
| 11  | jackett      | up    | 12.0-RELEASE | DHCP |
+-----+--------------+-------+--------------+------+
| 10  | nextcloud    | up    | 12.0-RELEASE | DHCP |
+-----+--------------+-------+--------------+------+
| 12  | noip         | up    | 12.0-RELEASE | DHCP |
+-----+--------------+-------+--------------+------+
| 13  | radarr       | up    | 12.0-RELEASE | DHCP |
+-----+--------------+-------+--------------+------+
| 14  | sonarr       | up    | 12.0-RELEASE | DHCP |
+-----+--------------+-------+--------------+------+
| 15  | transmission | up    | 12.0-RELEASE | DHCP |
+-----+--------------+-------+--------------+------+
| 16  | web          | up    | 12.0-RELEASE | DHCP |
+-----+--------------+-------+--------------+------+


I saw that my freebsd version is 12.2 but the jails are behind:
1635002046795.png


Version inside my nextcloud jail:
1635002073082.png


Maybe I can update to 12.2 for my jails then?
 
Last edited:

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977

Meya

Dabbler
Joined
Dec 5, 2018
Messages
39
Yes you will need to if you want to keep things up to date.
I am doing that then.

What does the iocage fetch command do? I see a list of versions but I don't know if it is for FreeBSD or for the jails. Also, do you know how to make the kernel match the pkg version?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
What does the iocage fetch command do?

This just caches the fetched files in /mnt/<your pool>/iocage/download, and extracts them to /mnt/<your pool>/iocage/releases.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Also, do you know how to make the kernel match the pkg version?
Get your jails updated first and then you can get pkg synced by running pkg upgrade
 
Top