Downgrading rtorrent?

Same here.

I am looking to use the quickbox script as well - until I realised that the only choice of client is 0.9.6

If you are able to incorporate a choice of versions when installing or a script to downgrade to a previous version of rTorrent after installation that would be great.

@Mokey
You have option to choose other version of rTorrent when installing quickbox at the first time.
This thread is specific for downgrading the version for those who have already installed quickbox.

Didn’t know that. Brilliant! What versions can I choose? (This may be useful to some of the members above that have either forgotten that this is possible - as a last resort)

0.9.6
0.9.4
0.9.3
https://github.com/QuickBox/quickbox_setup/blob/master/quickbox-setup#L243

Thanks for that.

Anyway also on HDB there is a post about this. But there they find a solution on tracker side. This is the post:

For those interested (with the rtorrent 0.9.6 ban on some trackers), we had debugged and solved the problem shortly after opening this thread. The problem was duplicate peer_ids across multiple users. Whether this is the consequence of something rtorrent did with a prng function, intended or not, I don’t know, but the solution was extremely simple.

I won’t go into detail, but our tracker pre-supposed that peer_id was unique and tried to fetch the peer data from the database using only the peer_id. All we did was add another condition to the SQL statement: AND userid = $userid. The userid should already be present because it can be derived from the passkey.

Good news is that there are numerous staff/devs here from various trackers. They (as I am aware and also can see from the post above) are starting to fix an issue on their side. In the meantime. I would think it to be possible to run the QuickBox setup on top of your existing install. From there, you can select the version (0.9.4 for those getting the boot from this bad exchange) and it should build the new/old version on top of your existing install.

2 Likes

If you were to run the setup again would it delete the data on the server already? Won’t be making any changes yet but curious.

It shouldn’t delete anything as the directories already exists. Since a users /home is already available it will more than likely post errors that it’s already present. I’ll run a sample as soon as I have time… if anyone else wants to sample this theory or write a up/down script for rtorrent, be my guest :wink:

would take a snapshot of the session folder so you dont have to redo everything in rutorrent should the setup mess with it :slight_smile:

just as a precursion…

Any news about a “more cool” solution to downgrading rtorrent (instead of reinstall above the old one)??

I am trying to get around to this as soon as possible as I know it has been heavily requested. I really hope that I’ll have time this weekend, but I cannot make any promises as the weather is finally nice outside!!!

1 Like

Ok many thanks JM!! at least on my part, there is no hurry! so…no problem!!

Anyway…has someone tried to downgrade by installing the old version over the new one?? if yes, do you have had problems?? everything works perfectly?? Please share any useful information, thanks!

I’d appreciate hearing anyone else’s use of this option as well. :sweat_smile:

I somehow managed to downgrade from 0.9.6 to 0.9.4

I’ll need to run it a few more times just to make sure! :slight_smile:

1 Like

Thanks for sharing Bate!

I actually got this working by reinstalling libtorrent and rtorrent, but it was a normal seedbox setup and not quickbox, but it might work. I had rtorrent 0.9.6 and libtorrent 0.13.6 and reinstalled to rtorrent 0.9.4 libtorrent 0.13.4 and after it was done and i started rtorrent, it was using the latest installed. So it might be easy fix by only doing a reinstall and it will use the latest installed.

If someone wants to try with quickbox, here are the steps (login as root)

svn co https://svn.code.sf.net/p/xmlrpc-c/code/stable xmlrpc
curl http://rtorrent.net/downloads/libtorrent-0.13.4.tar.gz | tar xz
curl http://rtorrent.net/downloads/rtorrent-0.9.4.tar.gz | tar xz
cd xmlrpc
./configure --prefix=/usr --disable-cplusplus
make
sudo make install
cd ../libtorrent-0.13.4
./autogen.sh
./configure --prefix=/usr
make -j2
sudo make install
cd ../rtorrent-0.9.4
./autogen.sh
./configure --prefix=/usr --with-xmlrpc-c
make -j2
sudo make install
sudo ldconfig

Dont forget to stop rtorrent before doing this, not sure if it can be running while reinstalling. Safest to stop it at first.

2 Likes

This worked fine for me. Though I was upgrading from 0.9.2.

Links on Dashboard are working fine.

Bumped this to a Feature Request so it doesn’t fall off the radar again. :wink: