Hi gents,
I am having trouble upgrading my iocage jails. First I was running FreeNAS 11.3U5 and 1 jail on 11.3-RELEASE
I tried upgrading the iocage by using:
This resulted in a HTTP Error 404 on line 110 of ioc_upgrade.py
I have edited the file mentioned and added a print statement of the URL which this script tries to access:
Using this in my browser resulted in the same 404 HTTP. I tried browsing the github project and saw the URL strucure is more like:
I decided to upgrade to TrueNAS although I wasn't expecting this would fix my issue, but I was planning to upgrade anyway.
This didn't solve the problem, this resulted in the same HTTP 404, tried upgrading different testjails from X to y release
I am having trouble upgrading my iocage jails. First I was running FreeNAS 11.3U5 and 1 jail on 11.3-RELEASE
I tried upgrading the iocage by using:
[CODE]sudo iocage upgrade plex -r 11.4-RELEASE[/CODE]This resulted in a HTTP Error 404 on line 110 of ioc_upgrade.py
I have edited the file mentioned and added a print statement of the URL which this script tries to access:
URL: https://raw.githubusercontent.com/freebsd/freebsd/release/11.4.0/usr.sbin/freebsd-update/freebsd-update.shUsing this in my browser resulted in the same 404 HTTP. I tried browsing the github project and saw the URL strucure is more like:
https://raw.githubusercontent.com/freebsd/freebsd/stable/12/usr.sbin/freebsd-update/freebsd-update.shI decided to upgrade to TrueNAS although I wasn't expecting this would fix my issue, but I was planning to upgrade anyway.
This didn't solve the problem, this resulted in the same HTTP 404, tried upgrading different testjails from X to y release
Code:
% sudo iocage upgrade plex -r 11.4-RELEASE
Traceback (most recent call last):
File "/usr/local/bin/iocage", line 10, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/iocage_cli/upgrade.py", line 40, in cli
ioc.IOCage(jail=jail, skip_jails=skip_jails).upgrade(release)
File "/usr/local/lib/python3.8/site-packages/iocage_lib/iocage.py", line 2070, in upgrade
new_release = ioc_upgrade.IOCUpgrade(
File "/usr/local/lib/python3.8/site-packages/iocage_lib/ioc_upgrade.py", line 110, in upgrade_jail
with urllib.request.urlopen(f) as fbsd_update:
File "/usr/local/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/local/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/local/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/local/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/local/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found