Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with login #616

Open
ZonemanPL opened this issue Aug 27, 2024 · 2 comments
Open

Problem with login #616

ZonemanPL opened this issue Aug 27, 2024 · 2 comments

Comments

@ZonemanPL
Copy link

ZonemanPL commented Aug 27, 2024

I have ubuntu server LTS with wireguard installation by this guide: https://insights.ditatompel.com/en/tutorials/installing-wireguard-ui-to-manage-your-wireguard-vpn-server/
When i want to login by user and password configured in file .env i see this:
Zrzut ekranu 2024-08-27 161714
WireGuard UI is runnning on this config:

/etc/systemd/system/wireguard-ui-daemon.service

[Unit]
Description=WireGuard UI Daemon
Wants=network-online.target
After=network-online.target

[Service]
User=root
Group=root
Type=simple
WorkingDirectory=/opt/wireguard-ui
EnvironmentFile=/opt/wireguard-ui/.env
ExecStart=/opt/wireguard-ui/wireguard-ui -bind-address "0.0.0.0:5000"

[Install]
WantedBy=multi-user.target

/opt/wireguard-ui/.env

#SESSION_SECRET=wGb2XNFEVuxKVRg!mgvb2iX4Qk5X&8@REm*BzR
WGUI_USERNAME=admin
WGUI_PASSWORD=admin

I have external Nginx for proxy.

Status was:
sie 27 14:13:09 wireguard wireguard-ui[2236]: {"time":"2024-08-27T14:13:09.560191561Z","level":"INFO","prefix":"-","file":"rout:"routes.go","line":"78","message":"Cannot query user admin from DB"}

@ZonemanPL
Copy link
Author

Someone have the same problem?

@Bojo67
Copy link

Bojo67 commented Sep 1, 2024

Si tu as modifier le mot de passe et l'utilisateur après avoir lancé l'installation, cela pose des porblème !
J'ai eu le même soucis sur docker compose, j'ai du remettre le mot de passe d'origine et ensuite le changer dans l'interface de wireguard ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@ZonemanPL @Bojo67 and others