November 27, 201312 yr You probably need to delete your cookies if you have upgraded from a previous version. The issue was I needed to go to the IPAddress:Port/gui. If I just go to IPAddress:Port, I get the error. Works great guys, thanks.
November 27, 201312 yr 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
December 3, 201312 yr Hi, I'm having either the Webgui hangs everytime a download completes. I've changed all of the directory size checks as above but it hasn't fixed things. Has anyone else had this problem and found a resolution?
December 21, 201312 yr i think i've found an issue with the script regarding saving settings via the utserver.conf file: https://forum.utorrent.com/viewtopic.php?pid=617312 I believe the crux of the issue is the way that the plugin quits using the kill -9: 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 } According to that utorrent post using sudo -u root kill -9 doesn't give utorrent enough time to save the settings to utserver.conf. I can reproduce this with my own .conf file and every time i stop utserver the file defaults back to basic settings. I would like to be able to use the fully fledged utserver.conf file available on the utorrent site: http://forum.utorrent.com/viewtopic.php?pid=620090 , but i cannot until this issue is fixed. Hopefully that makes sense to someone and they could rewrite the plugin to fix this issue.
December 21, 201312 yr well i'm a bit more into it now and i've changed the echo for both to identify will kill it does, and every time it does the sudo -u root kill -9 $(cat /var/run/utserver/utserver-$PORT.pid) while [ -e /var/run/utserver/utserver-$PORT.pid ]; do echo "Dirty Clean..." sleep 2 [ -f /var/run/utserver/utserver-$PORT.pid ] && rm /var/run/utserver/utserver-$PORT.pid done echo "Done..." So why is it doing the dirty kill (-9) and not a soft kill like it's suppose to? EDIT: I've updated the plugin to 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 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..." sleep 2 }
December 21, 201312 yr This doesn't fix my issue of the utserver.conf still overwriting itself with basic config settings and using the webgui. If i try to tick the autoload .torrent files from a specific location and save, it will crash torrent. And just looking at the point releases, 0.36 seemed to attempt to address this issue is it related to: utserver_start() { fi if [ ! -e "$INSTALLDIR/utserver.conf" ]; then write_utconfig fi echo "Starting utserver version $VERSION" sleep 2 CMDLINE="sudo -u $RUNAS $INSTALLDIR/utserver -settingspath $INSTALLDIR -configfile $INSTALLDIR/utserver.conf -pidfile /var/run/utserver/utserver-$PORT.pid -logfile $INSTALLDIR/utserver.log -daemon 2>&1 >/dev/null" $CMDLINE echo "Daemon started. Please refresh the page." sleep 5 } which then runs this: write_utconfig() { echo "#Configuration setting file for uTorrent for Linux" > $INSTALLDIR/utserver.conf echo "#" >> $INSTALLDIR/utserver.conf echo "#HTTP port for WebUI access" >> $INSTALLDIR/utserver.conf echo "ut_webui_port: $PORT" >> $INSTALLDIR/utserver.conf echo "#" >> $INSTALLDIR/utserver.conf echo "#Location for completed downloads" >> $INSTALLDIR/utserver.conf echo "dir_completed: $DATADIR" >> $INSTALLDIR/utserver.conf echo "#" >> $INSTALLDIR/utserver.conf echo "#Temporary files location" >> $INSTALLDIR/utserver.conf echo "dir_active: $TEMPDIR" >> $INSTALLDIR/utserver.conf echo "#" >> $INSTALLDIR/utserver.conf echo "#Torrent files location" >> $INSTALLDIR/utserver.conf echo "dir_torrents: $TEMPDIR/torrents" >> $INSTALLDIR/utserver.conf Is there a way to have utserver simply use the utserver.conf as is from when webgui saves it's settings without overwriting every time utserver daemon is started?
December 21, 201312 yr well i haven't got a clue how this plugin works i just wet back to version 3.0 alpha and it's now saving the settings, but NOT in the utserver.conf file.... at least it's working again, but it's not the solution.
December 27, 201312 yr It seems like the lastest utserver plugin "settings.dat" file does not work after I restart the plugin. I have to delete that file and then redo all my settings for it to work properly. Is there another plugin version that works with unRAID 5.0 and saves your settings if the plugin is restarted?
December 29, 201312 yr I cannot get this to work. Installed PLG, configed settings....apply... "Download Failed". Uninstalled...reinstalled "Download failed".
January 10, 201412 yr alright I'm not a developer AT ALL, but I was able to take everyone's changes and add them to this PLG. I was able to install and it is functioning. I rarely restart my server so I have not tested if the settings stay but I would assume they should as long as the data directory is on my cache drive. I will report back once I do restart. Hope this helps. Also remember it's http://IPADDRESS:PORT/gui if you get invalid request clear history and try again. Default Username is admin and no password Hope this helps! I finally have RSS feeds with my unraid server! utserver.zip
January 10, 201412 yr Are you sure you uploaded your updated PLG? The current PLG looks to be the same file found a few posts back. http://lime-technology.com/forum/index.php?topic=20620.msg272680#msg272680
January 11, 201412 yr my fault, didn't notice that one. saw some posts of people still having issues so I figured I would attach a new PLG. Hopefully a good dev will take this over, even though transmission is great there are a lot of great features on utorrent that I'm sure people would love to use.
January 12, 201412 yr I followed the instructions in OP to install uTorrent, but can't get it to work. I get the following when clicking Apply on unRAID web UI: /etc/rc.d/rc.utserver enable nobody 8003 /mnt/cache/apps/utserver /mnt/cache/apps/utserver/downloads /mnt/cache/apps/utserver/temp installing utserver... Current Version 3.3 build 30235 Downloading wget: missing URL Usage: wget [OPTION]... [url]... Try `wget --help' for more options. Error: Downloading failed. Starting utserver version 3.3 build 30235 Daemon started. Please refresh the page. After auto-refresh of the page, I get "uTorrent server is not installed". Trying to login into :8003/gui results in an "Unable To Connect" to webpage error. I'm not sure why it's sayin "install utserver" although I already installed it manually via telnet. Could it be because I left the installation directories at default - I don't have a cache drive? If that's the reason, what directory should I use? I'm new to unRAID and Linux. Here is my utserver.cfg: # utserver configuration SERVICE="disable" INSTALLDIR="smb://themonolith.local/flash/config/plugins/utserver" DATADIR="smb://themonolith.local/disk1/Downloads" TEMPDIR="smb://themonolith.local/disk1/Downloads/Temp" PORT="8003" RUNAS="nobody" VERSION="" uconnect_enable: 1 uconnect_username: [username] uconnect_password: [password]
January 14, 201412 yr I have the same problem as above. The developer didn't bother to respond so I gave up on trying to use this. Transmission will have to do for now.
February 1, 201412 yr For unRAID 6.0 64bit all you have to do is download the 64bit debian version and extract utserver to your data directory overwriting you old 32bit version. The plugin works as it doesn't install any 32bit dependencies. It just downloads the latest 32bit version. http://www.utorrent.com/downloads/linux
February 10, 201412 yr I fixed the plugin. How should we proceed? Should I start a new thread for maintaining it? Should I create a Git Repo? I have a few question how clean the solutions the initial dev chose are. Where should we take this?
February 12, 201412 yr I fixed the plugin. How should we proceed? Should I start a new thread for maintaining it? Should I create a Git Repo? I have a few question how clean the solutions the initial dev chose are. Where should we take this? Start a new thread and let this one die. OP has clearly stated on the first page in big red writing that it's not maintained anymore and for someone else to takeover. Exciting news!
February 12, 201412 yr Here is the new repository for the fixed plugin: https://github.com/luksak/utserver Since I set it up on my unRAID my network's internet connection is getting slow without running any downloads. I am not sure yet if this is caused by utserver though. Please install the plugin an provide feedback!
February 12, 201412 yr 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.
February 12, 201412 yr No, I am running on 32-Bit. Besides that I am not a experienced UNIX developer. You are very welcome to fork my Github repository to accomplish that. Maybe also of interest for you is my forum post i wrote a few minutes ago. I found that utorrent and especially its webUI doesn't provide me with the tools I need. Your opinion is very welcome here: http://lime-technology.com/forum/index.php?topic=31920.0
February 12, 201412 yr 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?
February 13, 201412 yr Here is the new repository for the fixed plugin: https://github.com/luksak/utserver Since I set it up on my unRAID my network's internet connection is getting slow without running any downloads. I am not sure yet if this is caused by utserver though. Please install the plugin an provide feedback! I tried installing your plg, but I'm getting errors during the install. Attached is a text file with the error message received in the terminal window. https://dl.dropboxusercontent.com/u/29974769/utserver.rtf
Archived
This topic is now archived and is closed to further replies.