Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unifi broker after update, mongodb issue #236

Open
al13nus opened this issue Sep 22, 2024 · 7 comments
Open

Unifi broker after update, mongodb issue #236

al13nus opened this issue Sep 22, 2024 · 7 comments

Comments

@al13nus
Copy link

al13nus commented Sep 22, 2024

Hey guys,

what can I do here? Happended after OPNSense update from 24.1.9 to 24.7.4.
My attempts:

  1. MongoDB wasn't running, so I restarted it.
  2. Tried to delete and reinstall the package.
  3. Firewall restart.
  4. Deleted folder of mongoDB rm -r "/var/db/mongodb/"
sudo service mongod start
Cannot 'start' mongod. Set mongod_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'.

Logs:

[2024-09-22 13:00:21,808] <launcher> INFO  system - ======================================================================
[2024-09-22 13:00:21,808] <launcher> INFO  system - UniFi 8.2.93 (build atag_8.2.93_25939 - release/release) is started
[2024-09-22 13:00:21,811] <launcher> INFO  system - Environment: UniFi-OS[false], UniFi-Cloud[false], UniFi-MongoService[false]
[2024-09-22 13:00:21,811] <launcher> INFO  system - ======================================================================
[2024-09-22 13:00:21,811] <launcher> INFO  system - BASE dir:/usr/local/share/java/unifi
[2024-09-22 13:00:21,826] <launcher> INFO  system - Current System IP: 192.168.70.1
[2024-09-22 13:00:21,827] <launcher> INFO  system - Hostname: OPNsense.localdomain
[2024-09-22 13:00:21,828] <launcher> INFO  system - ubic.env: prod
[2024-09-22 13:00:21,828] <launcher> INFO  system - System loaded
[2024-09-22 13:00:21,942] <launcher> INFO  mongo  - Checking if database needs to be shut down
[2024-09-22 13:00:23,173] <launcher> INFO  mongo  - Database was not running
[2024-09-22 13:00:23,173] <launcher> INFO  mongo  - Starting database process...
[2024-09-22 13:00:24,826] <mongo-db> WARN  mongo  - Stop listening to Mongo logs after process has exited
[2024-09-22 13:00:24,827] <mongo-db> INFO  mongo  - Database process stopped, code=62
@mikelock
Copy link

I have the same issue

@FRahmann
Copy link

FRahmann commented Oct 4, 2024

Same here!

@mimugmail
Copy link
Owner

Sure? It should be fixed now

@FRahmann
Copy link

FRahmann commented Oct 5, 2024

Sure? It should be fixed now

Im Home in about 4 Hours. Then I can recheck and provide you some more Information

@kklyandev
Copy link

kklyandev commented Oct 14, 2024

Hi, I think I have a similar issue - I can't access the Unifi controller's UI and I'm not sure where to go see logs, but I can see a bunch of "<6>pid 13181 (mongod), jid 0, uid 975: exited on signal 6 (no core dump - bad address)" messages in the General logs section on my OPNSense (version 24.7.6). I'm using os-unifi-maxit v1.3
Do you have some troubleshooting steps I could take to further diagnose the issue?

@pootinanny
Copy link

Same issues as kklyandev.

Access logs show like 40 unifi user sessions with the same PID.

Looks like theyre all waiting for something:

30687 | unifi | 20 | 0 | 2763M | 228M | uwait | 3 | 0:01 | 0.16% | /usr/local/openjdk17/bin/java -Djava.awt.headless=true -Xmx1024M -Djava.net.preferIPv4Stack=false --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/sun.security.util=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED -jar lib/ace.jar start{cluster-ClusterId{v} -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --

image

@trevorperrin
Copy link

I've got a similar issue - my opnsense firewall was inadvertently unplugged, and afterwards I couldn't access the Unifi Controller web GUI. No firewall settings were changed in between, and I'm also seeing the "exited on signal 6 (no core dump - bad address)" message in my General log. A reboot didn't resolve it, and neither did an uninstall/reinstall. I do have access to other services on other ports (Adguard for instance). I'm running OPNsense 24.7.11_2 and Unifi controller WAS working before the firewall went down.

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants