*DEPRECATED* Deluge BitTorrent Server & Client for unRAID 6.1


Recommended Posts

  • 1 month later...
  • Replies 203
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 weeks later...
  • 4 weeks later...
  • 3 weeks later...

I was having problems starting my deluge plugin after a reboot. The configuration settings would never save.

 

I removed the plugin, grabbed the latest and now I get this error:

gzip: stdin: unexpected end of file

tar: Child returned status 1

tar: Error is not recoverable: exiting now

chmod: cannot operate on dangling symlink '/etc/rc.d/rc.deluged'

cp: cannot stat '/usr/local/emhttp/plugins/deluged/deluged': No such file or directory

plugin: installed

 

 

I went ahead, removed the plugin, killed all deluge process', attempted to reinstall again after removing whatever tried to get installed and I still get the above error.

 

 

Link to comment

I was having problems starting my deluge plugin after a reboot. The configuration settings would never save.

 

I removed the plugin, grabbed the latest and now I get this error:

gzip: stdin: unexpected end of file

tar: Child returned status 1

tar: Error is not recoverable: exiting now

chmod: cannot operate on dangling symlink '/etc/rc.d/rc.deluged'

cp: cannot stat '/usr/local/emhttp/plugins/deluged/deluged': No such file or directory

plugin: installed

 

 

I went ahead, removed the plugin, killed all deluge process', attempted to reinstall again after removing whatever tried to get installed and I still get the above error.

I removed the latest release from github. It was corrupt which resulted in 0kb download. It should install the previous version. What version unRAID you running? I haven't updated this for 6.1 yet but will later today.

Link to comment

 

I removed the latest release from github. It was corrupt which resulted in 0kb download. It should install the previous version. What version unRAID you running? I haven't updated this for 6.1 yet but will later today.

 

I was using 6.0 and will be running 6.1. I'd be happy to test 6.1 when you release it.

Link to comment
  • 2 weeks later...

Love unRAID, love Deluge. Thank You for the plugin.

 

I did have a questions though -- here's some background, hopefully irrelevant:

- I finally got around to modifying the plugin so that the web daemon automatically connected.

- I migrated my drives to a smaller box, to use the case that I was

- I moved everything off my cache drive and just put it on /mnt/disk1/.deluged (and .plexmediaserver) and removed the cache drive to use it in another computer.

 

So, I'm looking at my console during bootup, and notice:

chmod: cannot operate on dangling symlink '/etc/rc.d/rc.deluged'

 

 

https://forum.phalconphp.com/discussion/2020/chmod-cannot-operate-on-dangling-symlink-usr-bin-phalcon-

 

This post tells me that just means that the symlink is pointing to one from the plugin, which makes sense. The plugin contains a copy of the startup script to start deluge. So, I check it out:

root@mediaserver:~# ls -l /etc/rc.d/rc.deluged
lrwxrwxrwx 1 root root 52 Sep 13 07:26 /etc/rc.d/rc.deluged -> /usr/local/emhttp/plugins/deluged/scripts/rc.deluged

 

The symbolic link goes to the plugin directory, but then I look in the plugin directory:

root@mediaserver:~# ls /usr/local/emhttp/plugins/deluged/scripts/
start*  stop*

 

The problem is that the plugin doesn't have a file in it called

rc.deluged

. I don't know if I've messed it up or not, maybe a new version of deluge, or a new version of the plugin uses "start" and "stop" rather than the traditional script. Beats me... I'm guessing it's unclean,  but doesn't affect things. I'd like to fix it or get it fixed though.

 

Help?

Link to comment

Love unRAID, love Deluge. Thank You for the plugin.

 

I did have a questions though -- here's some background, hopefully irrelevant:

- I finally got around to modifying the plugin so that the web daemon automatically connected.

- I migrated my drives to a smaller box, to use the case that I was

- I moved everything off my cache drive and just put it on /mnt/disk1/.deluged (and .plexmediaserver) and removed the cache drive to use it in another computer.

 

So, I'm looking at my console during bootup, and notice:

chmod: cannot operate on dangling symlink '/etc/rc.d/rc.deluged'

 

 

https://forum.phalconphp.com/discussion/2020/chmod-cannot-operate-on-dangling-symlink-usr-bin-phalcon-

 

This post tells me that just means that the symlink is pointing to one from the plugin, which makes sense. The plugin contains a copy of the startup script to start deluge. So, I check it out:

root@mediaserver:~# ls -l /etc/rc.d/rc.deluged
lrwxrwxrwx 1 root root 52 Sep 13 07:26 /etc/rc.d/rc.deluged -> /usr/local/emhttp/plugins/deluged/scripts/rc.deluged

 

The symbolic link goes to the plugin directory, but then I look in the plugin directory:

root@mediaserver:~# ls /usr/local/emhttp/plugins/deluged/scripts/
start*  stop*

 

The problem is that the plugin doesn't have a file in it called

rc.deluged

. I don't know if I've messed it up or not, maybe a new version of deluge, or a new version of the plugin uses "start" and "stop" rather than the traditional script. Beats me... I'm guessing it's unclean,  but doesn't affect things. I'd like to fix it or get it fixed though.

 

Help?

Thanks for pointing that out. The rc.script is removed and now there's just a start and stop script. There were some other changes I forgot to make too. I updated the plugin to fix those too.

 

Link to comment
  • 3 months later...

Nice plugin.  Thanks!

 

Last time I tried setting up torrents on unRAID I found it wasn't worth the trouble.  This plugin works easily and has all the functionality I need.  Now I can save power by putting my desktop computer to sleep while I am not using it.

 

craigr

Your welcome. Happy someone still finds it useful. I don't use it and more as I've moved on to dockers.

Link to comment

Question on settings in deluge that I can't find the answer to...

 

In Preferences>Queue>Seeding there is

 

Share Ratio Limit:

Share Time Ratio:

Seed Time (m):

 

If I want to share and seed forever (indefinitely), should I set these to 0 or -1?  I want to keep my torrents seeding forever or until I delete them.

 

Iv'e tried both 0 and -1 and I'm still not sure what is going on.

 

Thanks,

craigr

Link to comment
  • 2 weeks later...

So I'm having a Deluge related issue... my torrent downloads are really badly fragmented.  We are talking like 800,000 extents in a 40GB file (as reported by filfrag).  I have the Download option in Deluge set to "Use Full" in the web GUI so I am not sure why I have such horrible fragmentation.  I do have Deluge on my cache drive and that's where it's downloading the torrents.  The cahce disk is BTRSF, could that have anything to do with it?

 

I've also tried searching for command line arguments that might help, but I have found nothing.

 

Any ideas?

 

Best,

craigr

Link to comment

Only thing I can suggest is turning off COW (copy on write) on your download directory. There are commands on here somewhere to do that. I personally use xfs. I have had and seen too many problems with btrfs. Especially with corruption. I'm not sure about the fragmentation though.

 

Link to comment

I think you are onto something...

 

https://wiki.archlinux.org/index.php/Btrfs

Copy-on-write comes with some advantages, but can negatively affect performance with large files that have small random writes because it will fragment them (even if no "copy" is ever performed!). It is recommended to disable copy-on-write for database files and virtual machine images.

 

I will look into this.  I really don't want to have to format my cache drive and redo everything so hopefully I can disable COW.

 

Thanks again,

craigr

Link to comment

I think you are onto something...

 

https://wiki.archlinux.org/index.php/Btrfs

Copy-on-write comes with some advantages, but can negatively affect performance with large files that have small random writes because it will fragment them (even if no "copy" is ever performed!). It is recommended to disable copy-on-write for database files and virtual machine images.

 

I will look into this.  I really don't want to have to format my cache drive and redo everything so hopefully I can disable COW.

 

Thanks again,

craigr

The command you want is e.g. chattr +C /mnt/cache/downloads

This will not affect existing files in that directory.  You can either create a new directory and chattr the new directory then copy your download files to it or you can move the existing files in your dowload directory to a temp directory then copy them back and remove the temp files.  Its important you copy to the no COW directory.  Moving files there won't work.

Link to comment

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.