Unable to connect mylar to seedbox

Information and Tutorials on features in Mylar and how to use it
Post Reply
diluzio91
Posts: 2
Joined: Mon Apr 11, 2016 3:45 am

Unable to connect mylar to seedbox

Post by diluzio91 »

So mylar is the final piece of my auto torrent trinity, and I can't seem to get it to hook in to my seedbox for use with torrents. I'm using rtorrent on the seedbox. My settings are as follows.

http://i.imgur.com/oSREnBy.png

I was able to get sickrage and couch potato to hook in to the seedbox without any problems. I can't find much online for setting up mylar with whatbox.
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Unable to connect mylar to seedbox

Post by evilhero »

Have you tried removing the 'https://' from the Seedbox Host field? Mylar connects to your seedbox via SFTP - so specifying an https protocol would cause some issues.

Also, you need to ensure that you have Paramiko installed on the machine running Mylar. Paramiko is just a python interface for accessing sites via the ssh2 protocol (and some other related protocols). Although if Mylar can't detect it when it tries to send items to your watch directory, you'll see an error in your logs indicating that it's required.

There's also a new feature that was just released into the wild of the development branch, but it's still a WIP.
If your whatbox supports RPC via rtorrent, and you're on the development branch - you can add torrents directly into your client as well as specifying label & directory. It's not within the GUI atm, because it just got pushed out a few days ago and it's really experimental (however, I've been using it without any problems for the last month). Here's how you can set it up:
- (you need to be on the development branch for this)
- first shutdown mylar.
- edit the config.ini
- find the rtorrent_ entries. and fill them in as appropriate.
-rtorrent_host field = enter in your RPC info as part of the entire url ( ie. rtorrent_host = https://mywhatbox.ca:80/evilhero/RPC1 )
- rtorrent_username & rtorrent_password = your rutorrent user/pass
- rtorrent_startonload is either 1 (enabled) / 0 (disabled) = if enabled, Mylar will start the torrent on loading it, if disabled, mylar will not start the torrents and they will be in a paused state.
- rtorrent_directory - set your rtorrent directory to where Mylar will be downloading the torrent file(s) to.
- save the config, and start Mylar.
diluzio91
Posts: 2
Joined: Mon Apr 11, 2016 3:45 am

Re: Unable to connect mylar to seedbox

Post by diluzio91 »

So i feel like i'm going crazy, where is the config file located? I'm using the freenas plugin, but can't find the config.ini anywhere.

Found it, located in /var/db/mylar/

I'm not seeing rtorrent settings despite being on the development branch. This is what I have for my config file (with passwords etc changed to redacted.

Code: Select all

[General]
config_version = 5
dbchoice = sqlite3
dbuser = ""
dbpass = ""
dbname = ""
comicvine_api = None
cvapi_count = 0
cvapi_time = 2016-04-11 11:27:05
http_port = 8090
http_host = 0.0.0.0
http_username = ""
http_password = ""
http_root = /
enable_https = 0
https_cert = ""
https_key = ""
https_force_on = 0
api_enabled = 0
api_key = ""
launch_browser = 1
auto_update = 0
log_dir = /var/db/mylar/logs
max_logsize = 1000000
logverbose = 0
git_path = ""
cache_dir = /var/db/mylar/cache
annuals_on = 0
cv_only = 1
cv_onetimer = 1
check_github = 1
check_github_on_startup = 1
check_github_interval = 360
destination_dir = ""
multiple_dest_dirs = ""
create_folders = 1
chmod_dir = 0777
chmod_file = 0660
usenet_retention = 1500
alt_pull = 0
search_interval = 360
nzb_startup_search = 0
libraryscan = 1
libraryscan_interval = 300
add_comics = 0
comic_dir = ""
imp_move = 0
imp_rename = 0
imp_metadata = 0
enable_check_folder = 0
download_scan_interval = 5
check_folder = ""
interface = default
dupeconstraint = filesize
autowant_all = 0
autowant_upcoming = 1
preferred_quality = 0
comic_cover_local = 0
correct_metadata = 0
move_files = 0
rename_files = 0
folder_format = $Series ($Year)
file_format = $Series $Issue ($Year)
blackhole_dir = ""
replace_spaces = 0
replace_char = .
zero_level = 0
zero_level_n = none
lowercase_filenames = 0
ignore_havetotal = 0
snatched_havetotal = 0
syno_fix = 0
search_delay = 1
grabbag_dir = ""
highcount = 0
read2filename = 0
send2read = 0
tab_enable = 0
tab_host = ""
tab_user = ""
tab_pass = ""
tab_directory = ""
storyarcdir = 0
copy2arcdir = 0
use_minsize = 0
minsize = ""
use_maxsize = 0
maxsize = ""
add_to_csv = 1
cvinfo = 0
log_level = 0
enable_extra_scripts = 0
extra_scripts = ""
enable_pre_scripts = 0
pre_scripts = ""
post_processing = 1
post_processing_script = ""
weekfolder = 0
locmove = 0
newcom_dir = ""
fftonewcom_dir = 0
enable_meta = 0
cmtagger_path = ""
ct_tag_cr = 1
ct_tag_cbl = 1
ct_cbz_overwrite = 0
unrar_cmd = None
update_ended = 0
indie_pub = 75
biggie_pub = 55
upcoming_snatched = 1
enable_rss = 1
rss_checkinterval = 20
rss_lastrun = 2016-04-11 11:37:30
failed_download_handling = 0
failed_auto = 0
provider_order = ,
nzb_downloader = 0
[Torrents]
enable_torrents = 1
minseeds = 0
torrent_local = 0
local_watchdir = ""
torrent_seedbox = 1
seedbox_host = chicken.whatbox.ca
seedbox_port = 22
seedbox_user = ***************
seedbox_pass = ********************
seedbox_watchdir = /watch/
enable_torrent_search = 0
enable_kat = 0
kat_proxy = ""
enable_32p = 0
mode_32p = 0
passkey_32p = ""
rssfeed_32p = ""
username_32p = ""
password_32p = ""
snatchedtorrent_notify = 0
[SABnzbd]
sab_host = http://http:/
sab_username = ""
sab_password = ""
sab_apikey = ""
sab_category = ""
sab_priority = Default
sab_directory = ""
[NZBGet]
nzbget_host = ""
nzbget_port = ""
nzbget_username = ""
nzbget_password = ""
nzbget_category = ""
nzbget_priority = Default
nzbget_directory = ""
[NZBsu]
nzbsu = 0
nzbsu_uid = ""
nzbsu_apikey = ""
[DOGnzb]
dognzb = 0
dognzb_apikey = ""
[Experimental]
experimental = 0
altexperimental = 1
[Newznab]
newznab = 0
extra_newznabs = ,
[Prowl]
prowl_enabled = 0
prowl_keys = ""
prowl_onsnatch = 0
prowl_priority = 0
[NMA]
nma_enabled = 0
nma_apikey = ""
nma_priority = 0
nma_onsnatch = 0
[PUSHOVER]
pushover_enabled = 0
pushover_apikey = ""
pushover_userkey = ""
pushover_priority = 0
pushover_onsnatch = 0
[BOXCAR]
boxcar_enabled = 0
boxcar_onsnatch = 0
boxcar_token = ""
[PUSHBULLET]
pushbullet_enabled = 0
pushbullet_apikey = ""
pushbullet_deviceid = None
pushbullet_onsnatch = 0
[Raw]
raw = 0
raw_provider = None
raw_username = None
raw_password = None
raw_groups = None

User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Unable to connect mylar to seedbox

Post by evilhero »

I don't think thats the correct config.ini - if you're on the development branch and fairly recent, you should see a git_branch option, as well as the rtorrent fields, neither of which are in that config.

So either it's storing the config elsewhere, or you're running a really outdated version of mylar and it's reporting incorrectly?
Post Reply