Won't save script folder or watched folder location

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
timcdn
Newbie
Newbie
Posts: 26
Joined: March 5th, 2010, 5:29 pm

Won't save script folder or watched folder location

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

Scripts need to have their X bit set:
chmod +x script
timcdn
Newbie
Newbie
Posts: 26
Joined: March 5th, 2010, 5:29 pm

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

Post by timcdn »

Thanks for the help.

Tried chmod both the directory and the files but still no dice, SAB wont save the folder path.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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
timcdn
Newbie
Newbie
Posts: 26
Joined: March 5th, 2010, 5:29 pm

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

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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
timcdn
Newbie
Newbie
Posts: 26
Joined: March 5th, 2010, 5:29 pm

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

Post 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 ""
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
yesuar
Newbie
Newbie
Posts: 1
Joined: April 29th, 2013, 6:00 pm

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

Post 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
joostp
Newbie
Newbie
Posts: 2
Joined: September 26th, 2013, 3:53 pm

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

Post by joostp »

Same issue here. Any solutions?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

joostp wrote:Same issue here. Any solutions?
Same questions as before.
Without more details, what can I say?
joostp
Newbie
Newbie
Posts: 2
Joined: September 26th, 2013, 3:53 pm

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

Post 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.
Paulitix
Newbie
Newbie
Posts: 7
Joined: October 21st, 2013, 3:17 pm

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

Post by Paulitix »

Having the same problem here.

Update: If anyone else has this problem, check your permissions to the download dirs.
paulosaolo
Newbie
Newbie
Posts: 1
Joined: January 4th, 2014, 7:07 pm

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

Post 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.
nishiyama
Newbie
Newbie
Posts: 5
Joined: December 1st, 2014, 2:01 am

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

Post 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
Post Reply