theotherp / nzbhydra2

Usenet meta search
Other
1.23k stars 75 forks source link

Update linux service instructions #962

Open koaxe opened 1 month ago

koaxe commented 1 month ago

The instructions in the wiki for Linux are severely out of date, while I was able to get it working, but it gave me quite some trouble for following them to a T.

The main section that was the issue was the following:

Copy nzbhydra2 to /opt:

cd ~/Downloads/nzbhydra2-3.9.0-linux
sudo mkdir -p /opt/nzbhydra2
sudo cp nzbhydra2* LICENSE changelog.md readme.md /opt/nzbhydra2

I would change them to be:

Download and extract zip, then nzbhydra2 to /opt:

cd ~
wget https://github.com/theotherp/nzbhydra2/releases/download/v7.3.0/nzbhydra2-7.3.0-amd64-linux.zip (or latest version)
unzip nzbhydra2-7.3.0-amd64-linux.zip -d nzbhydra2
sudo mkdir -p /opt/nzbhydra2
sudo cp -r nzbhydra2/* /opt/nzbhydra2

I confirmed this to work on Ubuntu 22.04.4 LTS with version 7.3.0 of NZBHydra2

This would at least point users in the right direction of how to obtain the latest release .zip and how to unzip it instead of making it a listed assumption at the top. It also alleviates the issue I had where I only copied the files originally listed and it kept throwing errors when trying to launch the service of "Unable to determine the release type. Neither lib folder nor core(.exe) found". Up to you what all you want to update in the instructions but the cp at least needs updated. Thanks!!

theotherp commented 1 month ago

Thanks for the report.

It's a wiki after all, so feel free to update it.

Edit: So, apparently giving access to wikis is more involved that I thought. I'll update it.