Process: 850 ExecStart=/etc/init.d/sabnzbdplus start (code=exited, status=203/EXEC)įeb 11 21:34:12 NAS systemd: Failed at step EXEC spawning /etc/init.d/sabnzbdplus: Exec format errorįeb 11 21:34:12 NAS systemd: rvice: control process exited, code=exited status=203įeb 11 21:34:12 NAS systemd: Failed to start LSB: Starts Sabnzbd.įeb 11 21:34:12 NAS systemd: Unit rvice entered failed state. rvice - LSB: Starts SabnzbdĪctive: failed (Result: exit-code) since Sat 21:34:12 GMT 11min ago.Sabnzbdplus runs from it's python source in a folder in my users home folder, and plexmediaserver is from the unofficial source listed in their forums.ĭoes anyone know where I can start looking for the issue?Īfter running the enable service commands, plexmediaserver is now working on startup but sabnzbplus isn't, here is the output from the stauts command. They can both be started by running their files in /etc/init.d/ Since upgrading, sabznbdplus & plexmediaserver are no longer starting on startup. We’re using the terminal text-editor nano for this: nano apps.I followed this guide to upgrade to Debian Jessie. This will contain all mappings to your applications. In this folder we’re going to create a.Go to the folder containing the Nginx configuration files: cd /etc/nginx/openmediavault-webgui.d/.Open a terminal and connect to your NAS using SSH.With a Reverse Proxy we’re going to tell Nginx to send all traffic pointing to ‘ /sabnzbd‘ to the port you configured. This is the (sort of) difficult part and there are multiple ways to approach this. Setting up a Nginx Reverse Proxy for SABnzbd in OpenMediaVault That’s it! You’re SABnzbd is now configured to use your Let’s Encrypt SSL-certificate. In the ‘ HTTPS Key‘ field enter the path to the server.ket file ( /var/opt/sabnzbd/server.key).In the ‘ HTTPS Certificate‘ field enter the path to the server.cert-file (if you stuck to my earlier example, it should be /var/opt/sabnzbd/server.cert).Click on the ‘ General‘-tab and click ‘ Advanced‘ to show advanced settings.In the SABnzbd Web Interface, go to settings by pressing the crowbar in the top-right corner.To execute this command periodically, add it to OMV’s crontab: So I came up with the solution of periodically copying the needed pem-files to sabnzbd’s install-folder and changing the owner of these files to sabnzbd:users The command is as follows:Ĭp /etc/letsencrypt/live//cert.pem /var/opt/sabnzbd/server.cert cp /etc/letsencrypt//privkey.pem /var/opt/sabnzbd/server.key chown sabnzbd:users /var/opt/sabnzbd/server.* -vvvĭon’t forget to replace with your server’s Web Address! The ability of symlinking to these files would be nice, but then we would need to either give the user sabnzbd root priviliges or change the owner of Let’s Encrypt’s. These files belong to the root user and this should stay that way. Where ‘ ‘ is the Web Address you configured for your NAS. If you’re not into how-to’s or you’re not a stranger to Nginx and Terminals, I included the complete configuration file on this page.
0 Comments
Leave a Reply. |