SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.02k stars 1.23k forks source link

Synology DS118 (Realtek RTD1296 SoC) Sabnzbd 3.3.1-49 on DSM 7.0-41890 Install #4846

Open SPT212 opened 3 years ago

SPT212 commented 3 years ago

Setup

Package Name: Sabnzbd 3.3.1-49 Package Version: Sabnzbd 3.3.1-49

NAS Model: Synology DS118 NAS Architecture: Realtek RTD1296 SoC DSM version: DSM 7.0-41890

Expected behavior

Connect to port 8080 or preferably 8888 via SSL if setup correctly.

Actual behavior

Fails to connect to port 8080. All permissions set to read/write, port forwarding setup, and firewall permissions granted. Had no issues prior to DSM 7 upgrade.

Steps to reproduce

1. Try to connect to 10.92.0.158:8080 or XYZDomain.com:8080 2. 3.

Process Log Screenshot Sabnzbd Log File Request Screenshot

SABNZBD Installation Log.pdf

publicarray commented 3 years ago

From the error, the config file is missing. Not sure how that happened. sed: can't read /volume1/@appdata/sabnzbd/config.ini: No such file or directory. Anyway there are 2 ways to fix it. Manually create the file or uninstall the package completely and reinstall.

Here is an example of the file contents: https://github.com/SynoCommunity/spksrc/blob/master/spk/sabnzbd/src/config.ini make sure to replace @shared_folder@ (default is /volume1/downloads) and @script_dir@ (default is /var/packages/sabnzbd/var/scripts)

SPT212 commented 3 years ago

Thanks for the response. I have tried doing a complete uninstall/reinstall. Always deleting the shared folder in between and even trying different shares in existing shared folders. Also, here is a finder screenshot of the @appstore folder. It has an existing config.ini file. Happy to try/provide any additional information.

Appstore Finder Screenshot
publicarray commented 3 years ago

Thanks,

What do the red lines over the config.ini icon indicate in the screenshot?

After an uninstall the volume1/@appdata/sabnzbd/ folder should be gone ("Delete everything" option in the uninstall wizard). Can you confirm this? If not after an uninstall, just remove everything manually in that folder. If you want, you can make a backup of the config file first. volume1/@appdata/sabnzbd/ will be recreated on installation. You don't need to do anything with shared folders.

SPT212 commented 3 years ago

Those parallel lines are just an icon associated with Parallels Desktop indicating that the file would be open with Notepad in Windows 10. Just redid uninstall and verified that the entire Sabnzbd directory was erased. Restarted drive for good measure. Reinstalled and still having the same issue. As an aside, here is the open config.ini file that I updated as per your instructions, but still fail to connect. Screenshots below for reference.

Screen Capture 2021-09-08 at 1 06 06 AM Screen Capture 2021-09-08 at 1 04 10 AM
BenjV commented 3 years ago

When you changed the config.ini did you maybe changed the user and/or permissions of that file? Most editors will do that so you have to correct that afterwards

By the way this is how the config.ini should look like.

__version__ = 19
[misc]
permissions = 
auto_browser = 0
host = 0.0.0.0
port = 8080
nice = -n15
ionice = -c2 -n4
download_dir = /volume1/SabNzbd/incomplete
complete_dir = /volume1/SabNzbd/complete
dirscan_dir = /volume1/SabNzbd/watch
script_dir = /volume1/@appdata/sabnzbd/scripts
SPT212 commented 3 years ago

Just redid complete uninstall/erase of both SABnzbd and Python 3.8. Reinstalled and still failed to connect. Afterward updated config.ini file as per above and verified file permissions. It still fails to connect. Any and all suggestions are greatly appreciated and can provide any logs as necessarry.

BenjV commented 3 years ago

Try to start it from the commanline with this command.

sudo synopkg start sabnzbd

Maybe that will give a clue

SPT212 commented 3 years ago

The connection is still unsuccessful, but attached a screenshot of the terminal response for reference. Thank you

Screen Capture 2021-09-08 at 3 23 06 PM
SPT212 commented 3 years ago

Any other possible suggestions of possible solutions would be greatly appreciated. Alternatively, is there a straightforward way to downgrade back to DSM 6?

SPT212 commented 2 years ago

Any progress on this issue? Whatever help would be greatly appreciated

hgy59 commented 2 years ago

@SPT212 my NAS with rtd1296 cpu is still on DSM 6.2. current sabnzbd is version 3.4.2-50. It runs successfully on my DS-918+ with DSM 7.0.1. Looking at your terminal output of sudo synopkg start sabnzbd it looks as it started sucessfully ("success":true).

Please check the following:

hgy59 commented 1 year ago

@SPT212 is this issue still open? probably it works with the latest package version?