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

Unable to start NzbGet using NAS Diskstation DS413 running DSM 6.x #467

Open
1 task done
ccwillia opened this issue Dec 13, 2024 · 16 comments
Open
1 task done

Unable to start NzbGet using NAS Diskstation DS413 running DSM 6.x #467

ccwillia opened this issue Dec 13, 2024 · 16 comments
Assignees
Labels
bug Something isn't working

Comments

@ccwillia
Copy link

ccwillia commented Dec 13, 2024

Is there already an issue for your problem?

  • I have checked older issues, open and closed

NZBGet Version

v24.5-stable

Platform

NAS/Synology/QNAP

Environment

NAS Diskstation DS413 running DSM 6.x

Current Behavior

Upgraded from 24.1 to 24.5 which will not start. Logs mention lscpu not found and unable to determine cpu. I have tried to uninstall and reinstall but Nzbget will not run****

Expected Behavior

Nzbget would run after upgrade to 24.5

Steps To Reproduce

Use DSM community to install nzbGet
NzbGet never starts

Logs

Starting nzbget command /volume1/@appstore/nzbget/bin/nzbget -c /volume1/@appstore/nzbget/var/nzbget.conf -o WebDir=/volume1/@appstore/nzbget/bin/webui -o LockFile=/volume1/@appstore/nzbget/var/nzbget.pid -D
sh: lscpu: command not found
Thu Dec 12 22:43:38 2024 DETAIL Failed to get CPU model from '/proc/cpuinfo'
Thu Dec 12 22:43:38 2024 DETAIL Failed to get CPU model from 'lscpu'
Thu Dec 12 22:43:38 2024 INFO nzbget 24.5 daemon-mode
Thu Dec 12 22:43:38 2024 INFO using /volume1/@appstore/nzbget/var/nzbget.conf
Thu Dec 12 22:43:38 2024 INFO nzbget runs on 0.0.0.0:6789

Extra information

No response

@ccwillia ccwillia added the bug Something isn't working label Dec 13, 2024
@dnzbk dnzbk self-assigned this Dec 13, 2024
@ccwillia
Copy link
Author

Is it possible to move back to the 24.1 version until the issue is fixed? I wasn't able to find a noarch 24.1 version to install manually. Thanks in advance!

@dnzbk
Copy link
Collaborator

dnzbk commented Dec 13, 2024

Yes, you can find and download previous versions here.

What’s the processor model in your Synology?

@ccwillia
Copy link
Author

ccwillia commented Dec 13, 2024

I tried some of the those versions. The Diskstation manual install only seems to accept SPK files which are only available under 24.1 and below. I don't see a noarch SPK file under 24.1 or one that matches my Diskstation architecture. Per this reference my DS413 has the Freescale P1022 CPU with package architecture Qoriq. I tried manually insalling this noarch SPK nzbget.v30.f15047[noarch].spk but it will not start similar to when i install through DSM Community directly. I assume that is version 24.5?

@phnzb
Copy link
Collaborator

phnzb commented Dec 13, 2024

@ccwillia Through the SynoCommunity package you can only install the latest testing / latest stable version, unfortunately downgrading is not supported.
The old version of SPKs doesn't support DSM6, so that's not possible either.
You have 2 options:

  1. Make sure SSH service is enabled (Control Panel - Terminal & SNMP - Enable SSH service)
  2. Make sure User home service is enabled (Control Panel - User - Advanced - Enable user home service)
  3. Install nzbget via Package Center (latest stable version)
  4. Stop nzbget service via Package Center.
  5. Find the link to the version of the linux installer you want to downgrade to (in example I will use 24.1 - https://github.com/nzbgetcom/nzbget/releases/download/v24.1/nzbget-24.1-bin-linux.run)
  6. Login to NAS via SSH
  7. Run from terminal (use link from p.5, for sudo prompt use yours user password):
curl -LO https://github.com/nzbgetcom/nzbget/releases/download/v24.1/nzbget-24.1-bin-linux.run
sh nzbget-24.1-bin-linux.run
sudo cp nzbget/nzbget /volume1/@appstore/nzbget/bin/nzbget
sudo cp nzbget/7za /volume1/@appstore/nzbget/bin/7za
sudo cp nzbget/unrar /volume1/@appstore/nzbget/bin/unrar
sudo cp -r nzbget/webui /volume1/@appstore/nzbget/bin
sudo chown sc-nzbget:sc-download /volume1/@appstore/nzbget/bin/*
rm -rf ./nzbget
rm nzbget-24.1-bin-linux.run
  1. Start nzbget via Package Center and do not upgrade it via internal updater

@ccwillia
Copy link
Author

I am able to install and run the old nzbget.net version 21.1. I will try updating again through DSM then run the steps you provided below to move back to 24.1 which was working prior to clicking the internal updater. Hopefully this issue in 24.5 or future release can be fixed so i can keep current with the releases

@ccwillia
Copy link
Author

Thanks for the steps above i was able to move back to 24.1 which runs successfully. Let me know if any additional information is need to address the bug or if there is a future fix you would like me to test

@dnzbk
Copy link
Collaborator

dnzbk commented Dec 27, 2024

@ccwillia Happy holidays!
I made a test build for you.
Could you test it if it runs properly on your Synology?

nzbget-ppc500-testing.tar.gz

Just extract it and launch:
$ nzbget -s

Thank you.

@ccwillia
Copy link
Author

ccwillia commented Jan 2, 2025 via email

@ccwillia
Copy link
Author

ccwillia commented Jan 2, 2025

When trying to run i get the following error. I did stop the nzbget client through the DSM interface before trying to run the test executable provided.

ERROR Binding socket failed for 0.0.0.0: Error 38 - Function not implemented

@dnzbk
Copy link
Collaborator

dnzbk commented Jan 2, 2025

Could you please provide the output of uname -a and the nzbget.log file?
Please the logs for any personal info before sharing.
I built the app targeting Linux kernel 3.2.40. It is possible that your Linux version is even older.

@ccwillia
Copy link
Author

ccwillia commented Jan 2, 2025

Here is the output from uname -a

Linux DiskStation 2.6.32.12 #25556 SMP Fri Aug 16 14:56:56 CST 2024 ppc GNU/Linux synology_qoriq_413

I do not see a nzbget.log file in the nzbget-ppc500-testing directory where i ran ./nzbget -s

@dnzbk
Copy link
Collaborator

dnzbk commented Jan 3, 2025

2.6.32.12 - this is a very old version of the kernel. Is this the latest version of DSM available for your system?
I’ll try to build the app for that version.

@ccwillia
Copy link
Author

ccwillia commented Jan 3, 2025

Yep, i am on version DSM 6.2.4-25556 Update 8 with no option to update any further

@ccwillia
Copy link
Author

ccwillia commented Jan 3, 2025

I checked with my brother who also runs an older Diskstation. His Diskstation is running a similar version but has a different architecture and NzbGet 24.5 runs fine on his. So it appears to be related to the architecture

Linux DiskStation 2.6.32.12 #25556 Thu Jul 1 14:25:48 CST 2021 armv5tel GNU/Linux synology_88f6281_211j

@dnzbk
Copy link
Collaborator

dnzbk commented Jan 4, 2025

We use the uClibc library for PowerPC x32 and musl for other architectures. This is because musl does not support PowerPC x32. As a result, we may observe differences in behavior.
Anyway, I managed to build the app for your Linux version and arch:
nzbget-ppc500-testing_2.tar.gz
Please test it out, thank you.

@ccwillia
Copy link
Author

ccwillia commented Jan 5, 2025

This version works. For now i have replaced the files in my bin folder with the files from the supplied tar.gz

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