DEC2770 Update issues.

Started by rgradert, Today at 02:52:56 AM

Previous topic - Next topic
root@ilhs-fw01:~ # cat /conf/config.xml | grep -i firmware -n
24:    <firmware version="1.0.1" persisted_at="1779147725.70" description="Firmware settings">
32:    </firmware>
33:    <firmware version="1.0.0">
37:    </firmware>
root@ilhs-fw01:~ # opnsense-update -V
+ [ '' ]
+ [ '' ]
+ [ '' '=' -R ]
+ [ -n '' ]
+ [ -n '' ]
+ [ -n '' ]
+ [ ! -f /usr/local/etc/pkg/repos/OPNsense.conf ]
+ [ -n '' ]
+ [ -n '' ]
+ [ -n '' ]
+ [ -n '' ]
+ [ '' '=' -M ]
+ [ '' '=' -x ]
+ [ '' '=' -X ]
+ [ -n '' ]
+ [ -n '' ]
+ [ -n '' ]
+ grep -q '^[[:space:]]*signature_type:[[:space:]]*"fingerprints"' /usr/local/etc/pkg/repos/OPNsense.conf
+ [ -n '' ]
+ [ -z '' ]
+ [ -n '' -o -n '' ]
+ [ -n '' ]
+ [ -n '' ]
+ [ -z '' ]
+ [ -n '' -a -n '' -a -z '' ]
+ [ -n '' -a -n '' -a -z '' ]
+ [ -n '' -a -n '' -a -z '' ]
+ [ -n '' ]
+ [ '' '=' -K ]
+ [ '' '=' -B ]
+ [ '' '=' -P ]
+ [ -n '' ]
+ [ '' '=' -p -a -z '' ]
+ [ -n '' ]
+ DEVICE=''
+ [ -n '' ]
+ KERNELSET=kernel-26.1.7-amd64.txz
+ PACKAGESSET=packages-26.1.7-amd64.tar
+ TESTSSET=tests-26.1.7-amd64.txz
+ BASESET=base-26.1.7-amd64.txz
+ mirror_abi
+ local 'DIR=\2'
+ local 'OPT='
+ [ -n '' ]
+ opnsense-verify -a
+ ABI=FreeBSD:14:amd64
+ [ -n '' ]
+ sed -n 's/^[[:space:]]*url:[[:space:]]*\"\(.*\/${ABI}\/\)\([^\/]*\)\/.*/\1\2/p' /usr/local/etc/pkg/repos/OPNsense.conf
+ MIRROR='https://nl.opnsense-update.deciso.com/license/${ABI}/26.1'
+ [ -z 'https://nl.opnsense-update.deciso.com/license/${ABI}/26.1' ]
+ [ '' '!=' raw ]
+ eval 'MIRROR=https://nl.opnsense-update.deciso.com/license/${ABI}/26.1'
+ MIRROR=https://nl.opnsense-update.deciso.com/license/FreeBSD:14:amd64/26.1
+ echo https://nl.opnsense-update.deciso.com/license/FreeBSD:14:amd64/26.1
+ MIRROR=https://nl.opnsense-update.deciso.com/license/FreeBSD:14:amd64/26.1/sets
+ [ -n '' ]
+ [ -z '' ]
+ [ 26.1.7 '=' 26.1.6 -a -n '' ]
+ [ 26.1.7 '=' 26.1.6 -a -n '' ]
+ [ 26.1.7 '=' 26.4 -a -n '' ]
+ [ -z '' ]
+ echo 'Nothing to do.'
Nothing to do.
+ exit 0
root@ilhs-fw01:~ #

Within the GUI, I am all 26.4_14

If I manually update the files, I can do an update until it reverts the repo back then fails again.

I am doing the following:
ee /usr/local/etc/pkg/repos/OPNsense.confOPNsense: {
  fingerprints: "/usr/local/etc/pkg/fingerprints/OPNsense",
  url: "https://nl.opnsense-update.deciso.com/license/${ABI}/26.4/latest",
  signature_type: "fingerprints",
  priority: 11,
  enabled: yes
}
pkg update -f
Essentially for both the standard and aux repos. Changing the 26.4/latest to 26.4/aux etc. Obviously "license" is our business edition license.

Upon updating, they are changed back to 26.1 then the update fails.

Please advise as to what is going on here. This is preventing us from using plugins on the firewalls. We have 2x new DEC2770 waiting to be configured to replace a failing device on 24 firmware.

Thanks,


Can you post a full health check? Stories and random bits of what you think is important don't really help making a correct diagnosis

A few boxes shipped with faulty 26.4 factory images and it has since been fixed.

We've put a page here for users to fix the situation in situ:

https://docs.opnsense.org/troubleshooting/reset_firmware.html


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT