Open Mukrosz opened 2 months ago
Just did some testing on Ubuntu - looks to be working fine. @dnzbk please review.
Did you install NZBGet using the installer or did you build and install it manually?
For now, you can get install-update.sh and put it into /usr/bin/
to fix the issue.
Thank you for your time @luckedea @dnzbk.
Initially I tried using https://nzbget.com/download/nzbget-latest-bin-linux.run
but that did not work (cannot remember the details) so I had to pull the .deb package from github:
wget https://github.com/nzbgetcom/nzbget/releases/download/v24.1/nzbget-24.1-amd64.deb
dpkg -i nzbget-24.1-amd64.deb
I placed the install-update.sh
in /usr/bin
and now when trying to update in the WebGUI, I get:
Executing update-script /usr/bin/install-update.sh
File "installer.cfg" is missing in the installation directory. Please reinstall NZBGet.
The only nzbget relevant directories I see are:
/var/lib/nzbget/
/usr/share/nzbget/
Based on the contents of the .sh file, it failed to establish the INSTALLERCFG
variable:
INSTALLERCFG=`cat "$NZBOP_APPDIR/installer.cfg" 2>/dev/null` if test "$INSTALLERCFG" = ""; then echo "[ERROR] File \"installer.cfg\" is missing in the installation directory. Please reinstall NZBGet." exit 1 fi
I see. This needs to be fixed for sure. Thank you for the report.
Is there already an issue for your problem?
NZBGet Version
v24.2-stable
Platform
Linux/Docker
Environment
Current Behavior
In the GUI I am offered to update from 24.1 to 24.2. Attempting to do so results in:
I checked the server and see no such file (
install-update.sh
) anywhere. Any pointers?Expected Behavior
Expectation of a smooth 24.1 to 24.2 update via GUI
Steps To Reproduce
In Webgui > Settings > System > Update NZBGet > Check for Updates > Install 24.2
Logs
No relevant logs in /var/log/syslog
Extra information
No response