QoolBox a dit:
can you tell me if
www.qoolbox.fr/Unifi_5.6.29.0_x86.qpkg.zip
working ? (clean install will be nice)
I've:
-backed up the current controller through Settings->Maintenance->Backup
-renamed /share/MD0_DATA/.qpkg/Unifi/Unifi (i guess you could change this double Unifi folder in future builds?)
edit: should've backed up the /share/MD0_DATA/.qpkg/Unifi folder, since this one get's deleted entirely on removing the app :-?
-removed Unifi through the App Center
-installed the above 5.6.29 version. Here something strange happened: the progress went to "Installing.....1%", but in the background the usual pop-up "Unifi is installed, a shortcut has been added" appeared. After waiting for 5 minutes the 1% message didn't changed so i refreshed. I went back to the app-center and everything appeared OK. Maby it was just a glitch.
-I've openend unifi and got the standard Setup-wizard.
-I choose to import my 5.6.24 backup
-getting message restore is succesfull, but no redirect or anything. Opening the app again resulted in "this site is not available", the app crashed, time to look at the logs.
Server log (time -1:00h):
[2018-01-23 18:55:45,232] <autoupdate-check> INFO system - firmware[US48P750] new version (3.9.19.8123) is available
[2018-01-23 18:55:45,232] <autoupdate-check> INFO system - firmware[S248500] new version (3.9.19.8123) is available
[2018-01-23 18:55:45,232] <autoupdate-check> INFO system - firmware[S224250] new version (3.9.19.8123) is available
[2018-01-23 19:00:20,482] <webapi-41> INFO db - Connecting to mongodb://127.0.0.1:27117
[2018-01-23 19:00:21,543] <webapi-41> INFO db - Connecting to mongodb://127.0.0.1:27117
[2018-01-23 19:00:24,607] <shutdown-listener> INFO db - waiting for db connection...
[2018-01-23 19:00:24,608] <shutdown-listener> WARN DisposableBeanAdapter - Invocation of destroy method failed on bean with name 'hotspotRadiusService': java.lang.NullPointerException
[2018-01-23 19:00:24,708] <db-server> WARN system - process is interupted: bin/mongod
[2018-01-23 19:00:24,708] <db-server> INFO db - DbServer stopped
mongodb log:
2018-01-23T20:00:24.461+0100 [conn9] CMD: drop ace_stat.stat_minute
2018-01-23T20:00:24.464+0100 [conn9] CMD: drop ace_stat.stat_monthly
2018-01-23T20:00:24.491+0100 [conn9] end connection 127.0.0.1:36677 (6 connections now open)
2018-01-23T20:00:24.492+0100 [conn8] end connection 127.0.0.1:36676 (5 connections now open)
2018-01-23T20:00:24.639+0100 [initandlisten] connection accepted from 127.0.0.1:36687 #10 (6 connections now open)
2018-01-23T20:00:24.682+0100 [initandlisten] connection accepted from 127.0.0.1:36688 #11 (7 connections now open)
2018-01-23T20:00:24.684+0100 [conn11] terminating, shutdown command received
2018-01-23T20:00:24.684+0100 [conn11] dbexit: shutdown called
2018-01-23T20:00:24.684+0100 [conn11] shutdown: going to close listening sockets...
2018-01-23T20:00:24.685+0100 [conn11] closing listening socket: 6
2018-01-23T20:00:24.685+0100 [conn11] closing listening socket: 8
2018-01-23T20:00:24.685+0100 [conn11] removing socket file: /share/MD0_DATA/.qpkg/Unifi/UniFi/run/mongodb-27117.sock
2018-01-23T20:00:24.685+0100 [conn11] shutdown: going to flush diaglog...
2018-01-23T20:00:24.685+0100 [conn11] shutdown: going to close sockets...
2018-01-23T20:00:24.685+0100 [conn11] shutdown: waiting for fs preallocator...
2018-01-23T20:00:24.685+0100 [conn11] shutdown: closing all files...
2018-01-23T20:00:24.690+0100 [conn11] closeAllFiles() finished
2018-01-23T20:00:24.690+0100 [conn11] shutdown: removing fs lock...
2018-01-23T20:00:24.690+0100 [conn11] dbexit: really exiting now
Looks like the DB got a shutdown. But since this mongodb isn't installed as service it didn't start (?)
-i've stopped and started the Unifi app and got a perfectly working controller (these 7 minutes) including my data.
Looks good to me! :-D