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

Had a play with this last night and it installed fine.

 

To download the 64bit version need to edit line 256: wget -q -O utserver.tar.gz http://download-new.utorrent.com/endpoint/utserver/os/linux-i386-debian-6-0/track/beta/ and change to wget -q -O utserver.tar.gz http://www.utorrent.com/downloads/complete/type/utserver/os/linux-x64-debian-6-0/track/beta

 

I'm not sure how far you plan to go with this plugin, i.e. just make it work, or actually improve it? The check current and installed version has been stripped out the plg but the not removed from webgui.

 

utserver V3 needs fix applied to it that stops the hanging when you load the webgui: also the mobile webgui does not save settings still.

 

For those running into webui hangs, you can try the following tweak to prevent the size of the download dir from being queried.  I have my download path pointing to a multi-TB share that was killing 'du' when enabling the plugin.

 

# $utserver_datadirsize = trim(shell_exec( "if [ -e $utserver_cfg[DATADIR] ]; then du -sh $utserver_cfg[DATADIR] | cut -f1; else echo 0; fi" ));
$utserver_datadirsize = 0;

 

There are similar queries for the temp and install dirs that could be nuked the same way, if needed.

 

-rob

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

Just a quick question: Is there a specific reason to handle issue reports in the unRAID forums instead of a tool like Github, which is designed to do just that?

 

@Ockingshay

Should we provide a dropdown for choosing between the 32 and 64 bit version?

Is your fix for the webUI bug the right solution? What was the old code's purpose? Please fork my Github repository.

 

@Neph

Uhm... I didn't really change anything that could break the syntax of the plg. Are you sure this is related to this plugin and is it related to my changes?

Are you willing to make 2 versions, 32 and 64? Or have it intelligently detect what version of unraid it's running on?

 

Version 6 is starting to pick up steam.....I'll test your plugin tonight when I get back.

 

How can you tell if the unRAID you are running 32bit kernel or 64bit kernel?

 

Most ways normally rely on uname but here is a bit of a trick way

V5

# getconf LONG_BIT
32

 

V6

# getconf LONG_BIT
64

 

Could we please move issues over to Github? You are also very welcome to fork my repository.

The issues seem to be on github already.

 

Someone who has time to support this probably should fork it. Unfortunately i don't have time for another project and right now I am only playing with uT anyway to see if I can find it doing anything naughty again.

  • 2 weeks later...

Anyone else get this kind of fluctuation? This isn't always the case, but it happens from time to time.

 

Jr0RMSv.png

I can't even get the plg to show up in the settings area.

Hi,

 

unRAID 5.0.5 plus

Tried follow the real simple guide on luksak page on githup.

But I get this (giant) error when doing somthing that simple .. :)

Am I missing some package on my almost virgin server? I have crashplan and Plex on it.

Thank you for any help.

error.txt

  • 2 weeks later...

Is someone planning to take on the job of maintaining this package?

 

I know it has been forked a couple of times but I am not seeing any actual development. There are definately bugs needing ironed out not least of which is the missing deps and the install process in general. etc

 

No malice intended just a fork does not a project make :)

  • 2 weeks later...

I gave up on it because the latest 64bit version of utserver had too many bugs. There's a bug where you have to manually change the download directory every time you start utserver.  Also it would crash often and I would have to restart it.  That's why I switched to deluge. I was tired of messing with it. I thought, why bother fixing a plugin for a buggy app.

 

Thats a unRAID implementation bug not a uT specific bug I believe.

Sorry you are correct. It doesnt seem to be universal though.

 

uT devs are funny. They will work for months on new things almost no one wants whilst ignoring core bugs and feature requests :(

 

a.k.a no SSL support for web seeds. Consistently reported since at least 2007 http://forum.utorrent.com/topic/21991-https-web-seed-does-not-work-in-utorrent-17rc2/

 

Edit2: The reason i thought it was a unRAID implementation bug is I have seen clashes between the paths set in the unRAID GUI and those in the uT GUI. I assumed it was an precedence/order thing. TBH i do not like this. The paths should be set in the uT GUI only. You should not be able to have the same variable set to two different things in two different places.

I was having those same problems too with paths in multiple different places and its not entirely the plugins fault since ut stores them in a config file and a database file. That's why I gave up and made a plugin for deluge. I always liked ut best but not so much anymore. I don't even use the plugin I made since I use an vm appliance now.

 

For sure appliances will be a solution to this but not yet. There are plenty of people who dont want to run a beta or deal with the learning curve of the current appliance model.

 

That will change but until then and probably a bit after that as well we need plugins like this.

 

I would like to get to the bottom of the paths things anyone got a clear understanding of the 3? places the paths are saved and how the addon launcher and uT interact with them in context of this addon?

Basically the plugin saves the paths and port in /boot/config/plugins/utserver/utserver.cfg and also writes those values into the install directory in utserver.conf.  utserver then stores those setting from utserver.conf along with other settings in settings.dat.  Check this thread out.  It explains some of that a little better and there is something about using kill -9 that resets settings to default that make explain some things.

 

http://forum.utorrent.com/topic/73915-preferences-do-not-save/

 

The plugin does do a kill -9 if it can't shut it down properly.

What a convoluted mess, I can only assume it was done this way to maintain backwards compatibility with the windows dat config.

 

Am i right in saying that utserver.conf is only imported into settings.dat on the very first boot or if something goes wrong?

 

 

I think so but I can't remember. I thought you could change the port in the plugin and launch the server. I messed with it a lot , with permissions, deleting and starting from scratch, editing the conf, mostly running it from the command line, no plugin involved. I had the plugin working fine but the bug I mentioned before. Which really didn't matter since download and install folders are all on the cache drive anyway. My main problem was the utserver would become unresponsive and I would have to restart it. And since it hung that kill -9 might have come into effect.

So under certain circumstances settings could be take from:

 

/boot/config/plugins/utserver/utserver.cfg

/path/to/utorrent/utserver.cfg

/path/to/utorrent/settings.dat

/path/to/utorrent/settings.dat.old

 

throw in that sometime settings don't take at all (i.e. your bug) and it makes it far far too confusing.

I give up with this thing.... uTorrent it is a pile of untested black box nonsense. Randomly the settings will corrupt and it is like herding cats trying to get them to take again.

 

Its going in the bin :(

  • 2 weeks later...

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.