Hallo zusammen,
nach einem Update habe ich keinen Zugriff mehr auf den Unifi Controller per Browser.
Auf den Cloudkey (GEN1) komme ich noch drauf.
Neustart des Cloudkey ändert nichts
Unifi Start / Stop ändert nichts
Per SSH funktioniert der Zugriff
Ich habe es nach der Anleitung von Unifi versucht die DB zu reparieren:
UniFi - Repairing Database Issues on the UniFi Network Application
Overview
After reading through this article readers should expect to have a cursory knowledge about how to identify database issues on the UniFi Network…
help.ui.com
bekomme aber folgende Fehler:
Code
Microsoft Windows [Version 10.0.17763.3650]
(c) 2018 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Users\Kasse>ssh root@192.168.0.254
root@192.168.0.254's password:
___ ___ .__________.__
| | |____ |__\_ ____/__|
| | / \| || __) | | (c) 2013-2020
| | | | \ || \ | | Ubiquiti Inc.
|______|___| /__||__/ |__|
|_/ http://www.ui.com
Welcome to UniFi CloudKey!
Last login: Mon Dec 12 22:17:33 2022 from 192.168.0.40
root@UniFi-CloudKey:~# cd /tmp/
root@UniFi-CloudKey:/tmp# wget https://help.ui.com/hc/en-us/article_attachments/360008640574/CK_repair.js
--2022-12-12 22:25:08-- https://help.ui.com/hc/en-us/article_attachments/360008640574/CK_repair.js
Resolving help.ui.com (help.ui.com)... 104.16.51.111, 104.16.53.111
Connecting to help.ui.com (help.ui.com)|104.16.51.111|:443... connected.
ERROR: The certificate of ‘help.ui.com’ is not trusted.
ERROR: The certificate of ‘help.ui.com’ has expired.
root@UniFi-CloudKey:/tmp# service unifi stop
root@UniFi-CloudKey:/tmp# mongod --dbpath /usr/lib/unifi/data/db --smallfiles --logpath /usr/lib/unifi/logs/server.log --repair
Mon Dec 12 22:25:34.703
Mon Dec 12 22:25:34.705 warning: 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
Mon Dec 12 22:25:34.706
all output going to: /usr/lib/unifi/logs/server.log
log file [/usr/lib/unifi/logs/server.log] exists; copied to temporary file [/usr/lib/unifi/logs/server.log.2022-12-12T21-25-34]
root@UniFi-CloudKey:/tmp# mongod --dbpath /usr/lib/unifi/data/db --smallfiles --logpath /usr/lib/unifi/logs/server.log --fork
Mon Dec 12 22:25:49.726
Mon Dec 12 22:25:49.727 warning: 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
Mon Dec 12 22:25:49.728
about to fork child process, waiting until server is ready for connections.
forked process: 1348
all output going to: /usr/lib/unifi/logs/server.log
log file [/usr/lib/unifi/logs/server.log] exists; copied to temporary file [/usr/lib/unifi/logs/server.log.2022-12-12T21-25-49]
ERROR: child process failed, exited with error number 100
root@UniFi-CloudKey:/tmp# mongo < /tmp/CK_repair.js
-bash: /tmp/CK_repair.js: No such file or directory
root@UniFi-CloudKey:/tmp# mongod --dbpath /usr/lib/unifi/data/db --smallfiles --logpath /usr/lib/unifi/logs/server.log --shutdown
Mon Dec 12 22:26:26.080
Mon Dec 12 22:26:26.081 warning: 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
Mon Dec 12 22:26:26.082
killing process with pid: 1261
root@UniFi-CloudKey:/tmp# service unifi start
Alles anzeigen
Was kann ich noch machen ?
Vielen Dank im voraus