NZBGet install issue #783

Closed
opened 2025-11-20 04:53:57 -05:00 by saavagebueno · 3 comments
Owner

Originally created by @kolbycheesey on GitHub (Mar 24, 2025).

Have you read and understood the above guidelines?

Yes

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

nzbget-install.sh

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

actually line by line copy and paste to make sure

📝 Provide a clear and concise description of the issue.

The website used doesn't seem to work out of the box anymore, simple fix to wget the source from NZBGet directly.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

Try to install nzbget from lines 17 to 35 in the terminal line by line to check and make sure it works.

Paste the full error output (if available).

There was no error output it just didn't have a webui

🖼️ Additional context (optional).

This code should work


# Copyright (c) 2021-2025 tteck
# Author: tteck
# Co-Author: havardthom
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://nzbget.com/

source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os

msg_info "Installing Dependencies"
$STD apt-get install -y gpg
$STD apt-get install -y par2

cat <<EOF >/etc/apt/sources.list.d/non-free.list
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
EOF
$STD apt-get update
$STD apt-get install -y unrar
rm /etc/apt/sources.list.d/non-free.list
msg_ok "Installed Dependencies"

msg_info "Installing NZBGet"
mkdir -p /etc/apt/keyrings
wget https://nzbget.net/download/nzbget-latest-bin-linux.run
sh nzbget-latest-bin-linux.run --destdir /opt/nzbget
msg_ok "Installed NZBGet"

msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/nzbget.service
[Unit]
Description=NZBGet Daemon
Documentation=http://nzbget.net/Documentation
After=network.target
[Service]
Type=forking
ExecStart=/opt/nzbget/nzbget -D
ExecStop=/opt/nzbget/nzbget -Q
ExecReload=/opt/nzbget/nzbget -O
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now nzbget
msg_ok "Created Service"

motd_ssh
customize

msg_info "Cleaning up"
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"`
Originally created by @kolbycheesey on GitHub (Mar 24, 2025). ### ✅ Have you read and understood the above guidelines? Yes ### 📜 What is the name of the script you are using? nzbget-install.sh ### 📂 What was the exact command used to execute the script? actually line by line copy and paste to make sure ### 📝 Provide a clear and concise description of the issue. The website used doesn't seem to work out of the box anymore, simple fix to `wget` the source from NZBGet directly. ### ⚙️ What settings are you using? - [ ] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. Try to install nzbget from lines 17 to 35 in the terminal line by line to check and make sure it works. ### ❌ Paste the full error output (if available). There was no error output it just didn't have a webui ### 🖼️ Additional context (optional). This code should work ```#!/usr/bin/env bash # Copyright (c) 2021-2025 tteck # Author: tteck # Co-Author: havardthom # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://nzbget.com/ source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color verb_ip6 catch_errors setting_up_container network_check update_os msg_info "Installing Dependencies" $STD apt-get install -y gpg $STD apt-get install -y par2 cat <<EOF >/etc/apt/sources.list.d/non-free.list deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware EOF $STD apt-get update $STD apt-get install -y unrar rm /etc/apt/sources.list.d/non-free.list msg_ok "Installed Dependencies" msg_info "Installing NZBGet" mkdir -p /etc/apt/keyrings wget https://nzbget.net/download/nzbget-latest-bin-linux.run sh nzbget-latest-bin-linux.run --destdir /opt/nzbget msg_ok "Installed NZBGet" msg_info "Creating Service" cat <<EOF >/etc/systemd/system/nzbget.service [Unit] Description=NZBGet Daemon Documentation=http://nzbget.net/Documentation After=network.target [Service] Type=forking ExecStart=/opt/nzbget/nzbget -D ExecStop=/opt/nzbget/nzbget -Q ExecReload=/opt/nzbget/nzbget -O KillMode=process Restart=on-failure [Install] WantedBy=multi-user.target EOF systemctl enable -q --now nzbget msg_ok "Created Service" motd_ssh customize msg_info "Cleaning up" $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned"`
saavagebueno added the bug label 2025-11-20 04:53:57 -05:00
Author
Owner

@tremor021 commented on GitHub (Mar 24, 2025):

Image

Image

Sorry, can't reproduce the issue. Script works fine.

Run in verbose mode and give the output

@tremor021 commented on GitHub (Mar 24, 2025): ![Image](https://github.com/user-attachments/assets/b64d19ab-e073-4742-8445-615ae7bbb437) ![Image](https://github.com/user-attachments/assets/8861c1bc-d01a-4011-ba43-ce547dcee673) Sorry, can't reproduce the issue. Script works fine. Run in verbose mode and give the output
Author
Owner

@MickLesk commented on GitHub (Mar 24, 2025):

For me too.

@MickLesk commented on GitHub (Mar 24, 2025): For me too.
Author
Owner

@kolbycheesey commented on GitHub (Mar 24, 2025):

Hmmm seems to work for me, I'm sure I missed something in the install thank you for the incredibly quick response @tremor021 @MickLesk

@kolbycheesey commented on GitHub (Mar 24, 2025): Hmmm seems to work for me, I'm sure I missed something in the install thank you for the incredibly quick response @tremor021 @MickLesk
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#783