mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-04 12:45:51 -06:00
qBittorrent #106
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tremor021 on GitHub.
Originally assigned to: @tremor021 on GitHub.
Name of the Script
qBittorrent
📋 Scritpt Details
Please make a backup of existing LXC !!!
This is a test script to migrate from Debian stable qBittorrent-nox releases to staticaly built binaries from source. Debian people take way too long to include new releases into official repo, so we're decided to switch away from it.
Changes to original update script are:
/opt/qBittorrent_version.txtis missing, we create it to make future updates possible and compatible/.config/qBittorrentdirectory to$HOME/.config/qBittorrentso your configuration is preserved/opt/qbittorrent/qbittorrent-noxbinaryThis should be enough for painless migration to the static binary build updating mechanism,
Link to test script:
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/ct/qbittorrent.sh)"@oOStroudyOo commented on GitHub:
Is this not to be used as a new LXC?
Because I've just tried this a new LXC and a couple things I've noticed:
@github-actions[bot] commented on GitHub:
The qbittorrent script is ready for testing:
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/ct/qbittorrent.sh)"Note: This is not in the official repo yet—it's just a dev version! After merging into ProxmoxVE, it will need to be recreated.
@oOStroudyOo commented on GitHub:
I also tried a fresh install of qBittorent from the prod branch (v4.5.2) using default settings.
Then using this commend to run the update produces an error:
@tremor021 commented on GitHub:
Oops, typo there. Try again in couple of minutes @oOStroudyOo
@tremor021 commented on GitHub:
No, this is a update script. Its not a install script.
@oOStroudyOo commented on GitHub:
Ahh maybe not. Same error on a fresh install:
@oOStroudyOo commented on GitHub:
Will try this with a fresh install again in case the previous update script broke anything.
@oOStroudyOo commented on GitHub:
I'm no programmer but isn't the " in the wrong place?
wget -q "https://github.com/userdocs/qbittorrent-nox-static/releases/download/${FULLRELEASE}/x86_64-qbittorrent-nox -O /opt/qbittorrent/qbittorrent-nox"Should be?
wget -q "https://github.com/userdocs/qbittorrent-nox-static/releases/download/${FULLRELEASE}/x86_64-qbittorrent-nox" -O /opt/qbittorrent/qbittorrent-nox@tremor021 commented on GitHub:
Yea, mighty Copilot at it again. Try now
@oOStroudyOo commented on GitHub:
Still same with a fresh install.
@wii747 commented on GitHub:
I have installed the prod qbt then run this update script and its failed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libdouble-conversion3 libpcre2-16-0 libqt5core5a libqt5dbus5 libqt5network5 libqt5sql5 libqt5sql5-sqlite libqt5xml5
libtorrent-rasterbar2.0 qttranslations5-l10n
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
qbittorrent-nox*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 9,699 kB disk space will be freed.
(Reading database ... 20483 files and directories currently installed.)
Removing qbittorrent-nox (4.5.2-3+deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
✔️ Stopped Service
⠙ Updating qBittorrent to v5.0.4curl: (3) URL using bad/illegal format or missing URL
curl: option -: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
[ERROR] in line 48: exit code 0 ( ): while executing command curl -fsSL "https://github.com/userdocs/qbittorrent-nox-static/releases/download/${FULLRELEASE}/x86_64-qbittorrent-nox" -O /opt/qbittorrent/qbittorrent-nox
@tremor021 commented on GitHub:
Sorry, i was really half-assing these updates. My kids are constantly getting me to get up from my laptop.
Should be fixed now, try please
@oOStroudyOo commented on GitHub:
Tried with another fresh install, seems to work.
I've not thoroughly tested it though, my current qBittorrent runs via Docker because it was easier to keep up to date, worked better with the VPN port forwarding, and I use add-on applications such as qBit_Manage.
This will need somebody to do a live bare metal test with real data I guess to see if there's any issues.
@oOStroudyOo commented on GitHub:
The script currently is to migrate existing qbittorrent LXCs to a new repository.
@VladTheImpaller commented on GitHub:
Attempted new install and got following error:
✔️ Installed Dependencies
⠹bash: line 25: RELEASE: unbound variable
⠸
[ERROR] in line 25: exit code 0: while executing command RELEASE=$(echo $RELEASE | cut -c 9-13)
@wii747 commented on GitHub:
@tremor021 the upgrade script now worked
@tremor021 commented on GitHub:
Yea, we transitioned from using wget to using curl to fetch files. Can you try again please? @wii747
@tremor021 commented on GitHub:
Awesome, gonna make it on main repo a bit later today