Fixing Rtorrent on latest dietpi version Pi4

Guides and tutorials for various stuff. Posted by DietPi users.
Post Reply
PiTech
Posts: 7
Joined: Fri May 08, 2020 12:39 pm

Fixing Rtorrent on latest dietpi version Pi4

Post by PiTech »

You can follow the tutorial here
https://youtu.be/geV0cMvFHr0

So the latest version of dietpi broke Rtorrent
The issue was DHT was set to enabled insted of auto and memory allocated was too low
I have attached my config file to ease the procedure for you guys
just clear your config and copy past mine

https://pastebin.com/qhPMrHap
Last edited by PiTech on Sat May 09, 2020 7:53 am, edited 1 time in total.
User avatar
Joulinar
Posts: 2590
Joined: Sat Nov 16, 2019 12:49 am

Re: Fixing Rtorrent on latest dietpi version Pi4

Post by Joulinar »

Hi,

many thanks for sharing your solution. As well you simply can change DHT mode on /mnt/dietpi_userdata/rtorrent/.rtorrent.rc from dht.mode.set = enabled to dht.mode.set = auto
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 2423
Joined: Sat Nov 18, 2017 6:21 pm

Re: Fixing Rtorrent on latest dietpi version Pi4

Post by MichaIng »

@PiTech
Many thanks for reporting and fixing the issue. Indeed there is a bug where the max memory allocation string misses a "M" so that the value is taken as KiB (I guess) instead of MiB as intended.

Does having DHT enabled by default cause issues as well after fixing the too low max memory?

EDIT: Ah "enable" is simply not valid, it must be "on" instead: https://github.com/rakshasa/rtorrent/bl ... c#L99-L104
Post Reply