uTorrent Docker Assistance


Recommended Posts

Squid has released an excellent plugin to convert any registered docker into one that is compatible with unRAID: http://lime-technology.com/forum/index.php?topic=38879.0

 

With that in mind i though i'd give a go of setting up a docker that surprisingly hasn't been created yet...uTorrent.

 

A quick search with the plugin shows a couple of options but the one with the most complete details is https://registry.hub.docker.com/u/reines/docker-utorrent.

 

FROM reines/ubuntu_multiverse
MAINTAINER Jamie Furness <[email protected]>

# Install Dependencies
RUN apt-get install -qy libssl0.9.8

# Install uTorrent
RUN mkdir /opt/utserver && curl -L http://download-new.utorrent.com/os/linux-x64-ubuntu-13-04/track/beta/endpoint/utserver/ | tar zxf - -C /opt/utserver
RUN ln -s /opt/utserver/$(ls /opt/utserver/|tail -1) /opt/utserver/latest

# Add configuration
VOLUME /etc/utserver
ADD utserver.conf /etc/utserver/utserver.conf

VOLUME /watchdir
VOLUME /downloads
VOLUME /tmp/utserver

# Expose WebUI, torrent port
EXPOSE 8080
EXPOSE 6881

CMD /opt/utserver/latest/utserver -settingspath /opt/utserver/latest -configfile /etc/utserver/utserver.conf -logfile /etc/utserver/utserver.log

 

After a successful conversion we're left with adding in the additional parameters...and what i believe i fill in correctly doesn't seem to work.

 

Can someone who has experience in how these things work attempt to get this running please?

 

Link to comment

yeah, i created that...well i took it from my current utorrent plugin and it then outputs errors:

 

[17:33:34] Locale C
[17:33:34] File not found during integrity check: /opt/utserver/latest/settings.dat
[17:33:34] File not found during integrity check: /opt/utserver/latest/settings.dat.new
[17:33:34] File not found during integrity check: /opt/utserver/latest/settings.dat.old
[20150222 17:33:34] File not found during integrity check: /opt/utserver/latest//dht_feed.dat
[20150222 17:33:34] File not found during integrity check: /opt/utserver/latest//dht_feed.dat.new
[20150222 17:33:34] File not found during integrity check: /opt/utserver/latest//dht_feed.dat.old
[20150222 17:33:34] computer id: 58248D7168A1B1354289E07D6B4A2CFD2634CC98
[20150222 17:33:34] total physical memory 536870912 max disk cache 33554432
[20150222 17:33:34] File not found during integrity check: /opt/utserver/latest//dht.dat
[20150222 17:33:34] File not found during integrity check: /opt/utserver/latest//dht.dat.new
[20150222 17:33:34] File not found during integrity check: /opt/utserver/latest//dht.dat.old
[20150222 17:33:34] File not found during integrity check: /opt/utserver/latest//rss.dat
[20150222 17:33:34] File not found during integrity check: /opt/utserver/latest//rss.dat.new
[20150222 17:33:34] File not found during integrity check: /opt/utserver/latest//rss.dat.old
[20150222 17:33:34] Using IP address 172.17.0.20
[20150222 17:33:34] File not found during integrity check: /opt/utserver/latest//resume.dat
[20150222 17:33:34] File not found during integrity check: /opt/utserver/latest//resume.dat.new
[20150222 17:33:34] File not found during integrity check: /opt/utserver/latest//resume.dat.old

 

 

it's as though the install files aren't downloading or they cannot be seen

 

All the conf file has is:

 

#Configuration setting file for uTorrent for Linux
#
#HTTP port for WebUI access
ut_webui_port: 8003
#
#Torrent files location
dir_torrents: /mnt/cache/dockerapps/utorrent/install/torrents
#Location for completed downloads
dir_completed: /mnt/user/Processing/Sickbeard/Seeding
#
#Temporary files location
dir_active: /mnt/cache/dockerapps/utorrent/temp
#

Link to comment

I have no idea.  I quickly tried a couple of the other utorrents out on docker hub, and none of them seemed to work.  Maybe try playing around with the priviledged / bind / network settings.

 

All I can say is that the script does work.  I can pull random copies of sonaar / sickbeard / cp, etc and the UI does load up.

Link to comment

Looking closer at the conf file you posted, its referencing port 8003 for the UI, but that port is not exposed in his dockerfile.

 

You'll have to manually add that port to the template through dockerMan

 

yep, i did that ;D

 

Your plugin is working great, i've used it for a few other apps...maybe these dockers are simply just broken.

Link to comment

In that case, I would have personally started with the ones that already have templates made for them - if nothing else at least the are almost guaranteed to work and have support threads here.

 

btw, there are updates to my plugin.  Mainly affecting the search component, but depending upon when you grabbed it there also was a bug on the convert side.

Link to comment
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.