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

I got the web gui for a minute I guess. Then I got some pop up saying connectivity was lost and the pop up will go when the connection is restored. ...... I refreshed the page and then I am back to square one....... same browser unable to connect message, that I was getting earlier ... for which I posted the screenshot in my previous page .....

 

My server setting below .........

 

Kindly Assist ....

 

20120723173601.jpg

 

 

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

Forget it ..... its too much of errors .... and I presume memory hog as well, ate up 1.7 GB of my 2GB memory and my Unraid GUI became unreachable .... removed the plug .... will try some other torrent client .... thanks for the assistance .....anyway ....

  • Author

I am sorry for the delay in replying. I don't experience such problems, maybe because I use torrents only when I have to (very occasionally). From your side it looks like daemon problems as it has been installed by plugin (which is the only thing the plg does). Sorry for your troubles. Maybe try using transmission, as it is more mature project and proven to be reliable on unRaid.

 

It would be much appreciated if someone more experienced could take over the project, since I am not a developer and did this just for my own use. I shared my work with community hoping it will be doing a good job, but looks like it is causing lots of trouble for some users :(

Ask Influencer if he would be interested in taking it over.

A few problems that I have found with the script.

 

First, in the rc.utserver, utserver_enable function has this line:

 

VERSION=&6

 

Any reason why it's &6 ? On the unRAID machine, it just returns no command found for this line. Also the variable 'VERSION' doesn't seem to be used anywhere in rc.utserver so you probably could just delete the line.

 

Second the way you kill utserver is using kill -9. This causes the process to just stop, but it doesn't do any clean up for utserver. so when I stop this plugin and restart, I get the error that sam9s is getting. No connection. To fix that, I had to stop the plugin, go into the installation directory, delete .dat + .dat.old files, and then restart the plugin.

 

So maybe think about using just kill 'utserver' rather than using the option -9.

 

 

And i got a question for sam9s. Any reason why you are trying to run this as "root"?

The kill -9 is because kill wasn't successfully stopping the process.

The kill -9 is because kill wasn't successfully stopping the process.

 

I see... I just found this thread over at utorrent forum:

 

http://forum.utorrent.com/viewtopic.php?id=111516

 

I guess it would make sense to kill -9 after trying just kill (just like your other plugins, influencer).. but this utorrent plug in just stops the server kill -9 right away, not doing any clean up for utorrent itself.

That would be an easy fix, I'll write up the change and post it

 

EDIT:

Spoke a little too soon, :P, be back in a bit with the fix

That would be an easy fix, I'll write up the change and post it

 

EDIT:

Spoke a little too soon, :P, be back in a bit with the fix

 

Awesome!

 

So we have Transmission and uTorrent plugin for unRAID now.. Is there any advantage of using uTorrent over Transmission?

 

I like uTorrent because you can assign "labels" to torrents which will automatically create sub folders and move them to that folder upon completion.

Update, it'll be tomorrow, some stuff came up at home I'm taking care of, and wget wasn't acting nicely with the utserver gui.

I like uTorrent because you can assign "labels" to torrents which will automatically create sub folders and move them to that folder upon completion.

 

Yeah, that's huge.  I posted* in the transmission forums a couple of years ago about this to no avail I guess.

 

But with Transmission one can use the Transmission Remote GUI client to easily add torrents to the server from a client.

 

http://code.google.com/p/transmisson-remote-gui/

 

Unless I'm missing something, this uTorrent server doesn't have an equivalent client like this does it?

 

One thing I've found very useful with uTorrent (simple windows client/server version) is the ability to handle magnet links. 

 

I haven't kept up with the unraid Transmission versions to know if they support this now but would be interested to know. 

 

I'm still on unraid 4.7 and the earlier Transmission package.

 

*https://forum.transmissionbt.com/viewtopic.php?f=3&t=6377&p=34215&hilit=label#p34215

I like uTorrent because you can assign "labels" to torrents which will automatically create sub folders and move them to that folder upon completion.

 

Yeah, that's huge.  I posted* in the transmission forums a couple of years ago about this to no avail I guess.

 

But with Transmission one can use the Transmission Remote GUI client to easily add torrents to the server from a client.

 

http://code.google.com/p/transmisson-remote-gui/

 

Unless I'm missing something, this uTorrent server doesn't have an equivalent client does it?

 

One thing I've found very useful with uTorrent (simple windows client/server) is the ability to handle magnet links.  I haven't kept up with the unraid Transmission versions to know if they support this now but would be interested to know.  I'm still on unraid 4.7 and the earlier Transmission package.

 

*https://forum.transmissionbt.com/viewtopic.php?f=3&t=6377&p=34215&hilit=label#p34215

 

I'm using the Transmission Plugin for UnRaid v5b11+.. The latest one posted up is v2.52, but this seemed like it's having some problem with Transmission Remote GUI, so I manually changed it to install v2.42..

 

I set Transmission Remote GUI as my default magnet link handler program and I haven't had any problem so far.

Alright, back. Went with a slightly different method, but it seems to work fine here(note I don't use utorrent or any torrent client so my testing is limited)

 

Replace the section of the plug-in with what is in the code block, p4xel is more than welcome to incorporate it into his official release, :)

 

utserver_stop()
{
# no-op if not running
if [ ! -e /var/run/utserver/utserver-$PORT.pid ]; then
	echo -n "utserver not running..."
	sleep 0.5
	echo
	return
fi
echo "Stopping utserver..."
sleep 1
killall utserver
if [[ $? = 0 ]]; then
	while [ -e /var/run/utserver/utserver-$PORT.pid  ]; do
		echo "Cleaning..."
		sleep 2
		[ -f /var/run/utserver/utserver-$PORT.pid ] && rm /var/run/utserver/utserver-$PORT.pid
	done
	echo "Done..."
else 
	sudo -u root kill -9 $(cat /var/run/utserver/utserver-$PORT.pid)
	while [ -e /var/run/utserver/utserver-$PORT.pid  ]; do
		echo "Cleaning..."
		sleep 2
		[ -f /var/run/utserver/utserver-$PORT.pid ] && rm /var/run/utserver/utserver-$PORT.pid
	done
	echo "Done..."
fi
sleep 2
}

 

Also, .dat and .dat.old files are not being deleted, but it seems to stop/start fine.

  • Author

First of all I'd like to apologize for my absence, I have tight schedule recently.

VERSION variable was meant to be used in future to check for updates. The problem is, utorrent website doesn't provide clear way to check it or even download latest version. Any future change to website layout may cause the plugin to be useless, hence I abandoned the idea. For now it just displays current version on Settings page.

 

I have tried the "kill {pid}" previously but it wouldn't work properly, hence used -9 method. It works fine on my box, I didn't realize it may cause any problems on other configs. Sorry about that.

 

Influencer: thanks for the time spent on updating the code. I alrealy updated the plugin. Would you be interested in taking over the project and including it in your GIT?

 

Just as Influencer I don't use torrents. The last version worked fine for me, so I left it as is.

 

Labels didin't work well for me with default WebGUI, but work perfect with alternative one (info in first post). I used Transmission years ago on my ASUS WL500gP and I didn't like it at that time (very limited functionality, perhaps later version were better) so I decided to go with uTorrent. Don't know which one is better, it is up to user's preferences.

Influencer, please make sure you post this to your unplugged plugins :D

  • 1 month later...

im getting "invalid request" when i try to access the webgui.

So we have Transmission and uTorrent plugin for unRAID now.. Is there any advantage of using uTorrent over Transmission?

 

I've been looking into using a bit torrent anonymizing proxy service such as BTGuard.

 

As far as I can tell proxy support was removed from versions of Transmission above 1.4 and even then it only supported tracker, not peer proxies anyway.

 

If this is true, for people who care, this seems like a big advantage of using uTorrent over Transmission.

 

I'd be interested in any comments on this, especially from anyone using a service like BTGuard or some other similar mechanism.

 

Could the OpenVPN Client plugin http://lime-technology.com/forum/index.php?topic=19439.0  be used to accomplish this and if so exactly how?

  • 2 weeks later...

Plugin works great. Thank you.

 

What utorrent server are you using? x86? or x64?

 

I am unsuccessfully trying to use HTTPS trackers, which are not supported in x86 version according to the utorrent forum:

http://forum.utorrent.com/viewtopic.php?id=83506

 

x64 version does not mention this not being supported.

Can it be used in unraid?

I installed the plugin a while back and it has been working fine.

 

The other day I rebooted and all appeared fine.

 

However when i bring up the gui to add a torrent file, it never accepts it .

The gui comes up and i select the add torrent but  As soon as i pick the file and then press the ADD

The area where the file was blanks out.

 

Has any one come across this?

 

Any suggestions?

 

Current version is 3.0 bld27079

 

 

 

Joe

UNRAID BLD-RC8A

 

 

 

Hi,

 

wonder if someone could help me with these.

 

1. I had to reboot my server the other day. After reboot all torrents are stopped, not seeding and I am unable to restart the seed (their status is STOPPED). The buttons do nothing. However, If I add a new torrent, both downloading and seeding are fine, even after completion. 

 

2. When I mount the unraid share containing the apps/downloads on my Mac I cannot delete files/dirs from the download dir - this seems to be some ownership issue which I do not understand.

 

Can you guys please help, both are pretty important.

I installed the plugin a while back and it has been working fine.

 

The other day I rebooted and all appeared fine.

 

However when i bring up the gui to add a torrent file, it never accepts it .

The gui comes up and i select the add torrent but  As soon as i pick the file and then press the ADD

The area where the file was blanks out.

 

Has any one come across this?

 

Any suggestions?

 

Current version is 3.0 bld27079

 

 

 

Joe

UNRAID BLD-RC8A

 

Yep me too exactly the same, picks up torrents from watched folder no probs just when adding a torrent it won't accept it

Answering my own questions  ;)

 

1. Torrents stopped, unable to restart: this was caused by a member disc becoming full!  Remember to associate uTorrent download directory in Settings with an existing share rather than with a disc.

 

2. Unable to delete files/folders from Mac: telnetted into unraid then did delete from command line. It is more like a workaround but worked well.

 

 

 

 

  • 1 month later...

Wanted to chime in and say, love this package. Probably one of the best utilized plugins I have on the box. Transmission was a let down for me due to lack of labels. Running the recent version for a day and going well. One minor gripe is that the webui option for executing custom script after a torrent downloads doesn't seem to be working. I give the full path to the script with just an echo command and it doesn't work. What I wanted to do was; after a download completes move it to the respective user share based on what label it has. Still need to find a way to do that consistently.

 

Thanks for the effort OP!

Does anyone know if this setup is compatible with the remote utorrent clients that are out there for tablets, smart phones and the like?

 

Would be great to be able to control it from a tablet or phone with an app and nice GUI.

 

Mike

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.