Can no longer create a jail. Release not found

While trying to create a new jail I was greeted with “RELEASE: 13.3-RELEASE not found!” Sme research revealed the base OS had to be upgraded which I seceded in doing with manual files. Base OS is now at 13.3-U1. However, I still get the error. “more info” shows .

Error: Traceback (most recent call last):
File “/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_create.py”, line 170, in _create_jail
iocage_lib.ioc_common.get_jail_freebsd_version(
File “/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_common.py”, line 934, in get_jail_freebsd_version
with open(
FileNotFoundError: [Errno 2] No such file or directory: ‘/mnt/alldrives/iocage/releases/13.3-RELEASE/root/bin/freebsd-version’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.9/site-packages/middlewared/job.py”, line 355, in run
await self.future
File “/usr/local/lib/python3.9/site-packages/middlewared/job.py”, line 393, in __run_body
rv = await self.middleware.run_in_thread(self.method, *([self] + args))
File “/usr/local/lib/python3.9/site-packages/middlewared/main.py”, line 1161, in run_in_thread
return await self.run_in_executor(self.thread_pool_executor, method, *args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/middlewared/main.py”, line 1158, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
File “/usr/local/lib/python3.9/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.9/site-packages/middlewared/schema.py”, line 985, in nf
return f(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/middlewared/plugins/jail_freebsd.py”, line 915, in do_create
err, msg = iocage.create(
File “/usr/local/lib/python3.9/site-packages/iocage_lib/iocage.py”, line 603, in create
ioc_create.IOCCreate(
File “/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_create.py”, line 101, in create_jail
return self._create_jail(jail_uuid, location)
File “/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_create.py”, line 202, in _create_jail
iocage_lib.ioc_common.logit({
File “/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_common.py”, line 107, in logit
callback(content, exception)
File “/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_common.py”, line 80, in callback
raise callback_exception(message)
RuntimeError: RELEASE: 13.3-RELEASE not found!

Any help is appreciated, I’ve been a user since pre 9X. I just now created an account since the old forum was shut down and will get around to entering the usual info about my systems.

The process you need to follow is described here: Upgrading jails 13.3 - TrueNAS General - TrueNAS Community Forums

1 Like

Thanks redcoat. But I can’t upgrade the jail if I can’t create it in the first place.

How are you trying to create this new jail, exactly?

Through “jails > add” I have checked the configuration of other jails and duplicated it other than Name and IP. So…

Name. lidarr
release 13.3 release
vnet checked
ipv4 intf vnet0
ipv4 adr 192.168.0.37
ipv4 netmsk 24
router ip entered

Pretty much the required info unless I’m going to split hairs and go for advanced config at this point hitting submit results in the error.
Just a few minutes ago I notice that the RELEASES dir for 13.3 was only populated to “root” this would explain the FileNotFoundError toward the top of the info. The path ends at RELEASE/root/
Thanks for jumping in.

Why are you choosing 13.3-RELEASE? It’s going to be EOL soon. Choose 13.4-RELEASE.

Is this a “base” jail or “clone” jail? (You’ll have less of a headache with “base” jails.)

Truenas does not populate in the update area with anything but scale files (I know I’m going to have to do i but for two servers and 6 or so apps I need to do allot of research) hence the manual update. Download. freenas.org only treed to 13.3 So I have not been able to find a source for 13.4 manual update as yet.

I’ve tried both base and clone with same results. At this point from the input of the community I believe I need the source “url not code” and how to get it to fill out the full tree before trying to create a jail after.

I was referring to the Jail Creation page, not the TrueNAS Update page.

FreeBSD 13.3 is soon going to be EOL. New jails should be based on FreeBSD 13.4. I was not referring to TrueNAS Core 13.3 going EOL soon.

I think redcoat was pointing to this step on the thread:
iocage fetch -r 13.3-RELEASE

But as Winnie say, fetch the newer 13.4 release. If i remember well just use iocage fetch and choose the desired version before try create a new jail

Thanks, @oxyde , that was the point of my post, though it wasn’t well-made.

Better I should have pointed to Basic Usage — iocage 1.2 documentation.

1 Like

Sorry to take so long, it’s been busy.

I did an iocage fetch for 13.4 it downloaded and finished extracting without error. After a restart I noticed the dashboard still shows13.3 So I’m not sure how to remedy that. The good news is that the jail creation page was now showing 13.4 and proceeded to create the jail without incident. I’m going to do some needed housekeeping so my closing question/s are how to bring the base OS up to 13.4 and do the same with the jails.

My thanks to all of you for your help! Happy new Year!

You don’t.
TrueNAS stays at 13.3 until iX updates the FreeBSD base of TrueNAS Core (which we don’t expect to happen) and the jails stay at 13.4.

Happy New Year to all!