qBittorrent - script says 5.1.0, qB UI says 4.5.2 #1099

Closed
opened 2026-02-04 23:03:54 +03:00 by OVERLORD · 30 comments
Owner

Originally created by @Stooovie on GitHub (Jun 14, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

qBittorrent

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/qbittorrent.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Ubuntu 24.10

📝 Provide a clear and concise description of the issue.

qBittorrent LXC installed via your script. When I try to update it by running the "update" command, all goes well, script says qB version is 5.1.0, but qB web UI says 4.5.2. Rebooting the LXC and re-running the script didn't help ("No update required. qBittorrent is already at v5.1.0").

Any tips?

🔄 Steps to reproduce the issue.

Step 1: install qB script
Step 2: update the LXC by command "update"

Paste the full error output (if available).

No update required. qBittorrent is already at v5.1.0

🖼️ Additional context (optional).

No response

Originally created by @Stooovie on GitHub (Jun 14, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? qBittorrent ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/qbittorrent.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Ubuntu 24.10 ### 📝 Provide a clear and concise description of the issue. qBittorrent LXC installed via your script. When I try to update it by running the "update" command, all goes well, script says qB version is 5.1.0, but qB web UI says 4.5.2. Rebooting the LXC and re-running the script didn't help ("No update required. qBittorrent is already at v5.1.0"). Any tips? ### 🔄 Steps to reproduce the issue. Step 1: install qB script Step 2: update the LXC by command "update" ### ❌ Paste the full error output (if available). No update required. qBittorrent is already at v5.1.0 ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 23:03:54 +03:00
Author
Owner

@MickLesk commented on GitHub (Jun 15, 2025):

Its an simple file, so the issue needs to reported in there repo.

@MickLesk commented on GitHub (Jun 15, 2025): Its an simple file, so the issue needs to reported in there repo.
Author
Owner

@nautilus7 commented on GitHub (Jun 15, 2025):

@Stooovie does your lxc come from the tteck area?

@nautilus7 commented on GitHub (Jun 15, 2025): @Stooovie does your lxc come from the tteck area?
Author
Owner

@nautilus7 commented on GitHub (Jun 15, 2025):

@MickLesk what to report to them? The qbitorrent gui displays the proper version...

Image

I also had issues with the update function when updating an older lxc (created with tteck's script).
I manually changed the /usr/bin/update command to point to the update.sh script in your repo, but still the script did not properly moved all config files/directories to the new location, so qbitorrent did not update/work. I had to manually move the config files to make it work.

@nautilus7 commented on GitHub (Jun 15, 2025): @MickLesk what to report to them? The qbitorrent gui displays the proper version... ![Image](https://github.com/user-attachments/assets/0dc088df-16b4-4441-b66a-07c0187741de) I also had issues with the update function when updating an older lxc (created with tteck's script). I manually changed the /usr/bin/update command to point to the update.sh script in your repo, but still the script did not properly moved all config files/directories to the new location, so qbitorrent did not update/work. I had to manually move the config files to make it work.
Author
Owner

@MickLesk commented on GitHub (Jun 15, 2025):

You think the Updated failed but the Version Check is updated? Then Update the txt File in /opt to another Version and Run Update again

@MickLesk commented on GitHub (Jun 15, 2025): You think the Updated failed but the Version Check is updated? Then Update the txt File in /opt to another Version and Run Update again
Author
Owner

@tremor021 commented on GitHub (Jun 15, 2025):

Alright, here's the thing. Old qBittorent LXC was installing from a Debian repo. There the latest stable release was 4.5.2.
The config files were in /.config/qBittorrent directory.

We moved from Debian stable releases to static builds made from releases on qBittorrents github. This made every LXC install to be up to date with official releases.
For qBittorrent 5.x config directory is $HOME/.config

In order for our update script to know if the installed version is older than 5.x, we detect the presence of /opt/qBittorent_version.txt file, which is created only if you are installed fresh after we switched to static builds. Here:

if [[ ! -f /opt/${APP}_version.txt ]]; then
    touch /opt/${APP}_version.txt
    mkdir -p $HOME/.config/qBittorrent/
    mkdir -p /opt/qbittorrent/
    mv /.config/qBittorrent $HOME/.config/
    $STD apt-get remove --purge -y qbittorrent-nox
    sed -i 's@ExecStart=/usr/bin/qbittorrent-nox@ExecStart=/opt/qbittorrent/qbittorrent-nox@g' /etc/systemd/system/qbittorrent-nox.service
    systemctl daemon-reload
  fi

If the .txt file doesn't exist it means you are running v4.x so we are moving the config folder to the v5.x location and remove the old install. Your config should be preserved and working.

@tremor021 commented on GitHub (Jun 15, 2025): Alright, here's the thing. Old qBittorent LXC was installing from a Debian repo. There the latest stable release was 4.5.2. The config files were in `/.config/qBittorrent` directory. We moved from Debian stable releases to static builds made from releases on qBittorrents github. This made every LXC install to be up to date with official releases. For qBittorrent 5.x config directory is `$HOME/.config` In order for our update script to know if the installed version is older than 5.x, we detect the presence of `/opt/qBittorent_version.txt` file, which is created only if you are installed fresh after we switched to static builds. Here: ```bash if [[ ! -f /opt/${APP}_version.txt ]]; then touch /opt/${APP}_version.txt mkdir -p $HOME/.config/qBittorrent/ mkdir -p /opt/qbittorrent/ mv /.config/qBittorrent $HOME/.config/ $STD apt-get remove --purge -y qbittorrent-nox sed -i 's@ExecStart=/usr/bin/qbittorrent-nox@ExecStart=/opt/qbittorrent/qbittorrent-nox@g' /etc/systemd/system/qbittorrent-nox.service systemctl daemon-reload fi ``` If the .txt file doesn't exist it means you are running v4.x so we are moving the config folder to the v5.x location and remove the old install. Your config should be preserved and working.
Author
Owner

@Stooovie commented on GitHub (Jun 15, 2025):

@Stooovie does your lxc come from the tteck area?

It probably does, yes. It's been a while. I'd like to keep the install if at all possible as it contains some custom stuff, VPN config, stuff like that.

@Stooovie commented on GitHub (Jun 15, 2025): > [@Stooovie](https://github.com/Stooovie) does your lxc come from the tteck area? It probably does, yes. It's been a while. I'd like to keep the install if at all possible as it contains some custom stuff, VPN config, stuff like that.
Author
Owner

@Stooovie commented on GitHub (Jun 15, 2025):

qbittorrent_version.txt says 5.1.0, qB UI says 4.5.2

So what's the recommended course of action for me? Thanks for everyone's time :)

@Stooovie commented on GitHub (Jun 15, 2025): qbittorrent_version.txt says 5.1.0, qB UI says 4.5.2 So what's the recommended course of action for me? Thanks for everyone's time :)
Author
Owner

@tremor021 commented on GitHub (Jun 15, 2025):

change text in qbittorrent_version.txt to anything other than 5.1.0 and run:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/qbittorrent.sh)" in LXC shell

@tremor021 commented on GitHub (Jun 15, 2025): change text in qbittorrent_version.txt to anything other than 5.1.0 and run: `bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/qbittorrent.sh)"` in LXC shell
Author
Owner

@Stooovie commented on GitHub (Jun 15, 2025):

I changed /opt/qBittorrent_version.txt to "4.5.2", ran the command, yet issue still persists.

Image

Image

/opt/qBittorrent_version.txt is now "5.1.0" again. And yes, I am accessing the correct qB GUI URL

Image
Image

I thought it might be a Vue issue but no, even with the default WebUI it says 4.5.2

@Stooovie commented on GitHub (Jun 15, 2025): I changed /opt/qBittorrent_version.txt to "4.5.2", ran the command, yet issue still persists. ![Image](https://github.com/user-attachments/assets/125e25d4-6835-4c9d-a29c-f1d3820a41e0) ![Image](https://github.com/user-attachments/assets/df6bb8eb-2718-4f59-a198-2be164552f78) /opt/qBittorrent_version.txt is now "5.1.0" again. And yes, I am accessing the correct qB GUI URL ![Image](https://github.com/user-attachments/assets/0817ae92-ff24-4ebf-acd0-da64c10c0c0d) ![Image](https://github.com/user-attachments/assets/7650c225-fca5-401d-bef2-8d88dd53e8f6) I thought it might be a Vue issue but no, even with the default WebUI it says 4.5.2
Author
Owner

@tremor021 commented on GitHub (Jun 15, 2025):

do /opt/qbittorrent/qbittorrent-nox --version

Also, that WebUI is not from default qBittorrent. what the hell are you using there?

@tremor021 commented on GitHub (Jun 15, 2025): do ` /opt/qbittorrent/qbittorrent-nox --version` Also, that WebUI is not from default qBittorrent. what the hell are you using there?
Author
Owner

@Stooovie commented on GitHub (Jun 15, 2025):

"qBittorrent v5.1.0" 🤷‍♂️

@Stooovie commented on GitHub (Jun 15, 2025): "qBittorrent v5.1.0" 🤷‍♂️
Author
Owner

@CrazyWolf13 commented on GitHub (Jun 15, 2025):

@Stooovie
is there a possibility that you are still running the old qbitorrent on the webui via service, yet the new one is actually installed?
can you paste the output of cat /etc/systemd/system/qbittorrent-nox.service

@CrazyWolf13 commented on GitHub (Jun 15, 2025): @Stooovie is there a possibility that you are still running the old qbitorrent on the webui via service, yet the new one is actually installed? can you paste the output of `cat /etc/systemd/system/qbittorrent-nox.service`
Author
Owner

@tremor021 commented on GitHub (Jun 15, 2025):

W/e it is, its a modified install. That UI is not a default QB UI.

@tremor021 commented on GitHub (Jun 15, 2025): W/e it is, its a modified install. That UI is not a default QB UI.
Author
Owner

@CrazyWolf13 commented on GitHub (Jun 15, 2025):

@tremor021 possibly just a theme, no?
qbittorrent has theme support.

@CrazyWolf13 commented on GitHub (Jun 15, 2025): @tremor021 possibly just a theme, no? qbittorrent has theme support.
Author
Owner

@Stooovie commented on GitHub (Jun 15, 2025):

I added this to my last reply:

"I thought it might be a Vue issue but no, even with the default WebUI it says 4.5.2"

It's just a skin called Vue (good for mobile). Unrelated to the issue. No modifications.

@Stooovie commented on GitHub (Jun 15, 2025): I added this to my last reply: "I thought it might be a Vue issue but no, even with the default WebUI it says 4.5.2" It's just a skin called Vue (good for mobile). Unrelated to the issue. No modifications.
Author
Owner

@CrazyWolf13 commented on GitHub (Jun 15, 2025):

@Stooovie
can you paste the output of cat /etc/systemd/system/qbittorrent-nox.service

@CrazyWolf13 commented on GitHub (Jun 15, 2025): @Stooovie can you paste the output of `cat /etc/systemd/system/qbittorrent-nox.service`
Author
Owner

@tremor021 commented on GitHub (Jun 15, 2025):

Its a almost 2 year old release of a skin thats incorrectly reporting binary version... Get rid of it, or update

@tremor021 commented on GitHub (Jun 15, 2025): Its a almost 2 year old release of a skin thats incorrectly reporting binary version... Get rid of it, or update
Author
Owner

@Stooovie commented on GitHub (Jun 15, 2025):

Default WebUI shows 4.5.2 as well

Image

@Stooovie commented on GitHub (Jun 15, 2025): Default WebUI shows 4.5.2 as well ![Image](https://github.com/user-attachments/assets/db343d72-97b9-4544-8dc5-f093b77c8672)
Author
Owner

@Stooovie commented on GitHub (Jun 15, 2025):

@Stooovie can you paste the output of cat /etc/systemd/system/qbittorrent-nox.service


root@qb:/opt# cat /etc/systemd/system/qbittorrent-nox.service
[Unit]
Description=qBittorrent client
After=network.target
[Service]
ExecStart=/usr/bin/qbittorrent-nox --webui-port=8090
Restart=always
[Install]
WantedBy=multi-user.target

looks like two different versions are installed, right? I swear to god this is a LXC installed by tteck's script, no modifications other than putting Vue skin into /home/root/VueTorrent

@Stooovie commented on GitHub (Jun 15, 2025): > [@Stooovie](https://github.com/Stooovie) can you paste the output of `cat /etc/systemd/system/qbittorrent-nox.service` ``` root@qb:/opt# cat /etc/systemd/system/qbittorrent-nox.service [Unit] Description=qBittorrent client After=network.target [Service] ExecStart=/usr/bin/qbittorrent-nox --webui-port=8090 Restart=always [Install] WantedBy=multi-user.target ``` looks like two different versions are installed, right? I swear to god this is a LXC installed by tteck's script, no modifications other than putting Vue skin into /home/root/VueTorrent
Author
Owner

@tremor021 commented on GitHub (Jun 15, 2025):

Well, thats not right. Change ExecStart line to ExecStart=/opt/qbittorrent/qbittorrent-nox and restart LXC

@tremor021 commented on GitHub (Jun 15, 2025): Well, thats not right. Change ExecStart line to `ExecStart=/opt/qbittorrent/qbittorrent-nox` and restart LXC
Author
Owner

@Stooovie commented on GitHub (Jun 15, 2025):

qB doesn't start (or the webui anyway) after I do that

Image

@Stooovie commented on GitHub (Jun 15, 2025): qB doesn't start (or the webui anyway) after I do that ![Image](https://github.com/user-attachments/assets/a19178ca-1eeb-455b-98ed-953539fa4978)
Author
Owner

@Stooovie commented on GitHub (Jun 15, 2025):

I'll probably just zap the LXC and start over. too bad I didn't document the changes I did (mullvad VPN profile)

@Stooovie commented on GitHub (Jun 15, 2025): I'll probably just zap the LXC and start over. too bad I didn't document the changes I did (mullvad VPN profile)
Author
Owner

@tremor021 commented on GitHub (Jun 15, 2025):

not sure what to look at the log you pasted. not a single one of those lines are related to qbittorrent

@tremor021 commented on GitHub (Jun 15, 2025): not sure what to look at the log you pasted. not a single one of those lines are related to qbittorrent
Author
Owner

@Stooovie commented on GitHub (Jun 15, 2025):

it's just journalctl. I don't want to take any more of your time :) thanks anyway

@Stooovie commented on GitHub (Jun 15, 2025): it's just journalctl. I don't want to take any more of your time :) thanks anyway
Author
Owner

@tremor021 commented on GitHub (Jun 15, 2025):

do ss -tulpn just in case

@tremor021 commented on GitHub (Jun 15, 2025): do `ss -tulpn` just in case
Author
Owner

@Stooovie commented on GitHub (Jun 15, 2025):

root@qb:~# ss -tulpn
Netid   State    Recv-Q   Send-Q                 Local Address:Port       Peer Address:Port   Process                                      
udp     UNCONN   0        0                            0.0.0.0:6771            0.0.0.0:*       users:(("qbittorrent-nox",pid=126,fd=32))   
udp     UNCONN   0        0          10.65.98.82%cz-prg-wg-202:20421           0.0.0.0:*       users:(("qbittorrent-nox",pid=126,fd=29))   
udp     UNCONN   0        0                            0.0.0.0:38790           0.0.0.0:*                                                   
udp     UNCONN   0        0                               [::]:38790              [::]:*                                                   
tcp     LISTEN   0        100                        127.0.0.1:25              0.0.0.0:*       users:(("master",pid=393,fd=13))            
tcp     LISTEN   0        30         10.65.98.82%cz-prg-wg-202:20421           0.0.0.0:*       users:(("qbittorrent-nox",pid=126,fd=28))   
tcp     LISTEN   0        50                                 *:8090                  *:*       users:(("qbittorrent-nox",pid=126,fd=27))   
tcp     LISTEN   0        4096                               *:22                    *:*       users:(("sshd",pid=132,fd=3),("systemd",pid=1,fd=44))
@Stooovie commented on GitHub (Jun 15, 2025): ``` root@qb:~# ss -tulpn Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process udp UNCONN 0 0 0.0.0.0:6771 0.0.0.0:* users:(("qbittorrent-nox",pid=126,fd=32)) udp UNCONN 0 0 10.65.98.82%cz-prg-wg-202:20421 0.0.0.0:* users:(("qbittorrent-nox",pid=126,fd=29)) udp UNCONN 0 0 0.0.0.0:38790 0.0.0.0:* udp UNCONN 0 0 [::]:38790 [::]:* tcp LISTEN 0 100 127.0.0.1:25 0.0.0.0:* users:(("master",pid=393,fd=13)) tcp LISTEN 0 30 10.65.98.82%cz-prg-wg-202:20421 0.0.0.0:* users:(("qbittorrent-nox",pid=126,fd=28)) tcp LISTEN 0 50 *:8090 *:* users:(("qbittorrent-nox",pid=126,fd=27)) tcp LISTEN 0 4096 *:22 *:* users:(("sshd",pid=132,fd=3),("systemd",pid=1,fd=44)) ```
Author
Owner

@MickLesk commented on GitHub (Jun 15, 2025):

Maybe simple Export your Settings build an new LXC with current Script and import. Its faster then all other

@MickLesk commented on GitHub (Jun 15, 2025): Maybe simple Export your Settings build an new LXC with current Script and import. Its faster then all other
Author
Owner

@tremor021 commented on GitHub (Jun 15, 2025):

its working

root@qb:~# ss -tulpn
Netid   State    Recv-Q   Send-Q                 Local Address:Port       Peer Address:Port   Process                                      
udp     UNCONN   0        0                            0.0.0.0:6771            0.0.0.0:*       users:(("qbittorrent-nox",pid=126,fd=32))   
udp     UNCONN   0        0          10.65.98.82%cz-prg-wg-202:20421           0.0.0.0:*       users:(("qbittorrent-nox",pid=126,fd=29))   
udp     UNCONN   0        0                            0.0.0.0:38790           0.0.0.0:*                                                   
udp     UNCONN   0        0                               [::]:38790              [::]:*                                                   
tcp     LISTEN   0        100                        127.0.0.1:25              0.0.0.0:*       users:(("master",pid=393,fd=13))            
tcp     LISTEN   0        30         10.65.98.82%cz-prg-wg-202:20421           0.0.0.0:*       users:(("qbittorrent-nox",pid=126,fd=28))   
tcp     LISTEN   0        50                                 *:8090                  *:*       users:(("qbittorrent-nox",pid=126,fd=27))   
tcp     LISTEN   0        4096                               *:22                    *:*       users:(("sshd",pid=132,fd=3),("systemd",pid=1,fd=44))

it shows qbittorrent as working. try openning the webui. you also have connections to it

@tremor021 commented on GitHub (Jun 15, 2025): its working > ``` > root@qb:~# ss -tulpn > Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process > udp UNCONN 0 0 0.0.0.0:6771 0.0.0.0:* users:(("qbittorrent-nox",pid=126,fd=32)) > udp UNCONN 0 0 10.65.98.82%cz-prg-wg-202:20421 0.0.0.0:* users:(("qbittorrent-nox",pid=126,fd=29)) > udp UNCONN 0 0 0.0.0.0:38790 0.0.0.0:* > udp UNCONN 0 0 [::]:38790 [::]:* > tcp LISTEN 0 100 127.0.0.1:25 0.0.0.0:* users:(("master",pid=393,fd=13)) > tcp LISTEN 0 30 10.65.98.82%cz-prg-wg-202:20421 0.0.0.0:* users:(("qbittorrent-nox",pid=126,fd=28)) > tcp LISTEN 0 50 *:8090 *:* users:(("qbittorrent-nox",pid=126,fd=27)) > tcp LISTEN 0 4096 *:22 *:* users:(("sshd",pid=132,fd=3),("systemd",pid=1,fd=44)) > ``` it shows qbittorrent as working. try openning the webui. you also have connections to it
Author
Owner

@Stooovie commented on GitHub (Jun 15, 2025):

Maybe simple Export your Settings build an new LXC with current Script and import. Its faster then all other

right! good idea, thanks

@Stooovie commented on GitHub (Jun 15, 2025): > Maybe simple Export your Settings build an new LXC with current Script and import. Its faster then all other right! good idea, thanks
Author
Owner

@nicoska84 commented on GitHub (Aug 11, 2025):

Maybe simple Export your Settings build an new LXC with current Script and import. Its faster then all other

right! good idea, thanks

I'm getting the same issue here. How did you export your settings?

@nicoska84 commented on GitHub (Aug 11, 2025): > > Maybe simple Export your Settings build an new LXC with current Script and import. Its faster then all other > > right! good idea, thanks I'm getting the same issue here. How did you export your settings?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1099