OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« previous next »
  • Print
Pages: 1 2 3 [4] 5 6

Author Topic: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config  (Read 30745 times)

ickingfudiot

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #45 on: April 14, 2024, 03:14:14 am »
Posting for visibility if others run into this with latest Unifi pkg, not expecting a fix.

Latest version requires MongoDB 5.0 which requires AVX instructions to be supported on your CPU. This actually rules out my custom router running OPNSense on an Intel N5105, a relatively popular fanless box CPU from 2021. For whatever reason Intel left AVX off this series of chips unless it's I3/I5/I7 badged.

This presents as MongoDB immediately crashing out on start, and Unifi can't function without a working mongodb.

Supposedly online folks have gotten docker images working with Mongo 5 and AVX disabled, but that's a bit beyond my technical ability.
Logged

dustymiller259

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #46 on: April 14, 2024, 05:28:36 pm »
No update waiting, so the service wont start, what is the fix ? I have tried to install the os-unifi-maxit from the command line, but it says it the most recent version so wont re-install ? What have I missed ?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #47 on: April 14, 2024, 09:18:04 pm »
Maybe clean up the folder via cli?
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6925
  • Karma: 584
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #48 on: April 14, 2024, 09:34:35 pm »
If your CPU does not support AVX, the service won't start. The FreeBSD default compile options build MongoDB with AVX enabled. Only solution: build your own package from ports.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #49 on: April 15, 2024, 07:31:18 am »
I started a build with:

databases_mongodb50_SET=        NOAVX

Will need a couple of hours, thx Patrick for the hint :)
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

dustymiller259

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #50 on: April 15, 2024, 08:58:47 am »
where do I find the log for the Unifi plugin, as the page on 8443 constantly displays:

 "UniFi Network Application is starting up...!"

I've just removed and re-installed the plugin, and the status has not altered.
Logged

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6925
  • Karma: 584
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #51 on: April 15, 2024, 09:06:57 am »
@dustymiller does your CPU support AVX or not?
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

dustymiller259

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #52 on: April 15, 2024, 09:22:08 am »
Yes its an i3-n305:

https://www.intel.com/content/www/us/en/products/sku/231805/intel-core-i3n305-processor-6m-cache-up-to-3-80-ghz/specifications.html

Instruction Set Extensions Intel® SSE4.1, Intel® SSE4.2, Intel® AVX2
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #53 on: April 15, 2024, 09:36:00 am »
I replaced the mongodb50, just reinstall the pkg, maybe this will fix it
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

dustymiller259

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #54 on: April 15, 2024, 09:36:52 am »
root@core-router:/ # grep Features /var/run/dmesg.boot  | grep --colour -e AVX
  Features2=0xfffa3203<SSE3,PCLMULQDQ,SSSE3,FMA,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV>
  Structured Extended Features=0x219c27eb<FSGSBASE,TSCADJ,BMI1,AVX2,FDPEXC,SMEP,BMI2,ERMS,INVPCID,NFPUSG,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA>
  Features2=0xfffa3203<SSE3,PCLMULQDQ,SSSE3,FMA,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV>
  Structured Extended Features=0x219c27eb<FSGSBASE,TSCADJ,BMI1,AVX2,FDPEXC,SMEP,BMI2,ERMS,INVPCID,NFPUSG,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA>
Logged

dustymiller259

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #55 on: April 15, 2024, 09:41:53 am »
ran the update, no luck,
Restarted the Unifi Service - No Luck
Restarted the Router - No luck,

Still stuck showing - "UniFi Network Application is starting up..."
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #56 on: April 15, 2024, 06:50:58 pm »
service unifi stop

pkg remove os-unifi8-maxit unifi8

rm -rf /usr/local/share/java/unifi/*

pkg install os-unifi8-maxit
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

dustymiller259

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #57 on: April 15, 2024, 08:00:13 pm »
pkg: No packages available to install matching 'os-unifi8-maxit' have been found in the repositories
Logged

dustymiller259

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #58 on: April 15, 2024, 08:35:54 pm »
pkg install os-unifi-maxit - Worked. Restoring from old backup now
Logged

dustymiller259

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile
Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« Reply #59 on: April 15, 2024, 08:41:08 pm »
Didnt lkike the old backup, creating networks again
Logged

  • Print
Pages: 1 2 3 [4] 5 6
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
 

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