Forum
[Part 1] Download torrent & newsserver package - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Testing & Experimental (/forum-21.html)
+--- Thread: [Part 1] Download torrent & newsserver package (/thread-196.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


RE: Download torrent & newsserver package - kas_27_es - 17th Feb, 2013 03:29 AM

Hi @CurlyMo,

The script in /etc/init.d for transmission defines this variable:
Code:
TRANSMISSION_ARGS=" -g /usr/local/etc/transmission/"
but in this directory is not defined the correct structure of folders.

In consecuence, every time I start a download transmission web pauses the torrent because there is no resume forlder.

I'm testing now and chaged TRANSMISSION_ARGS with:
Code:
" -g /home/xbian/.config/transmission"
. That resolves the problem.

I think, there're two ways:
1- Perhaps, prepare
Code:
/usr/local/etc/transmission/
with the correct structure.
2- Change TRANSMISSION_ARGS variable with
Code:
" -g /home/xbian/.config/transmission"

Thanks a lot for your work.

I hope this post could help.

Thanks,

Kas.


RE: Download torrent & newsserver package - CurlyMo - 17th Feb, 2013 03:34 AM

What is the correct structure of folder? Because the new location just is /usr/local/etc/transmission/


RE: Download torrent & newsserver package - kas_27_es - 17th Feb, 2013 03:47 AM

Well, I'll try to explain what I mean:
This is what is in the "/usr/local/etc/transmission/":

Terminal
root@xbian:/usr/local/etc/transmission# ls
total 12
drwxr-sr-x 2 root staff 4096 Feb 16 17:41 .
drwxrwsr-x 3 root staff 4096 Feb 14 19:52 ..
-rwxrwxrwx 1 root root 2320 Feb 16 16:55 settings.json
root@xbian:/usr/local/etc/transmission#

And this is what is in folder "/home/xbian/.config/transmission":
Terminal
root@xbian:/home/xbian/.config/transmission# ls
total 32
drwxr-xr-x 5 xbian xbian 4096 Feb 16 17:41 .
drwxr-xr-x 3 xbian xbian 4096 Feb 14 19:03 ..
drwxr-xr-x 2 xbian xbian 4096 Feb 14 19:03 blocklists
-rw------- 1 xbian xbian 616 Feb 14 19:46 dht.dat
drwxr-xr-x 2 xbian xbian 4096 Feb 16 17:41 resume
-rw------- 1 xbian xbian 2400 Feb 16 17:11 settings.json
-rw------- 1 xbian xbian 140 Feb 16 17:41 stats.json
drwxr-xr-x 2 xbian xbian 4096 Feb 16 17:12 torrents
root@xbian:/home/xbian/.config/transmission#

I'm not sure, but IMHO folder "resume" must exist.


RE: Download torrent & newsserver package - CurlyMo - 17th Feb, 2013 03:51 AM

This is in the transmission folder i'm debugging Wink:
Code:
root@xbian:/media/usb0# ls -Al /usr/local/etc/transmission/
total 20
drwxrwsrwx 2 xbian staff 4096 Feb 16 18:21 blocklists
drwxrwsrwx 2 xbian staff 4096 Feb 16 18:49 resume
-rw------- 1 xbian staff 2375 Feb 16 18:49 settings.json
-rw------- 1 xbian staff  139 Feb 16 18:49 stats.json
drwxrwsrwx 2 xbian staff 4096 Feb 16 18:22 torrents



RE: Download torrent & newsserver package - kas_27_es - 17th Feb, 2013 03:57 AM

Confused Oh...

Well... Then, I don't understand what happened...

Why are not these folders and files in my installation?

I followed the instructions of de FP, step by step...

Huh


RE: Download torrent & newsserver package - CurlyMo - 17th Feb, 2013 03:59 AM

I'm debugging thing locally, so that means i already found that bug. I'm now looking that the others.


RE: Download torrent & newsserver package - kas_27_es - 17th Feb, 2013 04:06 AM

Fine,

I've solved it changing the service script Smile


RE: Download torrent & newsserver package - CurlyMo - 17th Feb, 2013 04:24 AM

I will make a new deb package when i get all bugs fixed in transmission


RE: Download torrent & newsserver package - CurlyMo - 17th Feb, 2013 06:56 AM

I've uploaded a new transmission for testing.


RE: Download torrent & newsserver package - kraleksandr - 17th Feb, 2013 02:55 PM

(17th Feb, 2013 06:56 AM)CurlyMo Wrote:  I've uploaded a new transmission for testing.

It works! Smile


RE: Download torrent & newsserver package - CurlyMo - 17th Feb, 2013 07:17 PM

Can the rest confirm?


RE: Download torrent & newsserver package - angriest - 17th Feb, 2013 08:27 PM

(17th Feb, 2013 07:17 PM)CurlyMo Wrote:  Can the rest confirm?

Just reinstalled the latest Transmission, and it seems to be working fine. Thanks.


RE: Download torrent & newsserver package - CurlyMo - 17th Feb, 2013 09:10 PM

So, these packages are publishable?


Re: RE: Download torrent & newsserver package - kas_27_es - 18th Feb, 2013 04:57 AM

(17th Feb, 2013 09:10 PM)CurlyMo Wrote:  So, these packages are publishable?

Hi @CurlyMo ,

I installed the transmission package as describes in FP, do I need to make an upgrade of my system or it's not necessary?

Thanks.


RE: Download torrent & newsserver package - CurlyMo - 18th Feb, 2013 05:04 AM

First or second part of the FP?