Over on the QNAP forum a couple of us have been trying to get SAB to support symlinks and it doesnt look like it does.
Any thoughts?
SABnzbd does not support symlinks.
Forum rules
Help us help you:
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.
Re: SABnzbd does not support symlinks.
It works fine on Ubuntu Linux (ext2 and ext3).
What does QNAP use for a file system?
Do symlinks work at all?
What does QNAP use for a file system?
Do symlinks work at all?
Re: SABnzbd does not support symlinks.
Hi,
I'm also one of the guys from the Qnap forum that has been struggling with soft links.
The qnap is running EXT3 filesystems. And what happens is this:
Sabnzbd wants to save to the directory /share/Qdownload/sabnzbd/complete/Movies (example)
I want my movies to go into /share/Qmultimedia/film
Instead af changing configuration in sabnzbd I just deleted the Movies directory and replaced it with a softlink/symlink using the
ln -s
command
But next time sabnzbd wants to save to the Movies folder (which is now a link to /share/Qmultimedia/film) it says in the log that it can't create Movies folder! :-(
We have checked permissions on destination, they are all 777 and ownership is also in order.
Oh and yes symlinks works fine for everything else. I use it alot.
Thank you for your time :-)
I'm also one of the guys from the Qnap forum that has been struggling with soft links.
The qnap is running EXT3 filesystems. And what happens is this:
Sabnzbd wants to save to the directory /share/Qdownload/sabnzbd/complete/Movies (example)
I want my movies to go into /share/Qmultimedia/film
Instead af changing configuration in sabnzbd I just deleted the Movies directory and replaced it with a softlink/symlink using the
ln -s
command
But next time sabnzbd wants to save to the Movies folder (which is now a link to /share/Qmultimedia/film) it says in the log that it can't create Movies folder! :-(
We have checked permissions on destination, they are all 777 and ownership is also in order.
Oh and yes symlinks works fine for everything else. I use it alot.
Thank you for your time :-)
Re: SABnzbd does not support symlinks.
Does this issue still happen if tv sorting is turned off?
Re: SABnzbd does not support symlinks.
Hi Switch,
Thank you for your reply. I'll turn off TV sorting and revert with the result.
brgds
Kenneth
Thank you for your reply. I'll turn off TV sorting and revert with the result.
brgds
Kenneth
Re: SABnzbd does not support symlinks.
Hi,
Turning off tv sorting made no difference. This is from the web log:
2008-10-20 18:06:05,025 ERROR [sabnzbd.misc] Failed making (/share/Qdownload/sabnzbd/complete/TV)
<- /share/Qdownload/sabnzbd/complete/TV already exists as a link pointing to /share/Public/serier, but it is as if sabnzbd can't see links, so tries to make the folder again and fails.
Turning off tv sorting made no difference. This is from the web log:
2008-10-20 18:06:05,025 ERROR [sabnzbd.misc] Failed making (/share/Qdownload/sabnzbd/complete/TV)
<- /share/Qdownload/sabnzbd/complete/TV already exists as a link pointing to /share/Public/serier, but it is as if sabnzbd can't see links, so tries to make the folder again and fails.
Re: SABnzbd does not support symlinks.
Can you try running the following from python (either enter it at command line or shove it in a file and give it a .py extension):
Code: Select all
import os
list = '/share/Qdownload/sabnzbd/complete/TV'.split('/')
path = ''
for d in list:
if d:
path += '/' + d
if not os.path.exists(path):
print 'making: %s' % path
os.mkdir(path)
else:
print 'path exists:%s' % path
Re: SABnzbd does not support symlinks.
Hi Switch,
I think I did something wrong.
[/share/MD0_DATA/system] # vim test.py
[/share/MD0_DATA/system] # chmod 766 test.py
[/share/MD0_DATA/system] # ./test.py
./test.py: line 1: import: command not found
./test.py: line 2: syntax error near unexpected token `('
./test.py: line 2: `list = '/share/Qdownload/sabnzbd/complete/TV'.split('/')'
Looks like the shell is interpreting it?
Can it have something to do with sabnzbd running in a shroot environment on the QNAP devices? (I am in way over my head here)
I think I did something wrong.
[/share/MD0_DATA/system] # vim test.py
[/share/MD0_DATA/system] # chmod 766 test.py
[/share/MD0_DATA/system] # ./test.py
./test.py: line 1: import: command not found
./test.py: line 2: syntax error near unexpected token `('
./test.py: line 2: `list = '/share/Qdownload/sabnzbd/complete/TV'.split('/')'
Looks like the shell is interpreting it?
Can it have something to do with sabnzbd running in a shroot environment on the QNAP devices? (I am in way over my head here)
Last edited by Balrog on October 20th, 2008, 3:45 pm, edited 1 time in total.
Re: SABnzbd does not support symlinks.
[/share/MD0_DATA/system] # python test.py
python: relocation error: /opt/lib/libpthread.so.0: symbol errno, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
python: relocation error: /opt/lib/libpthread.so.0: symbol errno, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
Re: SABnzbd does not support symlinks.
same here
Re: SABnzbd does not support symlinks.
I'm not sure how sabnzbd is launched from QNAP devices, but could it be a problem if launched using chroot? If so certain directories may not be visible to sabnzbd unless they are specifically set.
Re: SABnzbd does not support symlinks.
I'm not a registered forum user,. so I cannot read it.