Novik / ruTorrent

Yet another web front-end for rTorrent
Other
2.02k stars 407 forks source link

Bad response from server: (500 [error,getplugins]) Internal Server Error #2135

Closed mgtra closed 2 years ago

mgtra commented 3 years ago

Hi I recently updated to rutorrent 3.10-10 on my synology.

No when i go to rutorrent i get this in the log:

[08.01.2021 06:36:04] WebUI started. [08.01.2021 06:36:04] Bad response from server: (500 [error,getplugins]) Internal Server Error

Any ideas ?

Was working fine until i updated

Thankyou

m1m1s1ku commented 3 years ago

Step 1 : Make sure that your rTorrent config for user is correct into : .rtorrent.rc

$ nano /home/<username>/.rtorrent.rc

Into find :

network.scgi.open_port = 127.0.0.1:500x

Replace 500x by 5001 for example, this should be unique.

Step 2 : Check your nginx (or apache config)

    location = /<USERNAME> {
        include scgi_params;
        scgi_pass 127.0.0.1:500x;
        auth_basic "seedbox";
        auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_<username>";
    }

Note the 500x (who should be replaced by 5001 too.)

If that could help, here is a really great tutorial that explain every steps (in French but google translate exists) : https://mondedie.fr/d/10831-tuto-installer-rutorrent-sur-debian-10-nginx-php-fpm

rarealphacat commented 3 years ago

I have the exact same problem here after update.

Step 1 : Make sure that your rTorrent config for user is correct into : .rtorrent.rc

$ nano /home/<username>/.rtorrent.rc

Into find :

network.scgi.open_port = 127.0.0.1:500x

Replace 500x by 5001 for example, this should be unique.

Step 2 : Check your nginx (or apache config)

    location = /<USERNAME> {
        include scgi_params;
        scgi_pass 127.0.0.1:500x;
        auth_basic "seedbox";
        auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_<username>";
    }

Note the 500x (who should be replaced by 5001 too.)

If that could help, here is a really great tutorial that explain every steps (in French but google translate exists) : https://mondedie.fr/d/10831-tuto-installer-rutorrent-sur-debian-10-nginx-php-fpm

I have the exact same problem here after update and also double checked these steps but didn't help.

aecro commented 3 years ago

I found the issue. Check /plugins/extsearch/engines/ and check for JPopsuki.php and jpopsuki.php. Looks like with the latest update the file was changed to upper case, so when you upgrade from an older version and merge the directories, both exist which causes PHP to stop working. Delete the lower case file jpopsuki.php and it starts working again.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.