Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

utserver (uTorrent) Plugin for unRaid 5.0

Featured Replies

The install didn't work for me so I downloaded the package to my flash drive (/boot/config/plugins/utorrent-server-3.0-ubuntu-10.10-27079.tar.gz)  and modified the .plg a bit.

 

I replaced this:

 

#check current version and extract version and download URL
cd /tmp
wget -q -O linux http://www.utorrent.com/downloads/linux
VERSION="$(cat linux | grep maindownloadtitle | awk -F'[()]' '{print $2}')"
echo "Current Version $VERSION"
sleep 2
STABLE="$(cat linux | grep -o http://[^[]*.tar.gz | head -1)"
echo "Downloading $STABLE"
sleep 2
rm linux

# Create temporary directory to download and extract files in
mkdir /tmp/utinstall
cd /tmp/utinstall

# Download utserver and untar
wget -q -O utserver.tar.gz $STABLE

 

By this:

#check current version and extract version and download URL
cd /tmp
#wget -q -O linux http://www.utorrent.com/downloads/linux
#VERSION="$(cat linux | grep maindownloadtitle | awk -F'[()]' '{print $2}')"
#echo "Current Version $VERSION"
#sleep 2
#STABLE="$(cat linux | grep -o http://[^[]*.tar.gz | head -1)"
#echo "Downloading $STABLE"
#sleep 2
#rm linux

# Create temporary directory to download and extract files in
mkdir /tmp/utinstall
cd /tmp/utinstall

# Download utserver and untar
#wget -q -O utserver.tar.gz $STABLE
echo "Skip get, copy local file to install dir"
echo "cp /boot/config/plugins/utorrent-server-3.0-ubuntu-10.10-27079.tar.gz /tmp/utinstall/utserver.tar.gz"
cp /boot/config/plugins/utorrent-server-3.0-ubuntu-10.10-27079.tar.gz /tmp/utinstall/utserver.tar.gz

 

Not future proof, but it seems to work now.

 

G

  • Replies 227
  • Views 56.2k
  • Created
  • Last Reply

...but it seems to work now.

 

Of course I had to say that before doing a real test...  The "old" GUI is spinning forever and the "new" webUI isn't any better: "webUI is having trouble connecting to utorrent"

With all the headaches people seem to be having getting this to work why don't people just use Transmission which is still being actively developed and maintained? I actually think it's superior to utorrent. Definitely more lightweight and less resource intensive in my experience.

With all the headaches people seem to be having getting this to work why don't people just use Transmission which is still being actively developed and maintained? I actually think it's superior to utorrent. Definitely more lightweight and less resource intensive in my experience.

 

unless transmission started supporting vpn settings it's useless for a bittorrent client in this day and age of internet !!!

 

With all the headaches people seem to be having getting this to work why don't people just use Transmission which is still being actively developed and maintained? I actually think it's superior to utorrent. Definitely more lightweight and less resource intensive in my experience.

 

unless transmission started supporting vpn settings it's useless for a bittorrent client in this day and age of internet !!!

 

 

What's preventing you from just using a VPN client? There is a plugin for OpenVPN if your router doesn't already support it.

With all the headaches people seem to be having getting this to work why don't people just use Transmission which is still being actively developed and maintained? I actually think it's superior to utorrent. Definitely more lightweight and less resource intensive in my experience.

 

I was under the impression that it was not supported anymore.  I'll give it a try.

There is definitely a need for more than one torrent client, be it utorrent or something like deluge, as one needs multiple watch/download directories for things like CouchPotato, Sickbeard and general downloading.

 

Unless you are proficient in creating scripts I would like to see more clients for diversity.

 

P.S I've had this running flawlessly for several months now, so if there are any files that can be taken from my installation I'm happy to supply.

hey ockingshay,

 

i just upgraded from unraid 4.5 to 5.0b12.  the amount of user customizations that are available just blows my mind.  i have transmission set up, but i want to move towards a more automated way of downloading torrents.  Is utorrent better than transmission in terms of integration with sickbeard and couchpotato?

With all the headaches people seem to be having getting this to work why don't people just use Transmission which is still being actively developed and maintained? I actually think it's superior to utorrent. Definitely more lightweight and less resource intensive in my experience.

 

I was under the impression that it was not supported anymore.  I'll give it a try.

 

 

Not only is the person who created the plugin not even using unraid anymore, so he's no longer working on it/supporting it, the utorrent team hasn't updated the linux version of the software in over a year.

hey ockingshay,

 

i just upgraded from unraid 4.5 to 5.0b12.  the amount of user customizations that are available just blows my mind.  i have transmission set up, but i want to move towards a more automated way of downloading torrents.  Is utorrent better than transmission in terms of integration with sickbeard and couchpotato?

 

Transmission works well with couchpotato and sickbeard because you can set up the default download folder for sickbeard and then in couchpotato's advanced settings create another download folder.

 

Utorrent is alpha I believe and not supported on most private trackers, but you basically need 3 download folders for automation.

 

Personally I use utorrent for sickbeard and BTN (one of the few trackers that support alpha builds), Transmission for Couchpotato and PTP and transmission's default for everything else in accordance with hazel (mac app).

 

As said previously if you can create scripts, I'm sure there is a more elegant solution with one client, correct labelling and moving downloaded files to their respective post processing folders.

 

I would like to see the deluge method on this site made into a proper plugin for greater options, but the guy doesn't want to do it.

plugin was not installing utorrent

seems the link was changed on their site

it seems to be working now by changing it to its new location

 

change this

check current version and extract version and download URL
cd /tmp
wget -q -O linux http://www.utorrent.com/downloads/linux
VERSION="$(cat linux | grep maindownloadtitle | awk -F'[()]' '{print $2}')"
echo "Current Version $VERSION"
sleep 2
STABLE="$(cat linux | grep -o http://[^[]*.tar.gz | head -1)"
echo "Downloading $STABLE"
sleep 2
rm linux

 

to this

#check current version and extract version and download URL
cd /tmp
wget -q -O linux http://www.utorrent.com/downloads/complete/os/lin/track/alpha
VERSION="$(cat linux | grep maindownloadtitle | awk -F'[()]' '{print $2}')"
echo "Current Version $VERSION"
sleep 2
STABLE="$(cat linux | grep -o http://[^[]*.tar.gz | head -1)"
echo "Downloading $STABLE"
sleep 2
rm linux

 

  • 1 month later...

My config file keeps getting overwritten when I add the lines to setup remote access.. has anyone found a fix for this yet?

No solutions for this?

  • 3 weeks later...
  • Author

My config file keeps getting overwritten when I add the lines to setup remote access.. has anyone found a fix for this yet?

Hi Critical. Try adding your lines to write_utconfig() section of the plugin. You should easily figure it out.

If not, try this:

echo "#Remote access enable" >> $INSTALLDIR/utserver.conf
echo "uconnect_enable: 1" >> $INSTALLDIR/utserver.conf
echo "uconnect_username: yourusername" >> $INSTALLDIR/utserver.conf
echo "uconnect_password: yourpassword" >> $INSTALLDIR/utserver.conf
echo "#" >> $INSTALLDIR/utserver.conf

Not very elegant, as you are hardcoding the username/password into config, but should work.

The problem is, that the plugin is recreating utserver configuration file every time. There is an easy way to incorporate it into plugin config page, but since I don't have a way to test it I won't do this modification.

 

I found that sometimes utserver remote stops working, and the only way to fix it is to use another username/password combination.

This unfortunately requires manual editing of the config file/plugin, and I just stopped using it.

My config file keeps getting overwritten when I add the lines to setup remote access.. has anyone found a fix for this yet?

Hi Critical. Try adding your lines to write_utconfig() section of the plugin. You should easily figure it out.

If not, try this:

echo "#Remote access enable" >> $INSTALLDIR/utserver.conf
echo "uconnect_enable: 1" >> $INSTALLDIR/utserver.conf
echo "uconnect_username: yourusername" >> $INSTALLDIR/utserver.conf
echo "uconnect_password: yourpassword" >> $INSTALLDIR/utserver.conf
echo "#" >> $INSTALLDIR/utserver.conf

Not very elegant, as you are hardcoding the username/password into config, but should work.

The problem is, that the plugin is recreating utserver configuration file every time. There is an easy way to incorporate it into plugin config page, but since I don't have a way to test it I won't do this modification.

 

I found that sometimes utserver remote stops working, and the only way to fix it is to use another username/password combination.

This unfortunately requires manual editing of the config file/plugin, and I just stopped using it.

 

Thanks p4xel.. that fixed it so now my remote is working correctly...

  • 2 months later...

Interesting, glad to also see that they're gonna continue developing it as well. Ill give it a try tonight.

There is a new Linux version for utorrent server out !!!

µTorrent Server for Ubuntu 13.04 (3.3 build 30235)

http://www.utorrent.com/downloads/linux

anyone try it on unRAID?

 

Useful: go for Ubuntu 32-bit version.

I've tried installing it by hand and by editing the plg file the way it was done several posts before mine but no luck.

I cannot install it properly. I get only a couple of files installed but not the rest.

Something is broken.

Oh last but not the least: I was using the development series unRAIDServer-5.0.1-rc1-i386.zip

right, i got it going but the plugin needs some work from someone who is far better than me.

 

It's the debian 32bit version you want, which can be down here: http://download-new.utorrent.com/endpoint/utserver/os/linux-i386-debian-6-0/track/beta/

 

If i remove the downloading part of the plugin and manually run:

 

mkdir /tmp/utinstall

cd /tmp/utinstall

 

wget -q -O utserver.tar.gz wget http://download-new.utorrent.com/endpoint/utserver/os/linux-i386-debian-6-0/track/beta/

 

Then use unraid webgui to install it, it will pick up the downloaded and tarred file and launch the dameon

 

Has a swanky interface.

 

Is that enough information for someone to make this into a proper plugin?

 

 

*edit* The check current version which has been broken for a long time now needs changing....i don't know where it could grep to find the version number however

 

#check current version and extract version and download URL

cd /tmp

wget -q -O linux http://download-new.utorrent.com/endpoint/utserver/os/linux-i386-debian-6-0/track/beta/

VERSION="$(cat linux | grep maindownloadtitle | awk -F'[()]' '{print $2}')"

echo "Current Version $VERSION"

sleep 2

STABLE="$(cat linux | grep -o http://[^[]*.tar.gz | head -1)"

echo "Downloading $STABLE"

sleep 2

rm linux

I got it working by removing (well commenting out) the version checking part. I presume this is quite important so that it doesn't download every time upon reboot and overwrite data?

 

#check current version and extract version and download URL
#cd /tmp
#wget -q -O linux http://www.utorrent.com/downloads/linux
#VERSION="$(cat linux | grep maindownloadtitle | awk -F'[()]' '{print $2}')"
#echo "Current Version $VERSION"
#sleep 2
#STABLE="$(cat linux | grep -o http://[^[]*.tar.gz | head -1)"
#echo "Downloading $STABLE"
#sleep 2
#rm linux

# Create temporary directory to download and extract files in
mkdir /tmp/utinstall
cd /tmp/utinstall

# Download utserver and untar
wget -q -O utserver.tar.gz http://download-new.utorrent.com/endpoint/utserver/os/linux-i386-debian-6-0/track/beta/

#if [ ! -e "utserver.tar.gz" ]; then 
#	echo "Error: Downloading failed."
#	sleep 5
#	return
#fi

I thought that making a uTorrent client package for the unmenu addon would be a really good idea. The unmenu could handle all the download and installation procedures. I am now trying to replicate all the commands required for uTorrent installation and I am not getting much progress. Seems like the installation involves more than copying the downloaded files to some location and adding cfg files.

That's what I've got for now. The name of the file has to be utserver-unmenu-package.conf. Put it into unmenu folder.

PACKAGE_NAME uTorrent

PACKAGE_DESCR <b>uTorrent</b> is a lightweight and efficient BitTorrent client for Windows, Mac and Linux with many features
PACKAGE_URL http://download-new.utorrent.com/endpoint/utserver/os/linux-i386-debian-6-0/track/beta/
PACKAGE_FILE utorrent-server-3.3-debian-6.0-i386-30235.tar.gz

PACKAGE_EXTRA_URL http://forum.utorrent.com/img/avatars/
PACKAGE_EXTRA_FILE 120492.png

PACKAGE_INSTALLED /boot/config/plugins/utserver/utserver.cfg
PACKAGE_VARIABLE Service state||vSERVICE=disable||Disable or enable the uTorrent client service.
PACKAGE_VARIABLE Install directory||vINSTALLDIR=/boot/config/plugins/utserver/program||The directory where the program is located.
PACKAGE_VARIABLE Finished downloads directory||vDATADIR=/mnt/disk1/torrents/complete||The directory where finished downloads will be located.
PACKAGE_VARIABLE Incomplete downloads directory||vTEMPDIR=/mnt/disk1/torrents/temp||The directory for storing downloads in progress.
PACKAGE_VARIABLE PORT||vPORT=8003||The port to access remote GUI.
PACKAGE_VARIABLE Run as||vRUNAS=nobody||Run as this user.
# package installation in progress
PACKAGE_INSTALLATION tar -xf "${PACKAGE_DIRECTORY}"/utorrent-server-3.3-debian-6.0-i386-30235.tar.gz
# Get directory that files have been untared to and copy to $INSTALLDIR
PACKAGE_INSTALLATION SOURCEDIR="$(find "${PACKAGE_DIRECTORY}" -name utserver -printf %h)"
PACKAGE_INSTALLATION cd $SOURCEDIR
PACKAGE_INSTALLATION cp -Rf ./* $INSTALLDIR >/dev/null
PACKAGE_INSTALLATION chown -R $RUNAS:users $INSTALLDIR

If someone could tell me how I can create variables in linux, I think I might make the process a bit smarter although, of course, I am not very far.

Thanks to this

the plugin now installs and works.

The important part looks like this (from line 257 through line 281):

#check current version and extract version and download URL
cd /tmp
#wget -q -O linux http://download-new.utorrent.com/endpoint/utserver/os/linux-i386-debian-6-0/track/beta/
#VERSION="$(cat linux | grep maindownloadtitle | awk -F'[()]' '{print $2}')"
#echo "Current Version $VERSION"
#sleep 2
#STABLE="$(cat linux | grep -o http://[^[]*.tar.gz | head -1)"
#echo "Downloading $STABLE"
#sleep 2
#rm linux

# Create temporary directory to download and extract files in
mkdir /tmp/utinstall
cd /tmp/utinstall

# Download utserver and untar
wget -q -O utserver.tar.gz wget http://download-new.utorrent.com/endpoint/utserver/os/linux-i386-debian-6-0/track/beta/

if [ ! -e "utserver.tar.gz" ]; then 
	echo "Error: Downloading failed."
	sleep 5
	return
fi

tar -xf utserver.tar.gz

I don't remember which parts I've changed but anyone can download the original on the first page if I am not mistaken.

utserver.zip

yep, your plg is the same as mine, but the one thing that's still broken is the version number in the unraid webgui. It either needs to be completely removed or fixed to show the correct version. How that's done i'm not sure :)

Thanks to this

the plugin now installs and works.

The important part looks like this (from line 257 through line 281):

#check current version and extract version and download URL
cd /tmp
#wget -q -O linux http://download-new.utorrent.com/endpoint/utserver/os/linux-i386-debian-6-0/track/beta/
#VERSION="$(cat linux | grep maindownloadtitle | awk -F'[()]' '{print $2}')"
#echo "Current Version $VERSION"
#sleep 2
#STABLE="$(cat linux | grep -o http://[^[]*.tar.gz | head -1)"
#echo "Downloading $STABLE"
#sleep 2
#rm linux

# Create temporary directory to download and extract files in
mkdir /tmp/utinstall
cd /tmp/utinstall

# Download utserver and untar
wget -q -O utserver.tar.gz wget http://download-new.utorrent.com/endpoint/utserver/os/linux-i386-debian-6-0/track/beta/

if [ ! -e "utserver.tar.gz" ]; then 
	echo "Error: Downloading failed."
	sleep 5
	return
fi

tar -xf utserver.tar.gz

I don't remember which parts I've changed but anyone can download the original on the first page if I am not mistaken.

Is there anything missing from the plg you provided?  I tried installing it but when I attempt to visit the web interface it gives me an error similar to "invalid request". 

Is there anything missing from the plg you provided?  I tried installing it but when I attempt to visit the web interface it gives me an error similar to "invalid request".

 

You probably need to delete your cookies if you have upgraded from a previous version.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.