qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
26.92k stars 3.88k forks source link

qbittorrent-nox cannot login to the webUI #18686

Open 1982606762 opened 1 year ago

1982606762 commented 1 year ago

qBittorrent & operating system versions

qBittorrent v4.5.2 Operating system: Ubuntu 22.04.2 LTS

What is the problem?

I cannot log in to the web UI using admin and adminadmin even though I have tried:

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

No response

hannut commented 9 months ago

I'm experiencing similar problem.

Seems to be related to version.

4.6.0-1 default password works 4.6.1-1 default password doesn't work

Running mine with Podman. Deleted the /config -volume between versions.

MartinVonReichenberg commented 9 months ago

Using a randomized password for initial login is a truly stupid idea !!!

Why do you set it a way that it requires a random password which is unable to retrieve !?!?

How to trigger password ????? What is the catch ????

@glassez @sledgehammer999 @thalieht @Kolcha

root@Lenovo-ThinkCentre-Edge--DEBIAN-SERVER ~# apt info qbittorrent-nox-qt6
Package: qbittorrent-nox-qt6
Version: 4.6.1+0-0+2.2
Priority: optional
Section: net
Source: qbittorrent
Maintainer: Nick Korotysh <kolchaprogrammer@list.ru>
Installed-Size: 10.3 MB
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.3), libqt6core6 (>= 6.4.0), libqt6network6 (>= 6.4.0), libqt6sql6 (>= 6.1.2), libqt6xml6 (>= 6.1.2), libssl3 (>= 3.0.0), libstdc++6 (>= 11), libtorrent-rasterbar2.0 (>= 2.0.9+0), zlib1g (>= 1:1.2.0), libqt6sql6-sqlite
Conflicts: qbittorrent-nox
Homepage: https://www.qbittorrent.org/
Download-Size: 6,742 kB
APT-Manual-Installed: yes
APT-Sources: http://download.opensuse.org/repositories/home:/MartinVonReichenberg:/branches:/home:/nikoneko:/test/Debian_12  Packages
Description: bittorrent client based on libtorrent-rasterbar (without X support)
 BitTorrent client written in C++ and based on libtorrent-rasterbar.
 qBittorrent-nox is a version of qBittorrent (Qt6 application) that does not
 require X and can be controlled via a WebUI, thus is more suitable for
 headless servers. It is a feature rich but lightweight client that is very
 similar to rTorrent. Its main features are:
 .
  * Remote control through a Web user interface
  * Vuze-compatible protocol encryption
  * uTorrent-compatible Peer eXchange (PeX)
  * DHT (trackerless) support
  * UPnP / NAT-PMP port forwarding
  * IPv6 compliant
  * Advanced control over torrent content and trackers
  * IP Filtering (eMule / Peer Guardian filters)
  * Torrents queueing and prioritizing
  * Good localization (~25 languages supported)
  * Unicode support
root@Lenovo-ThinkCentre-Edge--DEBIAN-SERVER ~# systemctl status qbittorrent-nox@root.service
● qbittorrent-nox@root.service - qBittorrent-nox service for user root
     Loaded: loaded (/lib/systemd/system/qbittorrent-nox@.service; enabled; preset: enabled)
     Active: active (running) since Sun 2023-11-26 18:32:01 CET; 9min ago
       Docs: man:qbittorrent-nox(1)
   Main PID: 1303 (qbittorrent-nox)
      Tasks: 9 (limit: 4464)
     Memory: 16.7M
        CPU: 1.305s
     CGroup: /system.slice/system-qbittorrent\x2dnox.slice/qbittorrent-nox@root.service
             └─1303 /usr/bin/qbittorrent-nox

Nov 26 18:32:01 Lenovo-ThinkCentre-Edge--DEBIAN-SERVER systemd[1]: Started qbittorrent-nox@root.service - qBittorrent-nox service for user root.

Screenshot_20231126_181605 Screenshot_20231126_181655

MartinVonReichenberg commented 9 months ago

So folks, @1982606762 , @hannut

the only workaround for now is after fresh install of qBittorrent-NOX 4.6.1, make sure the service qbittorrent-nox is disabled and stopped using systemctl.

Run the program from the command line:

root@Lenovo-ThinkCentre-Edge--DEBIAN-SERVER / [3]# qbittorrent-nox

*** Legal Notice ***
qBittorrent is a file sharing program. When you run a torrent, its data will be made available to others by means of upload. Any content you share is your sole responsibility.

No further notices will be issued.

Press 'y' key to accept and continue...
y
WebUI will be started shortly after internal preparations. Please wait...

******** Information ********
To control qBittorrent, access the WebUI at: http://localhost:8080

The WebUI administrator username is: admin
The WebUI administrator password was not set. A temporary password is provided for this session: bXAMr37Sf
You should set your own password in program preferences.

The output of the initial start should give you a login password into the qBittorrent-NOX Web UI.

It is something systemctl status qbittorrent-nox@$USER.service output will not show you:

root@Lenovo-ThinkCentre-Edge--DEBIAN-SERVER /# systemctl status qbittorrent-nox@root.service
● qbittorrent-nox@root.service - qBittorrent-nox service for user root
     Loaded: loaded (/lib/systemd/system/qbittorrent-nox@.service; disabled; preset: enabled)
     Active: active (running) since Sun 2023-11-26 22:53:59 CET; 1s ago
       Docs: man:qbittorrent-nox(1)
   Main PID: 12261 (qbittorrent-nox)
      Tasks: 10 (limit: 4464)
     Memory: 15.5M
        CPU: 283ms
     CGroup: /system.slice/system-qbittorrent\x2dnox.slice/qbittorrent-nox@root.service
             └─12261 /usr/bin/qbittorrent-nox

Nov 26 22:53:59 Lenovo-ThinkCentre-Edge--DEBIAN-SERVER systemd[1]: Started qbittorrent-nox@root.service - qBittorrent-nox service for user root.

Screenshot_20231126_230604

Additionally you can use these pre-built packages from my Open Build Service server repository for either Debian or Ubuntu.

Have a lot of fun!