this post was submitted on 04 Nov 2024
2 points (58.3% liked)

Selfhosted

40296 readers
344 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I'm currently trying to spin up a new server stack including qBittorrent. when I launch the web UI, it asks for a login on first launch. According to the documentation, the default user id admin and the default password is adminadmin.

Solved:

For qBittorrent ≥ v4.1, a randomly generated password is created at startup on the initial run of the program. After starting the container, enter the following into a terminal:

docker logs qbittorrent or sudo docker logs qbittorrent (if you do not have access to the container)

The command should return:

******** Information ******** To control qBittorrent, access the WebUI at: http://localhost:5080 The WebUI administrator username is: admin The WebUI administrator password was not set. A temporary password is provided for this session: G9yw3qSby You should set your own password in program preferences.

Use this password to login for this session. Then create a new password by opening http://{localhost}:5080 and navigate the menus to -> Tools -> Options -> WebUI ->Change current password. Don't forget to save.

top 8 comments
sorted by: hot top controversial new old
[–] mike_wooskey@lemmy.thewooskeys.com 7 points 2 weeks ago (1 children)

When I install qbittorrent via docker, I see this in the docker logs:

qbittorrent-1         | 2024-11-04T15:25:25.201955254Z The WebUI administrator username is: admin
qbittorrent-1         | 2024-11-04T15:25:25.201974066Z The WebUI administrator password was not set. A temporary password is provided for this session: H7ct3xPes

That's the default admin credentials for the instance. I can then change the login or pw in the UI.

[–] gedaliyah@lemmy.world 0 points 2 weeks ago (1 children)

Where do I find that information? What is the exact command that I should type?

[–] catloaf@lemm.ee 1 points 2 weeks ago (2 children)
[–] gedaliyah@lemmy.world 3 points 2 weeks ago (1 children)

Lol. Thank you. Part of the frustration of being a beginner in any space is that it's not easy to discern which questions have simple answers and which are more complicated.

From the search you linked, it looks like this is as simple as typing the command

docker logs

I'll give that a try, once I have access to the server again.

Also if you've never seen it, lazydocker might be something up your alley.

It's a TUI, but it provides easy access to docker containers, logs, updating/restarting/stopping/etc them and so on.

[–] gedaliyah@lemmy.world 1 points 2 weeks ago

It looks like in this case the answer was a little deeper than a simple search, but no worries - you set me in the right direction. I'll add the solution to the post.

[–] abff08f4813c@j4vcdedmiokf56h3ho4t62mlku.srv.us 2 points 2 weeks ago (1 children)

This is actually very easy. You can copy the files from the container, even while it's not running, onto your host system to edit there, and then copy them back afterwards.

See the top answer on https://stackoverflow.com/questions/22907231/how-to-copy-files-from-host-to-docker-container for step by step instructions on how to do this.

[–] gedaliyah@lemmy.world 1 points 2 weeks ago

Thanks, I'll check it out.