OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: eponymous on August 08, 2021, 06:11:23 pm

Title: [SOLVED] 21.1 -> 21.7 upgrade issue with plugins
Post by: eponymous on August 08, 2021, 06:11:23 pm
Hi,

I just updated from 21.1 (which had latest minor fixes) to 21.7 using the console. I'm on a serial console device image of OPNsense as I'm using a Netgate device.

During the upgrade, I noticed this error message for Chrony (as well as for NUT and SMART plugins):

Code: [Select]
Reloading plugin configuration
Configuring system logging...done.
[149/150] Reinstalling os-chrony-1.3...
[149/150] Extracting os-chrony-1.3: .......... done
configd not running? (check /var/run/configd.pid).
Starting configd.
Traceback (most recent call last):
  File "/usr/local/opnsense/service/configd.py", line 43, in <module>
    import modules.processhandler
  File "/usr/local/opnsense/service/modules/processhandler.py", line 43, in <module>
    from . import ph_inline_actions, syslog_error, syslog_info, syslog_notice, singleton
  File "/usr/local/opnsense/service/modules/ph_inline_actions.py", line 32, in <module>
    from . import template
  File "/usr/local/opnsense/service/modules/template.py", line 42, in <module>
    import jinja2
ModuleNotFoundError: No module named 'jinja2'
/usr/local/etc/rc.d/configd: WARNING: failed to start configd
Keep version OPNsense\Chrony\General (0.0.1)
Reloading plugin configuration
Configuring system logging...done.
Reloading template OPNsense/Chrony: configd not running!
pkg-static: POST-INSTALL script failed

I booted into the new environment and it *looks* ok - I've ran a health audit and also grepped through my system.log / Dmesg for any potential issues and found none. Also, Chrony looks to be configured correctly and was running - NUT and SMART plugins were also working as expected though they may not be up-to-date - I'm not sure.

Are these messages expected for the upgrade? Do I need to do anything?

I've subsequently upgraded to 21.7.1

Thanks.
Title: Re: 21.1 -> 21.7 upgrade issue with plugins
Post by: grimm26 on August 08, 2021, 10:12:11 pm
I noticed the same thing and chalked it up to things being a bit weird during the upgrade process.
Title: Re: 21.1 -> 21.7 upgrade issue with plugins
Post by: franco on August 09, 2021, 09:32:35 am
For a brief summary see: https://twitter.com/opnsense/status/1420394532512968712

TLDR: transient error during (intended) offline upgrade procedure.


Cheers,
Franco