SOLVED iocage fetch/upgrade getting HTTP Error 500

rmccullough

Patron
Joined
May 17, 2018
Messages
269
When I try to run an iocage fetch, I am getting an HTTP 500 error:
Code:
root@freenas[~]# iocage fetch
[0] 11.2-RELEASE
[1] 11.3-RELEASE
[2] 11.4-RELEASE
[3] 12.0-RELEASE
[4] 12.1-RELEASE
[5] 12.2-RELEASE

Type the number of the desired RELEASE
Press [Enter] to fetch the default selection: (12.2-RELEASE)
Type EXIT to quit: 5
Fetching: 12.2-RELEASE

Extracting: base.txz...
Extracting: lib32.txz...
Extracting: src.txz...

* Updating 12.2-RELEASE to the latest patch level...
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/fetch.py", line 181, in cli
    ioc.IOCage().fetch(**kwargs)
  File "/usr/local/lib/python3.8/site-packages/iocage_lib/iocage.py", line 1105, in fetch
    ioc_fetch.IOCFetch(
  File "/usr/local/lib/python3.8/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.8/site-packages/iocage_lib/ioc_fetch.py", line 476, in fetch_http_release
    self.fetch_update()
  File "/usr/local/lib/python3.8/site-packages/iocage_lib/ioc_fetch.py", line 898, in fetch_update
    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 500: Internal Server Error


Any ideas? I upgraded to TrueNAS-12.0-U2.1 today. I was able to run an iocage fetch and upgrade earlier today on one jail (may have been while I was on 11.3-U5), but now I can't seem to run the fetch or upgrade.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
That means the remote server for the fetch is having momentary problems. Unfortunately, your only recourse is to try again later.
 

rmccullough

Patron
Joined
May 17, 2018
Messages
269
Ok, so this isn't a problem with my server. It just happens to be an issue with the update server? Can anyone else verify if they are having an issue?
 

rmccullough

Patron
Joined
May 17, 2018
Messages
269
Nevermind, looks like it is working now.
 
Top