boramalper / magnetico

Autonomous (self-hosted) BitTorrent DHT search engine suite.
http://labs.boramalper.org/magnetico/
GNU Affero General Public License v3.0
3.06k stars 344 forks source link

Opening http://localhost:8080 asks for password, which I don't know #248

Open stiv-yakovenko opened 4 years ago

kescherCode commented 4 years ago

https://github.com/boramalper/magnetico/blob/master/cmd/magneticow/README.md#setting-password-protection

If you haven't set this and you're using magneticow with docker, try typing "username" and "password".

kknstv commented 4 years ago

Hi! I tried to enter the standard login password, generated my own, but I can not enter. Where else can I look to solve the login problem?

kescherCode commented 4 years ago

There is no standard login password. You have to generate one, as outlined at https://github.com/boramalper/magnetico/blob/master/cmd/magneticow/README.md#setting-password-protection.

kknstv commented 4 years ago

There is no standard login password. You have to generate one, as outlined at https://github.com/boramalper/magnetico/blob/master/cmd/magneticow/README.md#setting-password-protection.

I create as stated on the page, for example htpasswd -bnBC 12 "admin" "admin", -> admin:$2y$12$IIk0U49hbC2fuIfH/2B72.5nr/GW6h4vOckVYlZ1l9mJ7ACqDRbSi past string in file "credentials", rebuilding the container, try to auth, but I can't log in. what am I doing wrong?

notmayo commented 3 years ago

I am also having this issue, using docker and the htpasswd command exactly as above. Magenticow container will not start without a credentials file.

Froghut commented 3 years ago

anyone got a solution to this? Just hit the same problem.

Edit: I'm runnning this behind my own reverse proxy with auth so I just wanted to run magneticow without auth - the solution for this is adding command: --no-auth to the docker compose file.