No such file or directory
error's out with the above message when post processing, obviously the path's are correct and the script works fine on my old ubuntu server but not on my FreeNAS server.
Tried the normal changing permissions and chmod +x etc..
Still no joy, anyone else on here running sab on FreeNAS server.
Script errors out - No such file or directory - Sab running on FreeNAS server
Re: Script errors out - No such file or directory - Sab running on FreeNAS server
If a parameter contains spaces, it needs quoting: e.g. "$1".
Re: Script errors out - No such file or directory - Sab running on FreeNAS server
The postproc relative path is postproc making the actual path /mnt/array6/downloads/postproc/postproc.sh
There isn't a space there so I'm not sure what that means, I'm assuming it's not to do with my path but am at a loss to work out what you mean.
My postproc.conf has the following set:
There isn't a space there so I'm not sure what that means, I'm assuming it's not to do with my path but am at a loss to work out what you mean.
My postproc.conf has the following set:
Code: Select all
LOGGING=ON
LOG_PATH=/mnt/array6/downloads/postproc/postproc.log
# Set your base Folder destinations here
MP3_FOLDER=/mnt/array6/home/adrian/Music
TVDEST=/mnt/array6/TV
MOVIEDEST=/mnt/array6/Movies
XXXDEST=
TEMPFOLDER=/mnt/array6/downloads/postproc/vobtemp
SAMPLESIZE=25M
#Set Folder ownership and permissions to allow items to be viewed by other processes, in particular www
CHANGEOWNER=YES
FILEACCESS=777
FILEOWNER=www:users
VOBISO=YES
# Default is to not delete original folder - only delete it if it is being processed
REMOVE=NO
DEFAULT=MOVIES
Re: Script errors out - No such file or directory - Sab running on FreeNAS server
Sorry, I thought that you were complaining about SABnzbd not running user scripts.
What is this about anyway? What is "postproc.conf" ?
What is this about anyway? What is "postproc.conf" ?
Re: Script errors out - No such file or directory - Sab running on FreeNAS server
It's from auskento's Media Processing Script. Have you tried any other scripts? Where is it that you see the error "No such file or directory"?
Re: Script errors out - No such file or directory - Sab running on FreeNAS server
It's the error shown when I click "Show script output" in the completed queue.
I've tried a few post processing scripts.
Anyone else running sab on FreeNAS managed to get past this problem?
I've tried a few post processing scripts.
Anyone else running sab on FreeNAS managed to get past this problem?
Re: Script errors out - No such file or directory - Sab running on FreeNAS server
I did see a post suggesting you should have something next to the XXX line, even if you dont use it.
Re: Script errors out - No such file or directory - Sab running on FreeNAS server
It was a really bizarre problem and caused by the FreeNAS build not picking up the path to bash properly. I moved bash into /usr/bin in the end.
FreeNAS uses a really small install (32MB) of FreeBSD and as such has restrictions on what will run and how it runs it.
The script then produced a du error as FreeBSD has no -S option. I edited it out of the script and it runs perfectly now.
FreeNAS uses a really small install (32MB) of FreeBSD and as such has restrictions on what will run and how it runs it.
The script then produced a du error as FreeBSD has no -S option. I edited it out of the script and it runs perfectly now.