Always in "Pause" state

shwetha17

Member
May 24, 2018
785
0
16
Hello guys.

I'm having problem with adding torrents. I'm use a plugin for adding - "_getdir" (version 3.0 from dmrom), but I can't say - is the problem tied with that one.

Default path to downloading - /mnt/raid/
When I add a torrent without changing "save to" path - it's added normally and start downloading. But I'm need to set path as follow - /mnt/raid/<movie name>/
In this case torrent adding, but in "Pause" state, and don't react the Start button, stayed in pause.

Any suggestion?
 

somus1735

Member
May 25, 2018
833
0
16
В консоли rtorrent причину смотрите. Варианты:
1) Данная директория (/mnt/raid/<movie name>/) не существует.
2) rtorrent не имеет доступа на чтение/запись к данной директории.
 

shwetha17

Member
May 24, 2018
785
0
16
Большое спасибо за ответ!

Да, действительно - причина тривиальна - отсутствует <movie name>!!! Я был в полной уверенности, что <movie name> должена создаться, если я указываю ее как путь... Нет ли способа автоматизировать процесс, чтобы каждый раз не создавать по ssh папку для закачки? Для меня это принципиальный вопрос - я таким образом на ХД плеере вижу список фильмов, а не малопонятные названия торрентов, да еще и некоторые фильмы "как папка", а некоторые "как файл".

То есть в итоге должно получится примерно так (в /mnt/raid/)

/Кортекс/Cortex.2008.720p.BluRay.Rus.Fre.HDCLUB.mkv
/Лунная походка/Michael.Jackson.Moonwalker.1988.BluRay.1080p.VC-1.DTS-HD.MA5.1-CHDBits/….
 

jith45

Member
May 25, 2018
960
0
16
i seem to be having this exact same problem, mind revealing the answer for your english speaking users?

thanks much!
-rep
 

somus1735

Member
May 25, 2018
833
0
16
i seem to be having this exact same problem, mind revealing the answer for your english speaking users?
You must see reason of this in rTorrent console. Probably cases:
1) This path (/mnt/raid/<movie name>/) doesn't exist.
2) rtorrent hasn't access to this path for read/write.

2swasher:
I will think about this.
 

das329717

Member
May 25, 2018
928
0
16
If all torrents start off in paused, it's because the download path doesn't exist or your rtorrent user doesn't have write access.

If a torrent downloads fine but then goes to pause when it tries to seed, this is due a watch directory error.

If most torrents worrk but SOME start in pause....this is a bad torrent (i've seen a few like this)
 

dsouvik215

Member
May 25, 2018
896
0
16
Hello,

You need to add permission for the directory 755 or 777 should be the permission,and U need admin rights to do that.

You have to set it with sudo chmod -R 755 /your directory path
 

shwetha17

Member
May 24, 2018
785
0
16
[SOLUTION]

Torrents stay in pause if download path don't exist (in my case). It's happens because I want to keep movie in their own folders, example:
/mnt/raid/ - default download path
/mnt/raid/Кортекс/Cortex.2008.720p.BluRay.Rus.Fre.HDCLUB.mkv
/mnt/raid/Лунная походка/Michael.Jackson.Moonwalker.1988.BluRay.1080p.VC-1.DTS-HD.MA5.1-CHDBits/....

where "Кортекс" and "Лунная походка" - movie name, and these folders not present on the server. Earlier I must go on server via ssh and create this folder by hands for each torrent.

For automatically create this folders while adding torrents, add this line into .rtorrent.rc:

Code:
system.method.set_key=event.download.inserted_new,create_struct,"d.open= ; f.multicall=default,\"execute={sh,/home/<user>/creator.sh,$f.get_frozen_path=}\""
Then create creator.sh script. His location may be vary, but мake sure that it can execute:

Code:
#!/bin/sh

dir=`dirname "${1}"`
mkdir -p "${dir}"
This method is worked fine for me!

Original post from Novik. Thank you Novik again! smiley.gif
 

somus1735

Member
May 25, 2018
833
0
16
Good to hear it works for you now ... BUT :


All my movies are in it's own folder , and I never have this problem .. everything starts OK for me

So might it be a permission issue you are facing ?
 

jith45

Member
May 25, 2018
960
0
16
yah, this is strange. This issue is only caused by 3 things:

permissions issues
download path does not exist
torrent which is flawed in some way
 

das329717

Member
May 25, 2018
928
0
16
[SOLUTION]

Torrents stay in pause if download path don't exist (in my case). It's happens because I want to keep movie in their own folders, example:
/mnt/raid/ - default download path
/mnt/raid/Кортекс/Cortex.2008.720p.BluRay.Rus.Fre.HDCLUB.mkv
/mnt/raid/Лунная походка/Michael.Jackson.Moonwalker.1988.BluRay.1080p.VC-1.DTS-HD.MA5.1-CHDBits/....

where "Кортекс" and "Лунная походка" - movie name, and these folders not present on the server. Earlier I must go on server via ssh and create this folder by hands for each torrent.

For automatically create this folders while adding torrents, add this line into .rtorrent.rc:

Code:
system.method.set_key=event.download.inserted_new,create_struct,"d.open= ; f.multicall=default,\"execute={sh,/home/<user>/creator.sh,$f.get_frozen_path=}\""
Then create creator.sh script. His location may be vary, but мake sure that it can execute:

Code:
#!/bin/sh

dir=`dirname "${1}"`
mkdir -p "${dir}"
This method is worked fine for me!

Original post from Novik. Thank you Novik again! smiley.gif
I'm pretty new to Linux, but this looks like exactly what I need. how does one create a "creator.sh" and what do you do with it once created?
 

dsouvik215

Member
May 25, 2018
896
0
16
use a text editor

vi
nano
vim
ee

theres bound to be one you like


create the file
then chmod +x to make it exectuable.
 

shwetha17

Member
May 24, 2018
785
0
16
Since update to rtorrent 0.8.9 problem is rise again...

As previously, problem appear only for torrent which contain SUBFOLDER. Torrent with only files work okay, folder create sucessfully.
yah, this is strange. This issue is only caused by 3 things:

permissions issues
download path does not exist
torrent which is flawed in some way
1 - not, becouse torrent without subfolder start okey, and parent directory create okey also.
2 - path the same for all torrent - /mnt/raid/video, but I want to CREATE parent directory automatically (it's dont exist at the moment of torrent adding)
3 - it's all from the same respected tracker - hd club

Novik help please!!! ))

How to make it work?!

Code:
system.method.set_key=event.download.inserted_new,create_struct,"d.open= ; f.multicall=default,\"execute={sh,/home/rtorrent/creator.sh,$f.get_frozen_path=}\""
 

jith45

Member
May 25, 2018
960
0
16
what should i do in this matter
??
??
??
When I add a torrent without changing "save to" path -
it's added normally and start downloading.
But I'm need to set path as my wish........ sad.gif sad.gif sad.gif
 

das329717

Member
May 25, 2018
928
0
16
Здравствуйте!
Проблема та же. Некоторые торренты закачиваются нормально, например этот:
http://rutracker.org/forum/viewtopic.php?t=3938084
А например вот этот переходит в паузу и не закачивается:
http://rutracker.org/forum/viewtopic.php?t=4328359
FreeBSD 9.0. rtorrent-0.9.2_1 (из портов), rutorrent-3.5
Пробовал проделывать всё, что написано в этом топике -- не помогло.
Подскажите, пожалуйста, куда ещё рыть можно?
 

das329717

Member
May 25, 2018
928
0
16
rtorrent.rc
Code:
min_peers = 40
max_peers = 400
download_rate = 0
upload_rate = 1000
directory = /usr/home/torrents
session = /usr/home/torrents/session
port_range = 6890-6900
port_random = no
check_hash = yes
use_udp_trackers = yes
dht = auto
scgi_port = 127.0.0.1:33333
Остальное всё по умолчанию.
Права в каталог /usr/home/torrents и /usr/home/torrents/session поставил 777
rutorrent стоит со всеми плагинами, которые доступны тут:
http://code.google.com/p/rutorrent/downloads/list
Вэб-серевер nginx