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

trying to login to the webui #523

Closed
SprayzXD opened this issue Jan 7, 2024 · 9 comments · Fixed by #534
Closed

trying to login to the webui #523

SprayzXD opened this issue Jan 7, 2024 · 9 comments · Fixed by #534

Comments

@SprayzXD
Copy link

SprayzXD commented Jan 7, 2024

So I'm trying to log in with the web UI every time I go to log in with the credentials I set using the compile file it doesn't work can anyone tell me what am i doing wrong here? Update I managed to log in.

@Alex-joomla
Copy link

Same for me

@zvzz
Copy link

zvzz commented Jan 8, 2024

Anyone stumble upon this thread - do not forget to restart the UI daemon before logging in first time.

@florin-nechita
Copy link

So after the first docker-compose up -d, it wants, for some reason, a docker restart.
Almost gave up until I stumbled upon this thread.

@graves501
Copy link

graves501 commented Jan 8, 2024

Sharing this so it might help someone else out there 😁

I couldn't get the web UI to load... restarting the containers (using docker-compose) did not help.
The error in the logs was:

Found WG conf /config/wg_confs/wg0.conf, but it doesn't seem to be valid, skipping.

For whatever reason wg0.conf got created, but it was just an empty file. Manually removing wg0.conf and then restarting the containers fixed the issue 👍

@nebulosa2007
Copy link
Contributor

nebulosa2007 commented Jan 10, 2024

So after the first docker-compose up -d, it wants, for some reason, a docker restart. Almost gave up until I stumbled upon this thread.

Got same error on a new instance but I don't use docker image, systemd service instead

After start at first time, I log in with admin admin, it shows "Logged in successfully" and nothing happened after. Restarting service helps.

Log shows nothing:

...
wireguard-ui[18806]: Git Repo        : https://github.com/ngoduykhanh/wireguard-ui
wireguard-ui[18806]: Authentication        : true
wireguard-ui[18806]: Bind address        : 0.0.0.0:5000
wireguard-ui[18806]: Email from        :
wireguard-ui[18806]: Email from name        : WireGuard UI
wireguard-ui[18806]: Custom wg.conf        :
wireguard-ui[18806]: Base path        : /
wireguard-ui[18806]: Subnet ranges        :
wireguard-ui[18806]: Valid subnet ranges:
wireguard-ui[18806]: ⇨ http server started on [::]:5000
systemd[1]: Stopping A web user interface to manage your WireGuard setup...
systemd[1]: wireguard-ui.service: Deactivated successfully.
systemd[1]: Stopped A web user interface to manage your WireGuard setup.
systemd[1]: wireguard-ui.service: Consumed 13.094s CPU time, 11.9M memory peak, 0B memory swap peak.

@0xCA
Copy link
Contributor

0xCA commented Jan 11, 2024

Please test #534, should allow an immediate login

@nebulosa2007
Copy link
Contributor

Please test #534, should allow an immediate login

Now works as expected! Thanks!

@jearton
Copy link

jearton commented Mar 21, 2024

Restarting container is not working for me

@xgbt
Copy link

xgbt commented Apr 3, 2024

Sharing this so it might help someone else out there 😁

I couldn't get the web UI to load... restarting the containers (using docker-compose) did not help. The error in the logs was:

Found WG conf /config/wg_confs/wg0.conf, but it doesn't seem to be valid, skipping.

For whatever reason wg0.conf got created, but it was just an empty file. Manually removing wg0.conf and then restarting the containers fixed the issue 👍

delete the /config/wg_confs/wg0.conf in container linuxserver/wireguard, then restart all two containers, that work for me.

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

Successfully merging a pull request may close this issue.

9 participants