pastebin . com / 7BBcHkyP
A question regarding installing from source
EDIT by sander, copied from https://pastebin.com/raw/7BBcHkyP
Hello
I’ve run into a roadblock trying to install Sabnzbd on my system.
I’m running Core 13.0-U6.1 and currently have Sabnzbd package version 4.2.2. I am trying a new install of version 4.3.2. I know there is no package or port for that version yet, so I’m trying to install from source, both to get the new version and as a teaching experience. As an aside, it looks like the 4.2.2 package is no longer available. In fact, there are no sabnzbd packages at all available from what I can see.
I’ve gone through the git hub notes and other sources I can find online and installed what I believe are all the dependencies. I created the rc.c file (actually copied from my current install) and set all the directories.
When I try to start sab, either using service sabnzbd start, or running SABnzbd.py from the command line, I get the following error:
Starting sabnzbd.
Traceback (most recent call last):
File “/usr/local/bin/SABnzbd.py”, line 63, in
import sabnzbd
ModuleNotFoundError: No module named ‘sabnzbd’
/usr/local/etc/rc.d/sabnzbd: WARNING: failed to start sabnzbd
From the error message, I assume it can’t find module “sabnzbd”, but I don’t know what that module is. I’ve done a search through my existing 4.2.2 installation and can’t find anything that looks like that, and searching online hasn’t returned any helpful information.
Has anyone here ever installed sabnzbd from source, or does anyone have any idea what this is?
thanks
Installing from source on Truenas Core
Re: Installing from source on Truenas Core
how can /usr/local/etc/rc.d/sabnzbd be involved? Do you try to start as a service? Why not plain run /usr/local/bin/SABnzbd.py ?
And: can Truenas Core run docker images? If so, that might be easier
or: snap, or flatpak?
And: can Truenas Core run docker images? If so, that might be easier
or: snap, or flatpak?
Re: Installing from source on Truenas Core
pastebin . com / 90iBnmr5
Re: Installing from source on Truenas Core
post your text here, please.
Re: Installing from source on Truenas Core
Thanks for copying from pastebin!
Yes, on truenas I start things as a service. However, I get the same result when running /usr/local/bin/SABnzbd.py directly
Truenas Core doesn't support docker as it's freebsd based. Truenas Scale, which is Debian based, does support docker type installs. I'm not ready to move to that yet, but that day will come.
Yes, on truenas I start things as a service. However, I get the same result when running /usr/local/bin/SABnzbd.py directly
Truenas Core doesn't support docker as it's freebsd based. Truenas Scale, which is Debian based, does support docker type installs. I'm not ready to move to that yet, but that day will come.
Re: Installing from source on Truenas Core
Did you see https://www.theregister.com/2024/03/18/ ... s_freebsd/ with title:
TrueNAS CORE 13 is the end of the FreeBSD version
Debian-based TrueNAS SCALE is the future primary focus
Anyway: go into the directory where you unpacked sabnzbd. It should contain SABnzbd.py , COPYRIGHT.txt but also dirs like sabnzbd/
From there, run "./SABnzbd.py". Does that work?
TrueNAS CORE 13 is the end of the FreeBSD version
Debian-based TrueNAS SCALE is the future primary focus
Anyway: go into the directory where you unpacked sabnzbd. It should contain SABnzbd.py , COPYRIGHT.txt but also dirs like sabnzbd/
From there, run "./SABnzbd.py". Does that work?
Re: Installing from source on Truenas Core
Yes, I'm aware that Core will no longer be actively developed. That's why I mentioned that at some point I would have to move to Scale. However, the article is wrong in a few places. IX have stated that they will continue to support Core with but fixes and maintenance releases for some time. They just won't actively look at enhancements. The newest version is out in beta mode, and should be in general release in the next month or so.
as for your suggestion, I had unpacked the git repostitory into /usr/local/share/sabnzbd. If I try ./SABnzbd.py from there, I get "Command not found". If I try
./ SABnzbd.py, I get permission denied. If I try just SABnzbd.py, I get the same results as I was getting previously.
Traceback (most recent call last):
File "/usr/local/bin/SABnzbd.py", line 63, in <module>
import sabnzbd
ModuleNotFoundError: No module named 'sabnzbd'
If I drill down into the sabnzbd directory (or /usr/local/share/sabnzbd/sabnzbd) and try those 3 commands, I get identical results.
as for your suggestion, I had unpacked the git repostitory into /usr/local/share/sabnzbd. If I try ./SABnzbd.py from there, I get "Command not found". If I try
./ SABnzbd.py, I get permission denied. If I try just SABnzbd.py, I get the same results as I was getting previously.
Traceback (most recent call last):
File "/usr/local/bin/SABnzbd.py", line 63, in <module>
import sabnzbd
ModuleNotFoundError: No module named 'sabnzbd'
If I drill down into the sabnzbd directory (or /usr/local/share/sabnzbd/sabnzbd) and try those 3 commands, I get identical results.
Re: Installing from source on Truenas Core
I have some very basic unix skills, but I'm far from being an expert. That's why I'm asking questions.
You said to try ./SABnzbd.py. I did, and got "Command not found"
You said to try ./SABnzbd.py. I did, and got "Command not found"
Re: Installing from source on Truenas Core
You've shown the required command two different ways (you included a whitespace in the first one). Syntax is important.
Can you please copypaste back your terminal session? It should show which directory you're-in, what you typed, and the exact response. Bonus points will be awarded if you also include a directory list.
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Re: Installing from source on Truenas Core
I have resolved this problem. I don't know if I had installed something out of sequence, or had a typo on a command, but I deleted the jail and rebuilt from scratch. This time I received a different error message, which, when I fixed, let me start Sab both from the command line but more importantly from the service file as well