OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 24.7 Production Series »
  • Zenarmor Update issue
« previous next »
  • Print
Pages: [1] 2

Author Topic: Zenarmor Update issue  (Read 6530 times)

sy

  • Hero Member
  • *****
  • Posts: 597
  • Karma: 44
    • View Profile
Zenarmor Update issue
« on: July 25, 2024, 05:34:51 pm »
Hi,

After the 24.7 update, Zenarmor packages are not installed from the new ABI repo. If the OPNsense update runs again, the packages are installed from the FreeBSD 14 repo and start to work normally.
Logged

Seimus

  • Hero Member
  • *****
  • Posts: 613
  • Karma: 60
    • View Profile
Re: Zenarmor Update issue
« Reply #1 on: July 25, 2024, 09:39:21 pm »
I can confirm,

If you run OPNsense with ZenArmor, the update needs to be done in two steps

1. Update to update OPN to 24.7
2. Update to update ZenArmor to proper packages for FreeBSD 14.1

After this all works well.

Regards,
S.
Logged
Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD

dirtyfreebooter

  • Newbie
  • *
  • Posts: 49
  • Karma: 1
    • View Profile
Re: Zenarmor Update issue
« Reply #2 on: July 25, 2024, 11:00:47 pm »
this did not work for me.

https://forum.opnsense.org/index.php?topic=41737.0
Logged

fractalcounty

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Zenarmor Update issue
« Reply #3 on: July 25, 2024, 11:07:54 pm »
Quote from: dirtyfreebooter on July 25, 2024, 11:00:47 pm
this did not work for me.

https://forum.opnsense.org/index.php?topic=41737.0

Same here, same errors. I did have to do two upgrades- one for the 24.7 itself and the other for the resulting packages, but Elasticsearch still doesn't seem to be working.
Logged

cyhchong

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Zenarmor Update issue
« Reply #4 on: July 27, 2024, 06:32:34 am »
You have to reinstall Elastic DB. I hit an error on the DB during index check. So I just reinstall the DB and it is all good now.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17709
  • Karma: 1618
    • View Profile
Re: Zenarmor Update issue
« Reply #5 on: July 27, 2024, 10:10:37 am »
> After the 24.7 update, Zenarmor packages are not installed from the new ABI repo.

Just to clarify: this is by design to ensure minimal friction during offline upgrade process.

If we were to download more packages or try to upgrade third party repos the upgrade procedure would start trying to download packages at a point where no network connectivity is set up (also on purpose) and fetch "some" state of packages that is impossible to track later on as the mirror content changes or breaks intermittently.

That's why we download the full "packages" set for a controllable and repeatable scope. :)


Cheers,
Franco
Logged

dirtyfreebooter

  • Newbie
  • *
  • Posts: 49
  • Karma: 1
    • View Profile
Re: Zenarmor Update issue
« Reply #6 on: July 27, 2024, 03:13:13 pm »
i read the docs. went through the process. after upgrade, reboot, i re-run the update check and zenarmor packages reinstalled and i still had the issue. which is why i posted, since i thought it might be a configuration error or something not related to the package upgrades.

checked for new packages via UI and pkg on command line many times to show no new packages. problem persisted. forcefully reinstalled the elasticsearch8 package and things resolved.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17709
  • Karma: 1618
    • View Profile
Re: Zenarmor Update issue
« Reply #7 on: July 27, 2024, 03:32:05 pm »
For good measure the instructions should mention a reboot since services are not restarted on updates. ;)


Cheers,
Franco
Logged

FredsterNL

  • Newbie
  • *
  • Posts: 26
  • Karma: 2
    • View Profile
Re: Zenarmor Update issue
« Reply #8 on: August 07, 2024, 11:22:37 am »
I removed ZenArmor before upgrading to 24.7 and reinstalled it after the upgrade: I experienced no issues doing it this way
Logged
Running OPNsense on a Deciso DEC690 with upgraded memory (16GB ECC) and active cooling

hakuna

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 1
    • View Profile
Re: Zenarmor Update issue
« Reply #9 on: October 27, 2024, 04:12:05 am »
Quote from: FredsterNL on August 07, 2024, 11:22:37 am
I removed ZenArmor before upgrading to 24.7 and reinstalled it after the upgrade: I experienced no issues doing it this way

This has been the only option to avoid problems really with major updates.

From 24.1 to 24.7 tho I did a clean install anyway because the last time I checked, a instruction was gonna be provided for folks willing to make the upgrade.
To me that smells possible problems so a clean install was a must.
Logged

GuruLee

  • Newbie
  • *
  • Posts: 19
  • Karma: 2
    • View Profile
Re: Zenarmor Update issue
« Reply #10 on: November 04, 2024, 03:34:59 pm »
I upgraded without any noticable issue to Zenarmor.
Logged

satvrnvs

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Zenarmor Update issue
« Reply #11 on: November 17, 2024, 03:05:12 pm »
Quote from: hakuna on October 27, 2024, 04:12:05 am
Quote from: FredsterNL on August 07, 2024, 11:22:37 am
I removed ZenArmor before upgrading to 24.7 and reinstalled it after the upgrade: I experienced no issues doing it this way

This has been the only option to avoid problems really with major updates.

From 24.1 to 24.7 tho I did a clean install anyway because the last time I checked, a instruction was gonna be provided for folks willing to make the upgrade.
To me that smells possible problems so a clean install was a must.

So we need to uninstall ZenArmor and reinstall if we did not do this??
Logged

satvrnvs

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Zenarmor Update issue
« Reply #12 on: November 17, 2024, 03:06:09 pm »
I can't figure out how to delete this comment... 
« Last Edit: November 17, 2024, 09:04:28 pm by satvrnvs »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17709
  • Karma: 1618
    • View Profile
Re: Zenarmor Update issue
« Reply #13 on: November 17, 2024, 07:14:44 pm »
It's a FreeBSD package manager bug with multiple repositories going out of sync. It's not nice but it's also harmless.


Cheers,
Franco
Logged

DiskWizard001

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Zenarmor Update issue
« Reply #14 on: November 22, 2024, 06:48:15 am »
The very last update from 20th of Novermber 2024 seems to break down elasticesearch

elasticsearch8-8.11.3: checksum mismatch for /usr/local/lib/elasticsearch/lib/jna-0.0.0.jar
Logged

  • Print
Pages: [1] 2
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 24.7 Production Series »
  • Zenarmor Update issue
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2