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.

[Support] devzwf - Unifi-toolkit

Featured Replies

  • Author
3 hours ago, jankasten said:

Ill try to install the unifi-toolkit on my unraid. I am using cloudflare tunnel to access the webinterface. How can i configure the login? The way in the manual isnt working for me. Password or username is wrong.

If you use Local type :
>>> Local - For LAN-only access (no authentication, no HTTPS)
you better put a reverse proxy in front of it and kill the exported port

I am not using local. Thats why i am asking. How to configure the login credentials. The info in the manual doesnt work for me. Its always wrong credentials.image.png

Edited by jankasten

  • Author

Alright,

go to advance mode in unraid
Screenshot 2026-02-24 at 9.38.14 AM.png

then click on Show more settings ...
Screenshot 2026-02-24 at 9.39.02 AM.png

then yu will be able to see username and password for production

Screenshot 2026-02-24 at 9.39.24 AM.png

Dont forget the password is a HASH not the actual password
let me know

There is only the username.. The password hash is empty.

  • Author

you have to provide

How can i get the hash? If i use the setup.sh its not showing the hash.

Also with reset_password.sh there is no hash... Should i pick the hash from the .env file? Where do i find this file?

  • Author
15 minutes ago, jankasten said:

How can i get the hash? If i use the setup.sh its not showing the hash.

setup.sh put the hash in .env file
open a console in the docker instance
then cat .env

you should see something like :
# Admin credentials (production only)

AUTH_USERNAME=admin

AUTH_PASSWORD_HASH=$$2b$$13$$YOy2BEFKWY42GdedAgrGC.rQn3AAkqKprt5piHYcBpe61134MDJVA2

Note: this is a fake Hash :)

I did this, but doesnt work. Same failure. After reboot the .env file is gone, is this normal?

EDIT: i copied the hash in to the template place in unraid

Edited by jankasten

  • Author

Here what i would do , but seems to be tested , i will try test this later today .
run setup.sh
move .env to /app/data

add a path in the template :
Screenshot 2026-02-24 at 10.57.21 AM.png

let me know if that worked
again i did not test this use case yet . i only test local type

Edited by ZappyZap

Sadly not, that doesnt work as well...

When I check my UDM-Pro IP Address and the API token it test successfully.

When I then try to "save" it I got following error.

ValueError: Invalid ENCRYPTION_KEY in .env file. The key must be a valid Fernet key (32 url-safe base64-encoded bytes). Please run ./setup.sh to generate a new key, or generate one manually with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"

I tried to run the ./setup.sh in the docker

Select deployment type [1-2]: 1

✓ Selected: local deployment

Step 2: Generating Encryption Key

Generating secure encryption key...
✓ Encryption key generated

Step 3: Writing Configuration

✓ Configuration saved to .env

✓ Data directory already exists
The data/ directory stores the SQLite database. The container
needs write access to /app/data (mapped from ./data on the host).

=================================================================
Setup Complete!
=================================================================

But still no success.

What am I doing wrong?

  • Author
6 hours ago, jankasten said:

Sadly not, that doesnt work as well...

Sadly i do not have contoller external to finish testing , i would open a issue on the github perhaps

  • Author
2 hours ago, lelei said:

When I check my UDM-Pro IP Address and the API token it test successfully.

When I then try to "save" it I got following error.

ValueError: Invalid ENCRYPTION_KEY in .env file. The key must be a valid Fernet key (32 url-safe base64-encoded bytes). Please run ./setup.sh to generate a new key, or generate one manually with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"

I tried to run the ./setup.sh in the docker

Select deployment type [1-2]: 1

✓ Selected: local deployment

Step 2: Generating Encryption Key

Generating secure encryption key...
✓ Encryption key generated

Step 3: Writing Configuration

✓ Configuration saved to .env

✓ Data directory already exists
The data/ directory stores the SQLite database. The container
needs write access to /app/data (mapped from ./data on the host).

=================================================================
Setup Complete!
=================================================================

But still no success.

What am I doing wrong?

to gerenate the key use :
docker run --rm python:3-slim sh -c "pip install -q cryptography && python -c 'from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())'"

26 minutes ago, ZappyZap said:

to gerenate the key use :

In the unifi-toolkit docker console or in the unraid console?

  • Author

unraid console
the last line will be the key

33 minutes ago, ZappyZap said:

unraid console

thanks, works now 😀

  • Author
1 hour ago, lelei said:

thanks, works now 😀

Awesome

  • 2 weeks later...

In case anyone else has trouble setting up the password hash, the easiest way I would say is to use this website with the default config of 12 rounds : https://bcrypt-generator.com/

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.