December 23, 201114 yr Can anyone give me any help to get SAB, SB & an apps drive successfully installed, and consistent after a reboot? You can try my unMenu package manager versions. You WILL have to make sure that the SNAP drive is mounted before the apps attempt to install.
December 23, 201114 yr Can anyone give me any help to get SAB, SB & an apps drive successfully installed, and consistent after a reboot? I am still new to unraid, but I may be able to help a little as your setup sounds very similar to mine. I use the drive mount plugin for my apps drive and the settings do not get lost on a reboot. The first time I tried to set it up and it wasn't working, I just deleted all the plugins and rebooted so I could start from scratch. Then I created my data dirs before I installed the plugins again. The biggest hurdle for me was getting sickbeard post processing setup, but it seems to be working correctly now. I used mc in the telnet window to get my autoProcessTV file copied to the data dir and the autoProcessTV.cfg file setup correctly. I am not at my server at the moment, but will post more details later when I get home. Don't give up, there is lots of help on this forum.
December 23, 201114 yr You can try my unMenu package manager versions. You WILL have to make sure that the SNAP drive is mounted before the apps attempt to install. I started from scratch today, so I have a clean install of 5b14, it still remember my shares though. Spooky. How can I ensure that a SNAP drive is mounted before SAB/SB/PS3 load? I was going to go the unmenu way, but SAB wasn't available because there had been issues with it. The plugins worked, but kept clean installing on reboot. I don't intend to reboot alot, but I do want to make sure that everything keeps it settings when I have to, or there is a power outage. I am still new to unraid, but I may be able to help a little as your setup sounds very similar to mine. I use the drive mount plugin for my apps drive and the settings do not get lost on a reboot. The first time I tried to set it up and it wasn't working, I just deleted all the plugins and rebooted so I could start from scratch. Then I created my data dirs before I installed the plugins again. The biggest hurdle for me was getting sickbeard post processing setup, but it seems to be working correctly now. I used mc in the telnet window to get my autoProcessTV file copied to the data dir and the autoProcessTV.cfg file setup correctly. I am not at my server at the moment, but will post more details later when I get home. Don't give up, there is lots of help on this forum. Thank you so much, that would be really appricated. I read up on quite a few NAS OS and this one really seemed to suit my needs, so I really do want it to workout. I tried the mount plugin, but being new to unraid & linux I wasn't really sure how to use it, and the plugins page didn't really give much info. I did like SNAP because it had a good how to use guide, and I figured I could also use it's features to backup my wifes portable harddrive (ie she just plugs in it, and it backs it up). It's just a shame there isn't a WebUI for linux idiots like me. I am learning fast though! I put both the install & data directories on my apps drive. Is that the wrong thing to do? Should I just leave install on the default directory, and only change the data directory??? I was kinda worried that my USB drive would die on me if I had SB, SAB & PS3MS running from USB. I was totally stuck with sickbeard post processing setup. I just couldn't get the script to show up when setting the TV category. I did have the installation set to my Apps drive, maybe this was wrong, but it did make finding the autoprocessTV folder easy.
December 24, 201114 yr I put both the install & data directories on my apps drive. Is that the wrong thing to do? Should I just leave install on the default directory, and only change the data directory??? I was kinda worried that my USB drive would die on me if I had SB, SAB & PS3MS running from USB. It runs from RAM if you install in the default location, not the USB drive and that is why the settings are lost on a reboot. the config files and databases for the apps will be written to the data directory. if you don't use the data directory, these files will be written to the installation dir. so if you installed the app to the ramdisk (i.e. /usr/local/sabnzbd/) and don't use a data dir on your array/cache/app-drive, you will loose your config file with the next server restart.
December 24, 201114 yr Ok. So if I put the .plg files in the plugins folder, install them (or reboot), and then change the install directory for sb/sab/cp to /mnt/disk/Apps which is my Apps mounted drive. Would that work and retain the settings? Or do I just need to specify a separate data directory in my Apps mount to keep the settings?
December 24, 201114 yr Yes, use a seperate data dir for each app like in the 1st post of this thread. /mnt/disk/Apps/sabnzbd /mnt/disk/Apps/sickbeard /mnt/disk/Apps/couchpotato
December 24, 201114 yr Please help! having trouble getting SB to start after a reboot... it was preventing the array from starting but after a quick "ps -ef" i killed the process and the array started straight away. SAB and CP are starting fine BTW. i tried to start SB from the command line with "/etc/rc.d/rc.sickbeard enable nobody 8082 /usr/local/sickbeard /boot/config/sickbeard" and this returned the following error... Starting sickbeard: sudo -u nobody python /usr/local/sickbeard/SickBeard.py -d -p 8082 --datadir /boot/config/sickbeard --pidfile /var/run/sickbeard/sickbeard.pid > /dev/null 2>&1sudo: can't open /etc/sudoers: Permission denied sudo: no valid sudoers sources found, quitting at this point i am lost. Can anyone help in terms of telling me what permissions I need to set for this file / folder? I am also curious to know what this file is if anyone knows?
December 24, 201114 yr Author @Redstorm: with which user did you try to run that command? please try to run it as root (in that file is a list of users, which can use root (admin) commands without knowing the password of root. but with the sudo command, you can also run a command under an other user. which is the reason i use sudo in this case. but the user who runs sudo has to be in the sudo file.)
December 24, 201114 yr That command was run as root! But I am not sure that my sudoers file has an entry for anybody let lone "nobody" that I assume sickbeard should be run as? what should the entry in my sudoers file look like maybe i can add it and fix my problem thanks
December 24, 201114 yr Author as long as the sudoer file has this line, it should be fine: root ALL=(ALL) ALL it should have permission 440 (r--r-----) and owner root:root (these are the defaults)
December 25, 201114 yr Hi Benni and happy christmas to you yep, it has that entry exactly and those permissions but still wont start. Any ideas???
December 25, 201114 yr @Benni here is an extract from my syslog if that helps... Dec 24 20:08:33 HPmicro sudo: root : can't open /etc/sudoers : Permission denied ; TTY=console ; PWD=/ ; COMMAND=python Dec 24 20:08:33 HPmicro sudo: root : no valid sudoers sources found, quitting ; TTY=console ; PWD=/ ; COMMAND=python Dec 24 20:08:33 HPmicro sSMTP[2043]: Creating SSL connection to host Dec 24 20:08:33 HPmicro sSMTP[2044]: Creating SSL connection to host Dec 24 20:08:34 HPmicro sSMTP[2044]: SSL connection using RC4-SHA Dec 24 20:08:34 HPmicro sSMTP[2043]: SSL connection using RC4-SHA Dec 24 20:08:36 HPmicro sSMTP[2044]: Sent mail for [email protected]@gmail.com (221 2.0.0 closing connection dj9sm42770870wib.6) uid=0 username=root outbytes=544 Dec 24 20:08:37 HPmicro sSMTP[2043]: Sent mail for [email protected]@gmail.com (221 2.0.0 closing connection em4sm18372402wbb.20) uid=0 username=root outbytes=547 Dec 24 20:09:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 24 21:01:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 24 21:55:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 24 22:49:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 24 23:42:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 00:37:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 01:21:08 HPmicro kernel: mdcmd (16): spindown 1 Dec 25 01:30:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 02:22:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 03:14:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 04:07:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 05:00:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 05:50:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 06:41:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 07:33:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 08:28:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 09:21:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 10:14:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 11:09:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 12:00:02 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 12:53:01 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user) Dec 25 13:18:36 HPmicro in.telnetd[13546]: connect from 192.168.2.5 (192.168.2.5) Dec 25 13:18:51 HPmicro login[13547]: ROOT LOGIN on '/dev/pts/0' from '192.168.2.5' Dec 25 13:36:16 HPmicro sudo: root : can't open /etc/sudoers : Permission denied ; TTY=console ; PWD=/ ; COMMAND=python Dec 25 13:36:16 HPmicro sudo: root : no valid sudoers sources found, quitting ; TTY=console ; PWD=/ ; COMMAND=python Dec 25 13:36:16 HPmicro sSMTP[18816]: Creating SSL connection to host Dec 25 13:36:16 HPmicro sSMTP[18819]: Creating SSL connection to host Dec 25 13:36:17 HPmicro sSMTP[18816]: SSL connection using RC4-SHA Dec 25 13:36:17 HPmicro sSMTP[18819]: SSL connection using RC4-SHA Dec 25 13:36:21 HPmicro sSMTP[18816]: Sent mail for [email protected]@gmail.com (221 2.0.0 closing connection en20sm48657370wid.10) uid=0 username=root outbytes=547 Dec 25 13:36:21 HPmicro sSMTP[18819]: Sent mail for [email protected]@gmail.com (221 2.0.0 closing connection w8sm48676535wiz.4) uid=0 username=root outbytes=544 Dec 25 13:46:02 HPmicro crond[1051]: ignoring /var/spool/cron/crontabs/root- (non-existent user)
December 26, 201114 yr Ok. So if I put the .plg files in the plugins folder, install them (or reboot), and then change the install directory for sb/sab/cp to /mnt/disk/Apps which is my Apps mounted drive. Would that work and retain the settings? Or do I just need to specify a separate data directory in my Apps mount to keep the settings? This really isn't working for me and it's getting really frustrating. I'm running unraid 5b14, and I'm using SNAP to install a drive /mnt/disk/Apps and that's all working very well, it appears every reboot. The only thing I do have an issue with is that when accessing from my Win7 PC it asks me to log in? I'm not sure why or how to fix that, and I would like to. I've all moved the snap to the top of the go file (not sure if that will actually do anything). I couldn't find anything via search about prioritising during the boot process. I removed the .plg files, and rebooted, just to see what would happen. I didn't expect SAB/CB/PS3 media server to load, but I noticed all the folders where in the Apps drive as I left them before I rebooted. I put the .plg files back and rebooted again, and when I check the Apps disk after boot with the array stopped, this time only the PS3MS folder was there. The other folders had been deleted!!!! When I started the array, sabnzbd & sickbeard appeared, both as new installs (the scripts folder in Sabnzbd is missing and all the settings are gone). So these plugins are definately recreating themselves from scratch at every reboot My Sabnzb cfg file is set up like this # sabnzbd configuration SERVICE="enable" INSTALLDIR="/mnt/disk/Apps/sabnzbd" DATADIR="/mnt/disk/Apps/sabnzbd" PORT="8082" RUNAS="nobody" in my config plugins folder I have 5 .plg files, and 5 folders with a corresponding .cfg and .png file. The .cfg files details match that of the SETTINGS > NETWORK SERVICES Webui details. I didn't initally set a datadir, but had to because when I set it to enable YES, the Data Directory defaulted to an old /mnt/Apps folder that I was using with the mount drive plugin (I couldn't get this to work, but that's maybe because I'm using an NTFS drive, and have no idea how to reformat a drive not on the array) Considering this is clean install (I even reformated the USB stick), it seems to retain some infomation about previous settings. I remembered my music/video shares, not sure how. I've attached my syslog if that helps. syslog-2011-12-26.txt
December 26, 201114 yr I'm running unraid 5b14, and I'm using SNAP to install a drive /mnt/disk/Apps and that's all working very well, it appears every reboot Not sure if this is relevant, but I think you stated you were mounting an NTFS drive. Is the drive being mounted as writable and do you have the ntfs-3g - NTFS read/write filesystem driver installed? The only thing I do have an issue with is that when accessing from my Win7 PC it asks me to log in? I'm not sure why or how to fix that, and I would like to. I think you would use the same login as when you telnet tower, user root (no password,unless you created one). I removed the .plg files, and rebooted, just to see what would happen. I didn't expect SAB/CB/PS3 media server to load, but I noticed all the folders where in the Apps drive as I left them before I rebooted. I put the .plg files back and rebooted again, and when I check the Apps disk after boot with the array stopped, this time only the PS3MS folder was there. The other folders had been deleted!!!! When I started the array, sabnzbd & sickbeard appeared, both as new installs (the scripts folder in Sabnzbd is missing and all the settings are gone). So these plugins are definately recreating themselves from scratch at every reboot This sounds normal to me, I think the scripts folder is missing because it is a "new" installation after you deleted the .plg files and rebooted. You are starting over and have to re-create the settings. When I started over like this, I loaded only one .plg at a time and installed and made sure it was ok before installing the next one. Might be worth a try if you run out of ideas. I didn't initally set a datadir, but had to because when I set it to enable YES, the Data Directory defaulted to an old /mnt/Apps folder that I was using with the mount drive plugin (I couldn't get this to work, but that's maybe because I'm using an NTFS drive, and have no idea how to reformat a drive not on the array) If you set data directory enable to no, I believe it will use the install directory by default. Considering this is clean install (I even reformated the USB stick), it seems to retain some infomation about previous settings. I remembered my music/video shares, not sure how. I noticed similar behavior with regards to paths, file names being remembered. I've attached my syslog if that helps. I have never looked at the syslog, maybe Benni-chan can help here.
December 26, 201114 yr Is the drive being mounted as writable and do you have the ntfs-3g - NTFS read/write filesystem driver installed? Yes it's installed in unmenu and set to reload at reboot. I think you would use the same login as when you telnet tower, user root (no password,unless you created one). That's what I've been doing, and it doesn't seem to be an issue really. I removed the .plg files, and rebooted, just to see what would happen. I didn't expect SAB/CB/PS3 media server to load, but I noticed all the folders where in the Apps drive as I left them before I rebooted. I put the .plg files back and rebooted again, and when I check the Apps disk after boot with the array stopped, this time only the PS3MS folder was there. The other folders had been deleted!!!! When I started the array, sabnzbd & sickbeard appeared, both as new installs (the scripts folder in Sabnzbd is missing and all the settings are gone). So these plugins are definately recreating themselves from scratch at every reboot This sounds normal to me, I think the scripts folder is missing because it is a "new" installation after you deleted the .plg files and rebooted. You are starting over and have to re-create the settings. When I started over like this, I loaded only one .plg at a time and installed and made sure it was ok before installing the next one. Might be worth a try if you run out of ideas. I agree, but I didn't really explain it right. To give you an idea of the problem, if I stop the array, sab & sb are also stopped automatically (it's one of the reasons I like the plugin design), and if I restart the array (no reboot) the sab folder is still there with all it's settings. If I then stop the array again, and reboot, and check the apps drive, ps3ms is the only folder there (sab & sb are gone) and then when I start the array, sab is a clean install. Back to the welcome pick your language screen, set up your news server, and my script folder is gone again! Has anyone else had this problem? ie rebooting and it clean installs sab, sb etc?
December 27, 201114 yr Hi, See this post! http://lime-technology.com/forum/index.php?topic=17547.msg158115#msg158115 I have slower DL speed from unraid than I have on my laptop (Win7) What can cause this ? EDIT I think above is solved.! see link above. BUT I saw that when SAB should unrar files is only using ONE core! is that possible to change so all core could be used?? //Peter
December 30, 201114 yr Hi Benny Any change to make a plugin for MovieGrabber ? It is like CouchPotato but it checking imdb for user matching criteria. Very good
December 30, 201114 yr Author BUT I saw that when SAB should unrar files is only using ONE core! is that possible to change so all core could be used?? as far as i know, there is currently no multicore unrar available. if you know a multicore build, please let me know Hi Benny Any change to make a plugin for MovieGrabber ? It is like CouchPotato but it checking imdb for user matching criteria. Very good added to my todolist... (should be no problem) (i'll look at the other posts with questions in the next days. sorry, but currently i have very little free time, so i only took a quick look at the new posts. should be able to be back next week with more help )
December 30, 201114 yr All my plugins are still clean installing on reboot. I even went to the trouble of preclearing my apps drive and reformatting it in reiserfs format. The ps3ms doesn't bother me but SB and SAB lose their settings and database.
December 31, 201114 yr Author @Benni Dec 24 20:08:33 HPmicro sudo: root : can't open /etc/sudoers : Permission denied ; TTY=console ; PWD=/ ; COMMAND=python Dec 24 20:08:33 HPmicro sudo: root : no valid sudoers sources found, quitting ; TTY=console ; PWD=/ ; COMMAND=python just saw this at the top of my sudoers file: # This file MUST be edited with the 'visudo' command as root. # Failure to use 'visudo' may result in syntax or file permission errors # that prevent sudo from running. i guess, you edited the file? run visudo and save the file. if you don't know vi, use google for the save commands All my plugins are still clean installing on reboot. I even went to the trouble of preclearing my apps drive and reformatting it in reiserfs format. The ps3ms doesn't bother me but SB and SAB lose their settings and database. there goes my idea, that this might be some problem with the ntfs (would have been strange but possible...) i have to think more about this. maybe i'll send you a debug version sometime next week to get some more logs of what my plugin is doing... Edit: have you tried to run the app from ramdisk (use /usr/local/sabnzbd as installdir) and set the datadir to your appdrive? Edit2: Just thought of an explanation... you said you use SNAP to mount your appdrive. it could be possible, that the drive is not yet mounted correctly, when the array is started (and sabnzbd tries to starts up)... (don't remember, when snap mounts the drives. and i couldn't find anything abount the mounting of the appdrive in your syslog) i've written a simple drive mount plugin, which makes sure, that my app drive is mounted at bootup: http://lime-technology.com/forum/index.php?topic=14742.0 maybe this helps...
December 31, 201114 yr Thanks Benni-chan but I think it's a problem with SNAP more than anything else. After I posted here I noticed that a folder I created also disappeared. I just created 3 folders in my Apps drive, and rebooted, and now only PS3MS's folder is there, so things are definately being erased by something on a reboot. For some reason SAB & SB haven't loaded at all, with the /usr/local/ install directory but I will have to fix the SNAP issue first.
December 31, 201114 yr BUT I saw that when SAB should unrar files is only using ONE core! is that possible to change so all core could be used?? as far as i know, there is currently no multicore unrar available. if you know a multicore build, please let me know Can p7zip replace unrar ? think this use multicore. http://connie.slackware.com/~alien/slackbuilds/p7zip/pkg/13.37/p7zip-9.20.1-i486-1alien.tgz http://www.slackware.org.uk/slacky/slackware-13.1/system/p7zip/9.20.1/p7zip-9.20.1-i486-1sl.txz EDIT Benni-chan ! It might be possible! see post -> http://forums.sabnzbd.org/viewtopic.php?f=4&t=25&start=30#p44433 Below is a windows script @ECHO OFF cd %1 if exist *7z ( echo "File with *.7z found. Unpacking it ..." 7za x -y *7z if %ERRORLEVEL% == 0 ( goto OK ) else ( goto NOTOK ) ) else if exist *7z.001 ( echo "File(s) with *.7z.001 found. Unpacking it ..." 7za x -y *7z.001 if %ERRORLEVEL% == 0 ( goto OK ) else ( goto NOTOK ) ) else ( echo "No *7z files found, so running this script was not useful ... " exit 0 ) echo Strange you should not reach this point exit 1 :OK echo Unpacking went OK exit 0 :NOTOK echo Something went wrong exit 1
December 31, 201114 yr Author well, unpacking via script means, you wouldn't be able to run other post-processing scripts (or you have to change those, that the unpacking process is inside of them). one guy in that linked thread mentioned, that the 7zip rar-extracting performance is worse than that of unrar, so i don't really see the point at using 7zip at this time... (sure, you can install 7zip on your machine and configure your post-processing scripts as needed... to install the 7zip package on every boot, move the pkg file to /boot/extra)
December 31, 201114 yr well, unpacking via script means, you wouldn't be able to run other post-processing scripts (or you have to change those, that the unpacking process is inside of them). one guy in that linked thread mentioned, that the 7zip rar-extracting performance is worse than that of unrar, so i don't really see the point at using 7zip at this time... (sure, you can install 7zip on your machine and configure your post-processing scripts as needed... to install the 7zip package on every boot, move the pkg file to /boot/extra) I agree... I don't much see the point in trying to get this all working.
January 3, 201214 yr great work thanks very much.. these plugins made me finally switch from bt to try newsgroups.. i've been missing up.. my workflow is a zillion times more efficient now...
Archived
This topic is now archived and is closed to further replies.