Moved to new server -- Now RuTorrent isn't working

Hello. I recently had to upgrade my server to a new one (bigger HD, heh) and am having trouble getting RuTorrent back up and running.

I installed RTorrent via QuickBox of course, and then copied over all the settings and torrents from my old server, which are .sessions/ and .rtorrent.rc.

Now QuickBox thinks there are 30 torrents active, but RuTorrent can’t connect, giving me this in the log:
No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.

Here is my .rtorrent.rc file:

– START HERE –

directory.default.set = /home/USER/torrents/rtorrent
encoding.add = UTF-8
encryption = allow_incoming,try_outgoing,enable_retry
execute.nothrow = chmod,777,/home/USER/.config/rpc.socket
execute.nothrow = chmod,777,/home/USER/.sessions
network.port_random.set = yes
network.port_range.set = 35185-36685
network.scgi.open_port = localhost:35185
network.tos.set = throughput
pieces.hash.on_completion.set = no
protocol.pex.set = no
schedule = watch_directory,5,5,load.start=/home/USER/rwatch/*.torrent
session.path.set = /home/USER/.sessions/
throttle.global_down.max_rate.set = 0
throttle.global_up.max_rate.set = 0
throttle.max_peers.normal.set = 100
throttle.max_peers.seed.set = -1
throttle.max_uploads.global.set = 100
throttle.min_peers.normal.set = 1
throttle.min_peers.seed.set = -1
trackers.use_udp.set = yes

– END HERE –

Please advise. Thanks!

Put back the previous .rc file…that was your mistake…copying over the.rc file

Shoot. Thanks!

And of course like an idiot I didn’t back up the .rc file first. So should I reinstall RTorrent? If so, do I do that by:
apt-get remove rtorrent
apt-get install rtorrent
?

Thank you.

Not needed.

You should be able to look inside /srv/rutorrent/conf/users/USERNAME/config.php to see the necessary port information. Just update those ports in that file to your ports in the .rc file. Then send a restart to ruTorrent via systemctl restart rtorrent@USERNAME - or from your dashboard.

That did the trick. Thank you!

1 Like