Im not trying to install a plugin, just create a jail.
jack@truenas ~ $ sudo iocage fetch release=13.3-RELEASE
[0] 13.3-RELEASE
[1] 13.4-RELEASE
[2] 14.0-RELEASE
[3] 14.1-RELEASE
Type the number of the desired RELEASE
Press [Enter] to fetch the default selection: (13.1-RELEASE)
Type EXIT to quit: 0
Fetching: 13.3-RELEASE
Extracting: base.txz...
Traceback (most recent call last):
File "/usr/local/bin/iocage", line 10, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/iocage_cli/fetch.py", line 181, in cli
ioc.IOCage().fetch(**kwargs)
File "/usr/local/lib/python3.9/site-packages/iocage_lib/iocage.py", line 1105, in fetch
ioc_fetch.IOCFetch(
File "/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_fetch.py", line 215, in fetch_release
rel = self.fetch_http_release(eol, _list=_list)
File "/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_fetch.py", line 446, in fetch_http_release
missing_files = self.__fetch_check__(self.files)
File "/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_fetch.py", line 644, in __fetch_check__
self.fetch_extract(f)
File "/usr/local/lib/python3.9/site-packages/iocage_lib/ioc_fetch.py", line 821, in fetch_extract
f.extractall(dest, members=member, filter='tar')
TypeError: extractall() got an unexpected keyword argument 'filter'
Read the release notes on the update and decide if you want to do it. 13.3 isn’t on a train and was done just for those that HAD to stay on Core and needed to update Jails and their packages inside.
Announcement of the update and links to release notes, etc.
Ok , well thx all. I am at Version: TrueNAS-13.3-U1 now. I have not yet tried making a jail but i assume it will be ok. I shall take a look later today.
The solution proposed to me did not solve the problem, but I solved it by modifying the file ioc_fetch.py in the folder usr/local/lib/python3.9/site-packages/iocage_lib/, all from shell from the web interface of truenas core.
Analyzing the error, the python compiler finds a problem when it says to launch the function f.extractall(..) on line 821.
Then I went to edit the file, I looked for the line 821 in question, and I modified from like this:
f.extractall(dest, members=member, filter='tar')
to like this
f.extractall(dest, members=member)
So, simply by removing the third argument in calling the function, the call works.
In fact, going to the github repository of truenas/iocage branch 13.0-u6.3-stable,
the wrong call appears, but in the master branch, this error is correct
(I was unable to insert links or images from the github repository because I was blocked by the post button)
Since I am inexperienced with python and the truenas project, could it be a python version issue? or tarfile library version?
I spent several hours and tried several things in effort to figure out why I was getting this extraction error and this quick edit did the trick. THANK YOU for posting.