Migrate autodl-irssi Configuration
This guide explains how to migrate your autodl-irssi configuration from one service to another.
The backup contains all your autodl-irssi filters and settings, making it easy to migrate your configuration to another service.
Export the Configuration
Log in to the ruTorrent instance from which you want to migrate your autodl-irssi configuration.
- Open the autodl-irssi tab.
- Click the Backup button.
- Download the autodl.cfg file and save it on your computer.
Import the Configuration
Log in to the destination ruTorrent instance.
- Open the autodl-irssi tab.
- Click Browse and select the previously downloaded autodl.cfg file.
- Click Restore.
Your autodl-irssi configuration has now been imported.
Troubleshooting
If, after restoring the backup, you receive the following error:
Error downloading files. Make sure autodl-irssi is started and configured properly (eg. password, port number): Error getting files listing: Error: Could not read from socket: (104) Connection reset by peer
This usually means that the backup contains the password and port number from your previous installation. Since every installation uses its own credentials, they must be updated after restoring the backup.
Update the autodl-irssi password:
irssipass=$(awk "NR==3" ~/www/$(whoami).$(hostname)/$(whoami)/rutorrent/plugins/autodl-irssi/conf.php \
| awk -F "\"" '{print $2}');sed -i "s/gui-server-password.*/gui-server-password = $irssipass/" .autodl/autodl.cfg
Update the autodl-irssi port:
irssiport=$(awk "NR==2" ~/www/$(whoami).$(hostname)/$(whoami)/rutorrent/plugins/autodl-irssi/conf.php \ | grep -o [0-9]*);sed -i "s/gui-server-port.*/gui-server-port = $irssiport/" .autodl/autodl.cfg
After running both commands, restart autodl-irssi.
If autodl-irssi starts without any errors after updating the password and port, your configuration has been migrated successfully.