Qbittorrent reinstall question

Something’s happened to my qbittorrent install. It’s not connecting at the web URL or across my network and while I can see the login page locally my password is rejected, as well as default passwords.

I think the easiest thing would be to uninstall/reinstall. BUT I want to make sure the torrent files are saved so I don’t have to run around manually re-adding them. What should I copy separately (or do I need to copy them separately)?

Hi,

basically you can remove the current password and login with a default one. It’s basically describe on Qbittorrent wiki

https://github.com/qbittorrent/qBittorrent/wiki/Web-UI-password-locked-on-qBittorrent-NO-X-(qbittorrent-nox)

Just do following

systemctl stop qbittorrent.service
nano /home/qbittorrent/.config/qBittorrent/qBittorrent.conf
## remove whole line WebUI\Password_ha1 at the bottom and save the file
systemctl start qbittorrent.service

Now you should be able to login with user qbittorrent and default password adminadmin

Appreciate that. My .conf file didn’t have a WebUI\Password line though, which is also odd, as I had one set up a week ago or so.

The .conf file just has :
[BitTorrent]
Session\Categories=@Variant(…the rest goes there, unclear if it’s sensitive or not so I’m omitting)

[Network]
Cookies=@Invalid()

[Preferences]
WebUI\Port=1340

These are the only 3 lines? How did you install Qbittorrent? Because by default DietPi will set way more options!

I’m just as confused as you. I used dietpi-software to install. Things had been going well until maybe Feb 4th or so, it seems based on automated torrent history.

I noticed my web page went down after what I think was a scheduled update, seems that nordvpn inadvertently was turned on and turning that off seemed to fix that issue. And then qbittorrent wasn’t working.

Appreciate any advice if you think this could be bigger than something odd with qbittorrent

hmm usually DietPi will not perform an automated updated. But ok let’s try to fix Qbittorrent

systemctl stop qbittorrent.service
rm /home/qbittorrent/.config/qBittorrent/qBittorrent.conf
dietpi-software reinstall 46

this should re-create the config file and allow normal access

I appreciate the advice. I ran that and it says the installation was complete, however I still can’t login and the new configuration file I pulled at the location you gave me still has the same .conf file.

root@DietPi:/# qbittorrent-nox -v
qBittorrent v4.1.5

I’m running dietpi v.6.34.3. This is kind of baffling, maybe I’m missing something really basic?

it is important to stop Qbittorrent first and remove the incorrect conf file afterwards before trying to re-install. The conf file should not be present at the moment you re-insall, otherwise the config will not be re-created.

There we go, looks like when I ran through the first time after I stopped the service I made a backup when prompted and doing so then restarted the qbittorrent service.

So I can now login after deleting the password line, but 99% of my torrent files aren’t shown in the UI (20 vs 2000). I see

/home/qbittorrent/.local/share/data/qBittorrent/BT_backup has what looks like all my torrents (lots of fast resume and .torrent files with obscured names).

Do I just add these all or is there some better way to do this?

honestly I don’t know, just give it a try

Gosh and now Firefox within the Dietpi is really choking with the webui- how can I add a folder worth of quick resumes and torrent files by command line?

Sorry if this is basic but I must be missing it somewhere.

folder are created using mkdir command on os level

I apologize if I wasn’t clear.

I have a folder full of the backed up torrents I want qbittorrent-nox to add and recognize, but the WebUI is too unstable to do so. I need to point qbittorrent-nox to the torrent files, I think using the command line.

I see the command

qbittorrent−nox [−−webui-port=x] [TORRENT_FILE | URL].

Can I set qbittorrent-nox to a folder though?

honestly this is quite application specefic and it might be better to raise such question on qBittorrent GitHub

At least torrents should be located somewhere at /home/qbittorrent/.local/share/data/qBittorrent/ according qBittorrent wiki
https://github.com/qbittorrent/qBittorrent/wiki/Frequently-Asked-Questions#where-does-qbittorrent-save-its-settings

But how to add, I don’t know

I want to say I appreciate you helping me along in this process the idiot I am.

Tried to just uninstall/reinstall the thing entirely, having backed up the torrent files. I can access Qbittorrent on local host, but I still can’t from the local network, despite being able to access sonarr, radarr, lidarr and other services from the same local IP (and all port forwarding settings are correct). I get “ERR_CONNECTION_REFUSED”

Here’s my .config:

  GNU nano 3.2                                         /home/qbittorrent/.config/qBittorrent/qBittorrent.conf                                                   

Downloads\TempPathEnabled=false
Downloads\TorrentExportDir=
Downloads\UseIncompleteExtension=false
DynDNS\DomainName=changeme.dyndns.org
DynDNS\Enabled=false
DynDNS\Password=
DynDNS\Service=0
DynDNS\Username=
General\Locale=en
General\UseRandomPort=false
IPFilter\Enabled=false
IPFilter\File=
MailNotification\email=
MailNotification\enabled=false
MailNotification\password=XXXX
MailNotification\req_auth=true
MailNotification\req_ssl=false
MailNotification\sender=qBittorrent_notification@example.com
MailNotification\smtp_server=smtp.changeme.com
MailNotification\username=qbittorrent
Queueing\IgnoreSlowTorrents=false
Queueing\MaxActiveDownloads=2
Queueing\MaxActiveTorrents=2
Queueing\MaxActiveUploads=1
Queueing\QueueingEnabled=false
Scheduler\Enabled=false
WebUI\Address=*
WebUI\AlternativeUIEnabled=false
WebUI\AuthSubnetWhitelist=@Invalid()
WebUI\AuthSubnetWhitelistEnabled=false
WebUI\CSRFProtection=true
WebUI\ClickjackingProtection=true
WebUI\Enabled=true
WebUI\HTTPS\Enabled=true
WebUI\HostHeaderValidation=true
WebUI\LocalHostAuth=true
WebUI\Password_ha1=@ByteArray(PROBABLY A HASH BUT OMIT)
WebUI\Port=1340
WebUI\RootFolder=
WebUI\ServerDomains=*
WebUI\UseUPnP=true
WebUI\Username=qbittorrent

99% chance I’m being an idiot, what am I missing?

means from a computer inside your network you are not able to connect to Qbittorrent IP address?

Can you share ss -tulpn | grep LISTEN