Forum

Full Version: Need help with config of XBian + CouchPotato + Sickbeard + Transmission
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,
I recently bought Raspberry Pi B, and i wanted to use this as my multi media center, but I have some issues, maybe someone can help me.
So, from the start I want to use Xbian with couchpotato, sickbeard and transmission (or rtorrent). I tried installing it from packages, but it couldnt run with xbmc and didn't autostart. So i flashed my SD Card with Xbian 1beta2 (windows installer) once more, and started from the start. Next i used tutorial from:
http://forum.xbian.org/thread-1018.html
So after flashing my new xbian i logged on SSH as root and:
sudo apt-get update
sudo apt-get install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" xbian-package-download
installed correctly but also had problems with running those services all at the time (I disabled autostart for nzbget and headphones cause I don't use them)
So i tried
sudo apt-get upgarde
then my usb keybord stopped working and also did'nt fixed the problem with running couchpotato,xbmc,transmission and sickbeard at a time. Is there any chance to get them working properly?
I'll use TL-WN725N wifi dongle.

Really appreciate any help
Best wishes
koper89
what do you mean by: I had problems with running those services (xbmc, sb, transmission, etc.) all at the time. what is the problem? you have to be more precise if you want us to help you
Ok, so when i rebooted my xbian. CouchPotato and Sickbeard had Autostart ON, but they were stopped. I could'nt start them through SSH, but could throuhg XBMC Xbian Config on my tvscreen, after starting them, the xbmc was not responsive. And as i said after installing them from package and typing apt-get upgrade my USB was not working at all.
(18th Jan, 2014 08:34 PM)koper89 Wrote: [ -> ]I could'nt start them through SSH

which command did you use in the shell?
I have NZBGet and SickBeard running too on my XBian setup and everything works fine (including autostart).
I can easily restart sickbeard/nzbget with the following command
Terminal
sudo service sickbeard restart
you can also stop/start the service by using this word instead of "restart" at the end.

how long did you wait after booting up XBian? SickBeard and CouchPotato can take some time to load up because it checks your whole database and your Search Providers for new stuff during startup.
best thing after Startup is to ssh into your Pi. then fire up xbian-config from the command line. Head over to services and look if your services are running if you are unsure. then wait some time and try to connect to the webinterfaces. (make sure you use the right address in your browser http://IPOFYOURXBIAN:PORT)
Hi, I started from the start and now firstly upgardaded xbian, then install package. And installed Par3 Download package
Next i switched off autostart for NZBget and Headphones. CouchPotato and Transmission seemed ok, but Sickbeard is crashing or something after some time and i need to restart it to get it working once again.
And also transmission speed is pretty low its between 200-1600kB/s

SickBeard log (last few lines)
2014-01-18 19:12:59 DB CP Server Thread-4 :: sickbeard.db: SELECT h.*, show_name FROM history h, tv_shows s WHERE h.showid=s.tvdb_id ORDER BY date DESC LIMIT ? with args [100]
2014-01-18 19:12:59 DB CP Server Thread-4 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,6) AND season != 0 and episode != 0 AND airdate <= 735251
2014-01-18 19:12:59 DB CP Server Thread-4 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE season != 0 and episode != 0 AND (airdate != 1 OR status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,2,3276802,202,402,102,802,​12802,25602,1602,3202,6402,9,3276809,209,409,109,809,12809,25609,1609,3209,6409,​6)) AND airdate <= 735251 AND status != 7
2014-01-18 19:13:03 DB CP Server Thread-4 :: cache.db: SELECT * FROM network_timezones
2014-01-18 19:13:03 DB CP Server Thread-4 :: sickbeard.db: SELECT *, tv_shows.status as show_status FROM tv_episodes, tv_shows WHERE season != 0 AND airdate >= ? AND airdate < ? AND tv_shows.tvdb_id = tv_episodes.showid AND tv_episodes.status NOT IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) with args [735251, 735258, 4, 3276804, 204, 404, 104, 804, 12804, 25604, 1604, 3204, 6404, 2, 3276802, 202, 402, 102, 802, 12802, 25602, 1602, 3202, 6402, 6, 7]
2014-01-18 19:13:04 DB CP Server Thread-4 :: sickbeard.db: SELECT *, tv_shows.status as show_status FROM tv_episodes outer_eps, tv_shows WHERE season != 0 AND showid NOT IN (?,?) AND tv_shows.tvdb_id = outer_eps.showid AND airdate = (SELECT airdate FROM tv_episodes inner_eps WHERE inner_eps.season != 0 AND inner_eps.showid = outer_eps.showid AND inner_eps.airdate >= ? ORDER BY inner_eps.airdate ASC LIMIT 1) AND outer_eps.status NOT IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) with args [272128, 262094, 735258, 4, 3276804, 204, 404, 104, 804, 12804, 25604, 1604, 3204, 6404, 2, 3276802, 202, 402, 102, 802, 12802, 25602, 1602, 3202, 6402]
2014-01-18 19:13:04 DB CP Server Thread-4 :: sickbeard.db: SELECT *, tv_shows.status as show_status FROM tv_episodes, tv_shows WHERE season != 0 AND tv_shows.tvdb_id = tv_episodes.showid AND airdate < ? AND airdate >= ? AND tv_episodes.status = ? AND tv_episodes.status NOT IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) with args [735251, 735244, 3, 4, 3276804, 204, 404, 104, 804, 12804, 25604, 1604, 3204, 6404, 2, 3276802, 202, 402, 102, 802, 12802, 25602, 1602, 3202, 6402, 6, 7]
2014-01-18 19:13:04 DB CP Server Thread-4 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,6) AND season != 0 and episode != 0 AND airdate <= 735251
2014-01-18 19:13:04 DB CP Server Thread-4 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE season != 0 and episode != 0 AND (airdate != 1 OR status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,2,3276802,202,402,102,802,​12802,25602,1602,3202,6402,9,3276809,209,409,109,809,12809,25609,1609,3209,6409,​6)) AND airdate <= 735251 AND status != 7
2014-01-18 19:13:12 DB CP Server Thread-4 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,6) AND season != 0 and episode != 0 AND airdate <= 735251
2014-01-18 19:13:12 DB CP Server Thread-4 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE season != 0 and episode != 0 AND (airdate != 1 OR status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,2,3276802,202,402,102,802,​12802,25602,1602,3202,6402,9,3276809,209,409,109,809,12809,25609,1609,3209,6409,​6)) AND airdate <= 735251 AND status != 7
2014-01-18 19:13:29 DB CP Server Thread-4 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,6) AND season != 0 and episode != 0 AND airdate <= 735251
2014-01-18 19:13:29 DB CP Server Thread-4 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE season != 0 and episode != 0 AND (airdate != 1 OR status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,2,3276802,202,402,102,802,​12802,25602,1602,3202,6402,9,3276809,209,409,109,809,12809,25609,1609,3209,6409,​6)) AND airdate <= 735251 AND status != 7
2014-01-18 19:17:57 DB CP Server Thread-4 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,6) AND season != 0 and episode != 0 AND airdate <= 735251
2014-01-18 19:17:58 DB CP Server Thread-4 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE season != 0 and episode != 0 AND (airdate != 1 OR status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,2,3276802,202,402,102,802,​12802,25602,1602,3202,6402,9,3276809,209,409,109,809,12809,25609,1609,3209,6409,​6)) AND airdate <= 735251 AND status != 7
2014-01-18 19:17:58 DB CP Server Thread-5 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,6) AND season != 0 and episode != 0 AND airdate <= 735251
2014-01-18 19:17:58 DB CP Server Thread-5 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE season != 0 and episode != 0 AND (airdate != 1 OR status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,2,3276802,202,402,102,802,​12802,25602,1602,3202,6402,9,3276809,209,409,109,809,12809,25609,1609,3209,6409,​6)) AND airdate <= 735251 AND status != 7
2014-01-18 19:20:55 DB CP Server Thread-5 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,6) AND season != 0 and episode != 0 AND airdate <= 735251
2014-01-18 19:20:55 DB CP Server Thread-5 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE season != 0 and episode != 0 AND (airdate != 1 OR status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,2,3276802,202,402,102,802,​12802,25602,1602,3202,6402,9,3276809,209,409,109,809,12809,25609,1609,3209,6409,​6)) AND airdate <= 735251 AND status != 7
2014-01-18 19:21:03 DB CP Server Thread-5 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,6) AND season != 0 and episode != 0 AND airdate <= 735251
2014-01-18 19:21:03 DB CP Server Thread-5 :: sickbeard.db: SELECT COUNT(*) FROM tv_episodes WHERE season != 0 and episode != 0 AND (airdate != 1 OR status IN (4,3276804,204,404,104,804,12804,25604,1604,3204,6404,2,3276802,202,402,102,802,​12802,25602,1602,3202,6402,9,3276809,209,409,109,809,12809,25609,1609,3209,6409,​6)) AND airdate <= 735251 AND status != 7
2014-01-18 19:47:23 DEBUG FINDPROPERS :: Starting new thread: FINDPROPERS
2014-01-18 19:47:23 DEBUG SHOWUPDATER :: Starting new thread: SHOWUPDATER
2014-01-18 19:47:24 DEBUG FINDPROPERS :: Checking proper time
2014-01-18 19:47:24 DEBUG SHOWUPDATER :: Checking update interval
2014-01-18 19:47:37 DEBUG SEARCH :: Starting new thread: SEARCH
2014-01-18 19:47:38 INFO SEARCHQUEUE-RSS-SEARCH :: Changing all old missing episodes to status WANTED
2014-01-18 19:47:38 DB SEARCHQUEUE-RSS-SEARCH :: sickbeard.db: SELECT * FROM tv_episodes WHERE status = ? AND airdate < ? with args [1, 735251]
2014-01-18 19:47:38 INFO SEARCHQUEUE-RSS-SEARCH :: Beginning search for new episodes on RSS
2014-01-18 19:47:38 INFO SEARCHQUEUE-RSS-SEARCH :: Searching all providers for any needed episodes
2014-01-18 19:47:39 DB SEARCHQUEUE-RSS-SEARCH :: cache.db: SELECT time FROM lastUpdate WHERE provider = ? with args ['btn']
2014-01-18 19:47:39 DB SEARCHQUEUE-RSS-SEARCH :: cache.db: SELECT time FROM lastUpdate WHERE provider = ? with args ['btn']
2014-01-18 19:47:39 WARNING SEARCHQUEUE-RSS-SEARCH :: The last known successful update on BTN was more than 24 hours ago, only trying to fetch the last 24 hours!
@koper89

if you use forced encryption, then 1600kbps is very nice. you won't get much more. RPI has weak cpu.
I'm getting around 1700kbps in NZBGet with SSL encryption turned on. I'm using it behind a powerline adapter anyways.. but let's be honest. for a quiet little box at this price point it's not bad at all. I'm actually pretty impressed that I can have SB, NZBGet and my own scripts running in the background while listening to music/watching TV through XBMC Smile
because it doesn't need much energy you can also leave it on in the night to download without having to worry about the bill or the environment
It's not such a weak processor here I had tomatoUSB firmware on my WNR3500Lv2 router, I installed rtorrent+rutorrent (specs of routere 480Mhz, 128MB ram), and without any problems I was downloading 30 torrents at a time with max speed.
I think rtorrent is much lighter than transmission but hava a lot of depandancies if you want to use rutorrent.
ok, yes, q3 is running so it can't be "weak" Smile)

I was just pointing to global picture - cpu pushed on the limit with encryption, then writing to usb storage at the same time (and considering that usb here is not usb, but again cpu is managing all the data streams - and we know there is dramatic issue on RPI with USBs).

but I would surprised if 3500L would be faster there. I remember when I had WL500 asus, later linksys with quite fast CPU. but the problem always was at getting the data out of the slow device at reasonable speeds. impossible. solution is to put it directly as it is downloading to network storage. but if you have such device 24/7, why bother with those slow devices like routers or pocket players (sorry, pocket PCs).
Hi,
It's because I want to use couchpotato and sickbeard, but it's too much for him.
BTW.
I managed to get rtorrent with rutorrent running on xbian, using webserver package, But to start it i need to go to /usr/bin and run rtorrent.
But don't know how to make it autostart, and how to make priorities likie in V3 AIO download package. Can someone point me where can I found those information? After I finish all this I can make a guide how to start rtorrent with rutorrent on our devices, I think It'll be much lighter than transmission so let's hope it's true.
Ok so I made my guide to rtorrent on what i have done till now:
http://forum.xbian.org/thread-2037-post-20094.html#pid20094

So now i need only help on making priorities as in download package 3
@koper89

for starting you can take simplest upstart script which is used for xbian-package-vnc-server package. directly there you can nice the process. binary itself can be started with "ionice" command which is also setting io niceness.
Reference URL's