longtime sabnzbd user on windows, and have recently moved across to Ubuntu as running sabnzb 24x7 in a windows7 virtual machine was too much overhead. Everything went well installing, however I like to have my admin directory in the same folder structure as my downloads, so redirected it to my cifs share
\nzb
\nzb\complete
\nzb\incomplete
\nzb\admin
\nzb\logs
this worked fine except history1.db was always 0 bytes, and I was warned that database was locked. Sabnzbd worked fine, but I never had any history showing. I did some trawling and found a known issue with sqllite and CIFS shares. Unless the parameter nobrl is used when mounting the share, sqllite gets its knickers in a twist. So my
/etc/fstab finally looks like
/etc/fstab
Code: Select all
//192.168.1.xyz/nzb /home/myuser/winshare cifs defaults,rw,iocharset=utf8,codepage=cp850,uid=1000,gid=1000,noauto,user,username=myshareuser,password=mysharepassword,file_mode=0777,dir_mode=0777 0 0
Code: Select all
$ sudo update-rc.d -f sabnzbdplus
Code: Select all
mount.cifs //192.168.1.xyz/nzb /home/myuser/winshare -o noperm,forceuid,uid=myuser,user=myshareuser,pass=mysharepassword,nobrl
Code: Select all
/etc/init.d/sabnzbd start
Code: Select all
sudo chmod u+s /sbin/mount.cifs