1
General Discussion / Re: mimugmail repo: Upcoming Unifi Plugin Upgrade will break your config
« on: May 17, 2024, 01:54:50 pm »
Latest upgrade removed unifi, tried to re-install but getting the following missing dependency python39
Database not starting up:
/usr/local/share/java/unifi/logs # tail -100 server.log
[2024-05-17 13:59:20,935] <main> WARN system - reload system.properties failed: file not found
[2024-05-17 13:59:20,939] <main> WARN system - reload system.properties.bk failed: file not found
[2024-05-17 13:59:20,939] <launcher> INFO launcher - Initializing on FreeBSD(13.2-RELEASE-p11), jre17(17.0.10)
[2024-05-17 13:59:20,939] <launcher> INFO system - *** Running for the first time, creating identity ***
[2024-05-17 13:59:20,940] <launcher> WARN system - reload system.properties failed: file not found
[2024-05-17 13:59:20,940] <launcher> WARN system - reload system.properties.bk failed: file not found
[2024-05-17 13:59:27,331] <launcher> INFO startup - Initiating startup
[2024-05-17 13:59:27,969] <launcher> WARN system - Valid keystore is missing or invalid. Generating one ...
[2024-05-17 13:59:27,969] <launcher> INFO system - Generating Certificate[UniFi]... please wait...
[2024-05-17 13:59:28,582] <launcher> INFO system - Certificate[UniFi] generated!
[2024-05-17 13:59:28,697] <launcher> INFO tomcat - Adding basic REST API support during the startup
[2024-05-17 13:59:30,650] <launcher> INFO system - Tomcat startup took 3305ms
[2024-05-17 13:59:39,541] <launcher> INFO system - ======================================================================
[2024-05-17 13:59:39,541] <launcher> INFO system - UniFi 8.1.113 (build atag_8.1.113_25191 - release/release) is started
[2024-05-17 13:59:39,542] <launcher> INFO system - Environment: UniFi-OS[false], UniFi-Cloud[false], UniFi-MongoService[false]
[2024-05-17 13:59:39,542] <launcher> INFO system - ======================================================================
[2024-05-17 13:59:39,542] <launcher> INFO system - BASE dir:/usr/local/share/java/unifi
[2024-05-17 13:59:39,544] <launcher> INFO system - ubic.env: prod
[2024-05-17 13:59:39,757] <launcher> INFO mongo - Checking if database needs to be shut down
[2024-05-17 13:59:40,989] <launcher> INFO mongo - Database was not running
[2024-05-17 13:59:40,989] <launcher> INFO mongo - Starting database process...
[2024-05-17 13:59:41,001] <mongod-tail> WARN mongo - Mongo log not found during startup
[2024-05-17 13:59:41,047] <mongo-db> WARN mongo - Stop listening to Mongo logs after process has exited
[2024-05-17 13:59:41,048] <mongo-db> INFO mongo - Database process stopped, code=1
[2024-05-17 13:59:44,050] <mongod-tail> WARN mongo - Mongo log not found during startup
[2024-05-17 13:59:44,061] <mongo-db> WARN mongo - Stop listening to Mongo logs after process has exited
[2024-05-17 13:59:44,062] <mongo-db> INFO mongo - Database process stopped, code=1
[2024-05-17 13:59:47,063] <mongod-tail> WARN mongo - Mongo log not found during startup
[2024-05-17 13:59:47,073] <mongo-db> WARN mongo - Stop listening to Mongo logs after process has exited
[2024-05-17 13:59:47,073] <mongo-db> INFO mongo - Database process stopped, code=1
[2024-05-17 13:59:50,076] <mongod-tail> WARN mongo - Mongo log not found during startup
[2024-05-17 13:59:50,126] <mongo-db> WARN mongo - Stop listening to Mongo logs after process has exited
[2024-05-17 13:59:50,128] <mongo-db> INFO mongo - Database process stopped, code=1
Code: [Select]
service unifi stop
pkg remove os-unifi-maxit unifi8
y
rm -rf /usr/local/share/java/unifi/*
pkg install os-unifi-maxit
catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
Updating mimugmail repository catalogue...
mimugmail repository is up to date.
All repositories are up to date.
pkg: glib has a missing dependency: python39
pkg: glib has a missing dependency: python39
pkg: glib has a missing dependency: python39
pkg: glib has a missing dependency: python39
pkg: glib has a missing dependency: python39
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
os-unifi-maxit: 1.3 [mimugmail]
unifi8: 8.1.113 [mimugmail]
Number of packages to be installed: 2
The process will require 227 MiB more space.
Database not starting up:
/usr/local/share/java/unifi/logs # tail -100 server.log
[2024-05-17 13:59:20,935] <main> WARN system - reload system.properties failed: file not found
[2024-05-17 13:59:20,939] <main> WARN system - reload system.properties.bk failed: file not found
[2024-05-17 13:59:20,939] <launcher> INFO launcher - Initializing on FreeBSD(13.2-RELEASE-p11), jre17(17.0.10)
[2024-05-17 13:59:20,939] <launcher> INFO system - *** Running for the first time, creating identity ***
[2024-05-17 13:59:20,940] <launcher> WARN system - reload system.properties failed: file not found
[2024-05-17 13:59:20,940] <launcher> WARN system - reload system.properties.bk failed: file not found
[2024-05-17 13:59:27,331] <launcher> INFO startup - Initiating startup
[2024-05-17 13:59:27,969] <launcher> WARN system - Valid keystore is missing or invalid. Generating one ...
[2024-05-17 13:59:27,969] <launcher> INFO system - Generating Certificate[UniFi]... please wait...
[2024-05-17 13:59:28,582] <launcher> INFO system - Certificate[UniFi] generated!
[2024-05-17 13:59:28,697] <launcher> INFO tomcat - Adding basic REST API support during the startup
[2024-05-17 13:59:30,650] <launcher> INFO system - Tomcat startup took 3305ms
[2024-05-17 13:59:39,541] <launcher> INFO system - ======================================================================
[2024-05-17 13:59:39,541] <launcher> INFO system - UniFi 8.1.113 (build atag_8.1.113_25191 - release/release) is started
[2024-05-17 13:59:39,542] <launcher> INFO system - Environment: UniFi-OS[false], UniFi-Cloud[false], UniFi-MongoService[false]
[2024-05-17 13:59:39,542] <launcher> INFO system - ======================================================================
[2024-05-17 13:59:39,542] <launcher> INFO system - BASE dir:/usr/local/share/java/unifi
[2024-05-17 13:59:39,544] <launcher> INFO system - ubic.env: prod
[2024-05-17 13:59:39,757] <launcher> INFO mongo - Checking if database needs to be shut down
[2024-05-17 13:59:40,989] <launcher> INFO mongo - Database was not running
[2024-05-17 13:59:40,989] <launcher> INFO mongo - Starting database process...
[2024-05-17 13:59:41,001] <mongod-tail> WARN mongo - Mongo log not found during startup
[2024-05-17 13:59:41,047] <mongo-db> WARN mongo - Stop listening to Mongo logs after process has exited
[2024-05-17 13:59:41,048] <mongo-db> INFO mongo - Database process stopped, code=1
[2024-05-17 13:59:44,050] <mongod-tail> WARN mongo - Mongo log not found during startup
[2024-05-17 13:59:44,061] <mongo-db> WARN mongo - Stop listening to Mongo logs after process has exited
[2024-05-17 13:59:44,062] <mongo-db> INFO mongo - Database process stopped, code=1
[2024-05-17 13:59:47,063] <mongod-tail> WARN mongo - Mongo log not found during startup
[2024-05-17 13:59:47,073] <mongo-db> WARN mongo - Stop listening to Mongo logs after process has exited
[2024-05-17 13:59:47,073] <mongo-db> INFO mongo - Database process stopped, code=1
[2024-05-17 13:59:50,076] <mongod-tail> WARN mongo - Mongo log not found during startup
[2024-05-17 13:59:50,126] <mongo-db> WARN mongo - Stop listening to Mongo logs after process has exited
[2024-05-17 13:59:50,128] <mongo-db> INFO mongo - Database process stopped, code=1