RuntimeError: Error occured, jail not upgraded!

augied

Cadet
Joined
Dec 24, 2017
Messages
5
Hello folks,

I recently upgraded from 11.1 to 11.2 and now I'm in the process of upgrading my iocage jails. The first two upgrades went off without a hitch, but all others since then have resulted in this:

Code:
$ sudo iocage upgrade -r 11.2-RELEASE gogs
src component not installed, skipped
tmp32gdq376: Cannot upgrade from a version that is not a '-RELEASE' using tmp32gdq376. 
Instead, FreeBSD can be directly upgraded by source or upgraded to a 
RELEASE/RELENG version prior to running tmp32gdq376.
System version: 11.2-STABLE
Traceback (most recent call last):
  File "/usr/local/bin/iocage", line 10, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/iocage_cli/upgrade.py", line 39, in cli
    ioc.IOCage(jail=jail, skip_jails=True).upgrade(release)
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/iocage.py", line 1827, in upgrade
    root_path).upgrade_jail()
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_upgrade.py", line 116, in upgrade_jail
    raise RuntimeError("Error occured, jail not upgraded!")
RuntimeError: Error occured, jail not upgraded!


I have not yet been able to find any references to this error message. Has anyone here seen this before?

Please let me know if I've left out any relevant information (I'm sure I have)

Thanks
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Post the output of iocage list in code tags.
 

augied

Cadet
Joined
Dec 24, 2017
Messages
5
Code:
+-----+-----------+-------+--------------+--------------+
| JID |   NAME    | STATE |   RELEASE    |     IP4      |
+=====+===========+=======+==============+==============+
| 7   | gogs      | up    | 11.1-RELEASE | 192.168.2.43 |
+-----+-----------+-------+--------------+--------------+
| 2   | mariadb   | up    | 11.1-RELEASE | 192.168.2.42 |
+-----+-----------+-------+--------------+--------------+
| 3   | nextcloud | up    | 11.2-RELEASE | 192.168.2.44 |
+-----+-----------+-------+--------------+--------------+
| 1   | proxy     | up    | 11.2-RELEASE | 192.168.2.41 |
+-----+-----------+-------+--------------+--------------+
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
What's the output of freebsd-version from inside the gogs jail?
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Might want to file a bug report on this, you shouldn't be getting a traceback.
 
Top