Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
danfozzy wrote:
Type
Chmod -R 777 Sick-Beard
Then run Sickbeard again
Terra, need to add this in, prob best doing it for all apps
tommymsw@dlink-017349:~$ chmod -R 777 Sick-Beard
tommymsw@dlink-017349:~$ python Sick-Beard/SickBeard.py -d
sh: cannot create /dev/null: Permission denied
Sorry man, I wish I were less trouble for you
Offline
Try
chmod -R 777
Offline
Login as root, then chmod the folder again
Offline
danfozzy wrote:
Try
chmod -R 777
chmod: missing operand after `777'
Then as root:
root@dlink-017349:~# chmod -R 777 Sick-Beard
chmod: cannot access `Sick-Beard': No such file or directory
Last edited by tommymsw (2012-02-24 23:31:49)
Offline
Sorry meant chmod -R 777 Sick-Beard .
(include the space and the fullstop after Sick-Beard)
when logged in as root:
cd /home/tommymsw
chmod -R 777 Sick-Beard .
python Sick-Beard/SickBeard.py -d
Last edited by danfozzy (2012-02-24 23:37:40)
Offline
danfozzy wrote:
Sorry meant chmod -R 777 Sick-Beard .
(include the space and the fullstop after Sick-Beard)
when logged in as root:
cd /home/tommymsw
chmod -R 777 Sick-Beard .
python Sick-Beard/SickBeard.py -d
SUCCESS!!!!! After trying EVERY variation you gave it finally worked by logging in as "root" then running the "chmod -R 777 Sick-Beard ." AND the instructions to start Sickbeard from the "root" log-in! Didn't work from my username log-in.
Now I will try all that with Couchpotato!
YES! YES! YES!!!!!! Both working now!
Had to do all those things logged in as "root"
So Terra, I needed to be in "root" to start those programs and the "b" in Sickbeard.py should be "B".
I think from all of this, there may be a FULL instruction set! I will be happy to go through it and see what I can do, then post it back for Terra to look at and maybe add it to the first page?
It's the LEAST I can do for the help you guys have given me!
Now for the HOURS of re-setting up my Sickbeard and Couschpotato from scratch! lol (I have a TON of stuff). I am sure I could move the proper files from my setup now to the new location, but I bet all the paths would be messed up! I have like 175 shows in SB! lol
Last edited by tommymsw (2012-02-24 23:54:27)
Offline
Offline
Feeling like a pro now, I decided I would try the auto-start stuff. It all seemed to go well. So I restarted the NAS and the only program that started was Sickbeard! lol Not sure why? I am also not overly concerned! I don't plan on shutting it off, often. I will just write down the code and tape it to the box! Just thought I would mention it.
The only thing I was "iffy" on with the auto-start was:
http://192.168.2.200:8080/sabnzbd/api?m … {myapikey}
Was I right to change the IP address shown to the address my NAS is at? And do I keep the "{" symbols when adding my api key?
Offline
Remove the {}
Ip is fine
Which folder did u install sab in? The one on the front page will be installed in the root folder
This part of the auto start script needs to point to we're ever you installed it too:
/usr/bin/sudo -u root -H /root/sabnzbd/SABnzbd.py -d -f /root/.sabnzbd/sabnzbd.ini
And I don't think sudo is installed by default, type:
apt-get install sudo
Last edited by danfozzy (2012-02-25 01:13:53)
Offline
danfozzy wrote:
Remove the {}
Ip is fine
Which folder did u install sab in? The one on the front page will be installed in the root folder
This part of the auto start script needs to point to we're ever you installed it too:
/usr/bin/sudo -u root -H /root/sabnzbd/SABnzbd.py -d -f /root/.sabnzbd/sabnzbd.ini
And I don't think sudo is installed by default, type:
apt-get install sudo
Sorry... IP is fine how it is written? Or when I changed it to MY ip?
I installed Sabnzbd to the directory in this tutorial, I followed it exactly. (Not sure where that is)
And what is "sudo"?
I found it odd that sickbeard started and not CP as they seem to be in the same command line. (I ignored all differences to headphones... I don't need it)
Last edited by tommymsw (2012-02-25 01:23:48)
Offline
Change the ip to 0.0.0.0
Sudo gives higher privileges to users, if you look at the line I put above, it starts with sudo, not that sudo is needed in that script as you want to run it as root
Last edited by danfozzy (2012-02-25 01:52:00)
Offline
If u followed the guide it's installed in /home/tommymsw
Change:
/usr/bin/sudo -u root -H /root/sabnzbd/SABnzbd.py -d -f /root/.sabnzbd/sabnzbd.ini
To:
/usr/bin/sudo -u root -H /home/tommymsw/sabnzbd/SABnzbd.py -d -f /home/tommymsw/.sabnzbd/sabnzbd.ini
Install sudo before you restart to see if it starts
To check if it is in the folder I believe it's in, on your nas look in the squeeze/home/tommymsw folder
Last edited by danfozzy (2012-02-25 01:32:24)
Offline
1. installed sudo (it said it was already installed)
2. changed ip to 0.0.0.0 and removed the "{}" from the api key part
3. changed the install directory to what you have given.
The folder IS where you said. /home/tommymsw
Can't restart for about 5 hours as I started moving files to the NAS drive (166G). When that is done I will give it a restart and report back (That will give you a break too! lol). If that works, I will be out of your hair and I'll move the rest of the 2Tb to the new drive (should take forever) and I will work on trying to piece this all together to help with the tutorial.
And as usual, thank you for the help... you know what a pay-off doing all this work is. I appreciate the help! It's like Christmas!
Offline
The script is good now, just make sure you chmod 755 /etc/init.d/sabnzbd after you've finished editing it
Your api key bit in the script should have the " at the end of your key, don't delete that
Last edited by danfozzy (2012-02-25 01:47:08)
Offline
Before I spend all this time, am I correct in thinking that I can not simply take my existing HD and place it into the second bay of the NAS and transfer the files that way? Even my second HD will have to be wiped and formatted if I put it in?
I am looking at over 50 hours of transfer time through my network!
Last edited by tommymsw (2012-02-25 02:06:40)
Offline
No unfortunately, and if your looking at putting them in a raid configuration when you put the 2nd drive in you may have to reformat them, which will put u back to square 1 again
Last edited by danfozzy (2012-02-25 02:16:16)
Offline
Just read through terras startup bit, there's something else
Type
update-rc.d sabnzbd defaults
( it will make sab a service, it will prob mention the mediaservers.sh script, ignore it)
And then the bit in his guide were it says to edit the linuxrc file, we're he has put:
# START SABnzbd
/etc/init.d/sabnzbd
Change it to:
# START SABnzbd
service sabnzbd start
Reason being is that script is meant to be run as a service, you need to tell it to start/stop or restart to make it work!
Last edited by danfozzy (2012-02-25 02:14:31)
Offline
You know of any guides for sharing the xbmc library from a NAS? That would be the last thing I need to do.
Offline
tommymsw wrote:
You know of any guides for sharing the xbmc library from a NAS? That would be the last thing I need to do.
Winner Winner Chicken Dinner
http://wiki.xbmc.org/index.php?title=HO … your_files
Greatness happens after you get it working.
This is my setup. Sabnzbd, Sickbeard, CouchPotato, MySQL - Running on NAS. XBMC on AppleTV, MediaPC, and PC.
BTW, it is going to take me a few days to update the guide. I am going to be helping some one setup theirs over the weekend. So it should help determine were the issues are.
Last edited by Terrabyte (2012-02-25 05:55:55)
Offline
Terrabyte wrote:
tommymsw wrote:
You know of any guides for sharing the xbmc library from a NAS? That would be the last thing I need to do.
Winner Winner Chicken Dinner
http://wiki.xbmc.org/index.php?title=HO … your_files
Greatness happens after you get it working.
This is my setup. Sabnzbd, Sickbeard, CouchPotato, MySQL - Running on NAS. XBMC on AppleTV, MediaPC, and PC.
BTW, it is going to take me a few days to update the guide. I am going to be help some one setup theirs over the weekend. So it should help determine were the issues are.
Yes, I have been here but the directions for NAS are two that are NOT the NAS I have.
I don't know enough about this to freestyle! lol
What did you follow to get yours up?
Offline
I give you the keys to the kingdom...
Install MySQL and Comment out the bind-address setup in MySQL
#apt-get install mysql-server
New password for MySQL requested
#nano /etc/mysql/my.cnf
change from: "bind-address = 127.0.0.1" to: "#bind-address = 127.0.0.1"
add "skip-name-resolve" to [mysqld] section of config
----Control o to write file than Control x to exit file----
#mysql -u root -p
>CREATE USER 'xbmc' IDENTIFIED BY 'xbmc';
>GRANT ALL ON *.* TO 'xbmc';
>exit
Check MySQL Status
#/etc/init.d/mysql status
#invoke-rc.d mysql restart
Add the advancesetting.xml and follow directions
Last edited by Terrabyte (2012-02-25 05:54:58)
Offline
Still no luck with the restart. Still ONLY Sickbeard starts. No idea. On a plus side, I plugged my NAS directly into the PC I am transferring the files from (thinking that maybe if it didn't go through a hub it would go faster?... just a guess) and while I was getting a little less than 10MB/second through the hub, I am now getting over 20MB/second pluged strait in (after I gave the NAS a static IP). FYI in case anybody ever asks you guys?
Offline
Post your sabnzbd log that's located in /home/tommymsw/.sabnzbd/logs
And post me a copy of your mediaservers.sh
Last edited by danfozzy (2012-02-25 10:24:38)
Offline
danfozzy wrote:
Type
Chmod -R 777 Sick-Beard
Then run Sickbeard again
Terra, need to add this in, prob best doing it for all apps
Danfozzy, do remember having to do this on your installation? If "newuser" was the one who created the SickBeard directory and the once starting SickBeard there should be no need for this.
Offline
tommymsw wrote:
"SSH to the device.
You should get the ffp prompt: /#"
Should say TELNET to the devise (I followed it literally and logged in under SSH)
If you followed the link I give you should have disable telnet (very insecure) and just have SSH.
tommymsw wrote:
"Add updated repos
#nano /etc/apt/sources.list **Add lines below to file**
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb http://ftp.debian.org/debian/ squeeze main contrib non-free
--- Hit Control o to write file than Control x to exit file ---"
I removed one of the repos as the default pulls the same upgrades. I can't dumb it down any more than that but I will take any suggestions.
tommymsw wrote:
"Set locale settings as follows
#nano /etc/locale.gen
Remove the hash tag in front of "en_US en_US.UTF-8"
--- Hit Control o to write file than Control x to exit file ---"
This part didn't come up at all... I saw a blank screen so I backed out of it.
and then....
"#locale-gen en_US en_US.UTF-8
#dpkg-reconfigure locales"
this part didn't work at all.
Added additional line to install locale [apt-get install locale]. I think this should resolve that.
tommymsw wrote:
"#wget http://voxel.dl.sourceforge.net/project … src.tar.gz"
Is not the full link (it is abbreviated) so I had to figure out the correct link and type it in manually.
Changed "http" to "sttp" so the full link is visible. There is a comment to change it back to "http".
tommymsw wrote:
"#git clone git://github.com/midgetspy/Sick-Beard.git"
didn't work and thus neither did the code to start sickbeard (but it did apparently make a sickbeard folder because it will not let me re-do the git part) says it already exists.
This did work. I believe that your startup command had the wrong syntax. Danfozzy corrected that.
tommymsw wrote:
Couch potato seemed to install fine.... but it shows a dead link when I try to view it in the browser.
No answer for this. I just tested it and works.
Last edited by Terrabyte (2012-02-25 15:23:49)
Offline