[SOLVED] Error upgrading from 26.1.2_5 to 26.1.3

Started by axsdenied, March 04, 2026, 04:33:16 PM

Previous topic - Next topic
March 04, 2026, 04:33:16 PM Last Edit: March 04, 2026, 05:06:08 PM by axsdenied
Found the issue, unrelated to upgrade. The error just happened to show during service restart.  It was one of my custom service test checks.  Removed it, rebooted and we're back in business.


---------------
During the update a pop up showed an unknown error message and suggested looking at the logs.  I went to the logs and got a 404 error message.  The upgrade continued and it rebooted and the webui was back.  I checked the logs and didn't see any errors logged however I noticed monit was stopped.  I tried starting and it won't start.  Checked the logs and got the following:

2026-03-04T08:21:27-07:00Noticekernel<118>[40] /usr/local/etc/rc.d/monit: WARNING: failed to start monit
2026-03-04T08:21:27-07:00Noticekernel<118>[40] monit exiting due to parsing errors in the configuration file.
2026-03-04T08:21:27-07:00Noticekernel<118>[40] /usr/local/etc/monitrc:43: syntax error 'if'
2026-03-04T08:21:27-07:00Noticekernel<118>[40] Starting monit.

I checked line 43 of monitrc and it shows "if if failed host 127.0.0.1 port 2198 type tcp then restart then restart"

Show I just edit it even though it says not to?
OPNsense 25.7.6 running on:
Dell Optiplex 3050
Intel I5-7600 @ 3.5Ghz (4 Cores)
Intel I350-T4 Nic
8G DDR4
256G SSD

I think I had the same issue, despite me not even running monit.


I can't finde anything in the logs.

I also upgraded from 26.1.2_5 and received the same popup. The system continued to upgrade and seems to be working normally.

I looked in the error logs and found some suspicious entries in the backend logs, all from the config.d process:

2026-03-04T17:08:50-05:00Errorconfigd.py[8a5a8686-eb4e-4ce0-b36f-182539b085c3] Script action failed with Command '/usr/local/opnsense/scripts/ddclient/ddclient_opn.py -l' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 85, in execute subprocess.run(script_command, env=self.config_environment, shell=True, ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ check=not self.disable_errors, stdout=output_stream, stderr=error_stream) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/subprocess.py", line 577, in run raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/ddclient/ddclient_opn.py -l' returned non-zero exit status 1.
2026-03-04T17:08:46-05:00Errorconfigd.py[e8e9881d-1ff4-4fc8-8808-d2daaa156e9f] Script action failed with Command '/usr/local/opnsense/scripts/ddclient/ddclient_opn.py -l' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 85, in execute subprocess.run(script_command, env=self.config_environment, shell=True, ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ check=not self.disable_errors, stdout=output_stream, stderr=error_stream) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/subprocess.py", line 577, in run raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/ddclient/ddclient_opn.py -l' returned non-zero exit status 1.
2026-03-04T17:08:43-05:00Errorconfigd.py[5ecb8de5-f9dd-4ddf-9ec6-15828cc1f26b] Script action failed with Command '/usr/local/opnsense/scripts/ddclient/ddclient_opn.py -l' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 85, in execute subprocess.run(script_command, env=self.config_environment, shell=True, ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ check=not self.disable_errors, stdout=output_stream, stderr=error_stream) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/subprocess.py", line 577, in run raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/ddclient/ddclient_opn.py -l' returned non-zero exit status 1.