Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure during update to 24.2 from 24.1 #372

Open
1 task done
Mukrosz opened this issue Aug 30, 2024 · 4 comments
Open
1 task done

Failure during update to 24.2 from 24.1 #372

Mukrosz opened this issue Aug 30, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Mukrosz
Copy link

Mukrosz commented Aug 30, 2024

Is there already an issue for your problem?

  • I have checked older issues, open and closed

NZBGet Version

v24.2-stable

Platform

Linux/Docker

Environment

Device: Virtual VM
OS version: Ubuntu 22.04.4 64bit
Includes libs or tool that apply: NA
Running in Docker: No

Current Behavior

In the GUI I am offered to update from 24.1 to 24.2. Attempting to do so results in:

Executing update-script /usr/bin/install-update.sh
bash: /usr/bin/install-update.sh: No such file or directory

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

@Mukrosz Mukrosz added the bug Something isn't working label Aug 30, 2024
@luckedea
Copy link
Member

Just did some testing on Ubuntu - looks to be working fine. @dnzbk please review.

@dnzbk
Copy link
Collaborator

dnzbk commented Aug 30, 2024

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.

@Mukrosz
Copy link
Author

Mukrosz commented Aug 30, 2024

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

@dnzbk
Copy link
Collaborator

dnzbk commented Aug 31, 2024

I see. This needs to be fixed for sure.
Thank you for the report.

@dnzbk dnzbk self-assigned this Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants