Page 1 of 1

Won't save script folder or watched folder location

Posted: April 9th, 2013, 9:42 pm
by timcdn
Pulling my hair out on this one guys.

Installed 7.11 on a RPi - fresh install.

Everything is working fine except I can't specify the scripts and watched folders.

I have tried everything I can think of, typed the folder path, used the browse to navigate to it, manually updated the ini file.

chmod the folder and file to both 755 and 777 - no change. Tried creating new folders in different locations - didn't work.

What is strange is that the completed download folder path saved...

Any help would be appreciated.

Re: Won't save script folder or watched folder location

Posted: April 10th, 2013, 12:53 pm
by shypike
Scripts need to have their X bit set:
chmod +x script

Re: Won't save script folder or watched folder location

Posted: April 10th, 2013, 5:44 pm
by timcdn
Thanks for the help.

Tried chmod both the directory and the files but still no dice, SAB wont save the folder path.

Re: Won't save script folder or watched folder location

Posted: April 11th, 2013, 5:50 am
by shypike
Not saving the folderpath usually means that the path does not exist
or is not accessible for SABnzbd.
Did you use the browser button to get to the path

Re: Won't save script folder or watched folder location

Posted: April 11th, 2013, 4:12 pm
by timcdn
Yes I used the browse button to get to the path and have tried to save multiple paths to other directories as well.
I even tried using the default directory - won't save.

The strange thing is that any other setting I change in the config saves without issue. It's just the watched and scripts folder that won't save.

The completed & incomplete folder saves fine, to the same dir that I am trying to save the watched and scripts dir to - that puzzles me.

Re: Won't save script folder or watched folder location

Posted: April 11th, 2013, 4:32 pm
by shypike
As a last resort: stop SABnzbd and edit the sabnzbd.ini file directly.
Location: http://wiki.sabnzbd.org/configure-0-7
Field: script_dir

Re: Won't save script folder or watched folder location

Posted: April 11th, 2013, 5:10 pm
by timcdn
Tried that, I can edit the file and when I reopen the file the changes stick.

However when I restart SAB it overwrites the file and deletes those two ini edits reverts back to ""

Re: Won't save script folder or watched folder location

Posted: April 12th, 2013, 12:49 pm
by shypike
There must be something odd with the path.
Are you sure the script path is accessible at the time SABnzbd start up?
It's not on an external drive or networked share?
Set logging level to debug (Status page). Stop SABnzbd. Edit the ini file again.
Start SABnzbd.
Then inspect the log file (also on the Status page) and look for messages about your script path.

Re: Won't save script folder or watched folder location

Posted: April 29th, 2013, 6:04 pm
by yesuar
i have the same issue, did you have found a fix?

Im on MAC 10.8 and SABnzb 0.7.11

thanks
greetings yesuar

Re: Won't save script folder or watched folder location

Posted: September 26th, 2013, 3:54 pm
by joostp
Same issue here. Any solutions?

Re: Won't save script folder or watched folder location

Posted: September 27th, 2013, 5:02 am
by shypike
joostp wrote:Same issue here. Any solutions?
Same questions as before.
Without more details, what can I say?

Re: Won't save script folder or watched folder location

Posted: September 28th, 2013, 4:34 am
by joostp
At every reboot of my machine my script folder turns back to 'scripts'.
I have tried several other options, including using the exact same path as the download folder, but without success.
Also I chmodded the directories to 777 (everything is on root / root, also the regular scripts folder that is working).

I will try to find something in the logs.

Btw: I'm using SAB on OpenELEC.

Re: Won't save script folder or watched folder location

Posted: October 23rd, 2013, 5:27 pm
by Paulitix
Having the same problem here.

Update: If anyone else has this problem, check your permissions to the download dirs.

Re: Won't save script folder or watched folder location

Posted: January 4th, 2014, 7:13 pm
by paulosaolo
Hi guys

I had exactly the same problem with folders not saving and CHMOD not having any effect. I was using a vfat formatted external hard drive which does not support user permissions and therefor user modification. I managed to get the folder to save once I changed the auto-mount script in /etc/fstab to:

/dev/sda1 /media/FUNWORLD vfat defaults,uid=65534,gid=65534,dmask=000,fmask=111 0 0

uid and gid set owner and group to 'no owner' and 'no group' thus the drive is now available for full read and write permission to all users. Seemed to solve the issue for me.

Obvisouly your pi will need a reboot after editing.

Re: Won't save script folder or watched folder location

Posted: December 2nd, 2014, 11:59 am
by nishiyama
I am having the same issue as those above. I save the directory in the config of the web interface and then after restarting sabnzbd it is gone.

I have even set the ini file to 777

as well as changed my mount to:

Code: Select all

/dev/sda1	/media/USBHDD1	vfat	defaults,uid=65534,gid=65534,dmask=000,fmask=111	0	0
Though that should make absolutely no difference as my ini file is located on my flash drive where the rest of my rasbian files are located
/var/sabnzbd/sabnzbd.ini

which has the following permissions and ownership

Code: Select all

-rwxrwxrwx  1 sabnzbd sabnzbd 4309 Dec  2 11:53 sabnzbd.ini
EDIT: I changed my scripts target to a folder located on my external hdd where the rest of my folders were located rather than pointing to the sickbeard scripts folder and it stuck. It appears I just cant set or read to / from folders located on the rasbian os flash drive. Probably some permissions or owner problems