Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unifi-Controller mit MongoDB : Error 18

Featured Replies

Hallo Zusammen,

 

bin gerade dabei Unifi-Controller aufzusetzen und habe nach Anleitung auch die Mongo-DB mit der mongo.js Datei erstellt.
Leider funktioniert das ganze aber nicht da die Logs von Unifi sagen dass die Anmeldung auf die MongoDB abgelehnt wurde mit Fehlercode 18.

 

image.thumb.png.89574e8f4cc878ad63004feb68db7757.png

Ich habe natürlich über die Konsole von MongoDB mit MongoShell den Login probiert und dieser funktioniert einwandfrei.

Weiß einer woran das liegen kann?


MfG

Dominik

1 hour ago, Haushaltdm said:

Weiß einer woran das liegen kann?

gemäß google "inkompatibel" was ich so lese ...

 

"cannot authenticate code 18" means your driver is incompatible with the version of your database running with mLab. If your driver is using MONGODB-CR and your database is running SCRAM-SHA-1 as the authentication mechanism, you'll get this error.

Confirm your driver is compatible with the version of your mLab database server.

https://docs.mongodb.com/ecosystem/drivers/driver-compatibility-reference/

 

da ich jedocher "weder noch" nutze ... entweder mal im passenden support Thread anfragen oder warten bis sich hier jemand meldet ;)

  • Author

Also ich habe mich gemäß einem Thread hier im Forum orientiert, Kompatibilität sollte also gegeben sein - zumindest funktioniert es bei anderen Usern 🧐

 

1 minute ago, Haushaltdm said:

Also ich habe mich gemäß einem Thread hier im Forum orientiert, Kompatibilität sollte also gegeben sein - zumindest funktioniert es bei anderen Usern 🧐

davon würde ich dann auch ausgehen, wie gesagt, ich nutze es nicht und kann es nicht beurteilen ...

 

LSIO bietet auch per Discord support für seine Dockers an ... sind auch sehr aktiv ... nur als Info.

 

 

the unraid docker unifi temple is a set once. You will need to make sure that the mongos database is created and use the docker 1 for 1 file replaced for the init found here:

 

error 18 is an auth error:

https://www.mongodb.com/community/forums/t/mongoservererror-authentification-failed-code-18/216654

 

Google Translate:

##################

 

Der Unraid Docker Unifi Temple ist einmalig. Sie müssen sicherstellen, dass die Mongos-Datenbank erstellt wurde, und die Docker-1-für-1-Datei verwenden, die durch die hier gefundene Init-Datei ersetzt wird:

 

 

Fehler 18 ist ein Authentifizierungsfehler:

https://www.mongodb.com/community/forums/t/mongoservererror-authentification-failed-code-18/216654

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.