Bercik1337 / rt-auto-install

rtorrent and rutorrent automatic installer for modern operating systems on seedbox
150 stars 27 forks source link

Rutorrent error on upgraded ubuntu 20.04 to 22.04 #65

Closed sigma2017 closed 6 months ago

sigma2017 commented 6 months ago

Hello, After I manually removed all the apache2 and php packages from my linux after upgrade, I run the script one more time with exactly the same settings as before, no errors on the installation. rtorrent service works just fine, i can see 127.0.0.1:5000 running but rutorrent web app doesn't connect to the rtorrent:

[02.03.2024 19:52:05] JS error: [http://172.27.72.2:2324/rutorrent/ : 1] Uncaught SyntaxError: Unexpected token '<'

I haven't changed any parameter, everything is exactly the same as it was on 20.04. Something is wrong into /var/www/rutorrent (which btw was completely removed before to rerun the installation script)

Please help!

Any point into the right direction will be much appreciated! I am totally disappointed and I bitterly regret what I did upgrading ubuntu 20.04 which was working just fine :(

Thank you in advance!!!!

LE: Just spawned a new ubuntu 22.04 and the script works just fine. Any idea what could cause the above issue after the upgrade? Thanks.

Bercik1337 commented 6 months ago

@sigma2017 i think it was a mistake to remove apache2 and php packages before upgrade. this could cause some problem.

Script is to be used on a fresh system. Every time someone doodles with config and then runs it - it's very hard to take care into consideration all possible configuration exceptions.

sigma2017 commented 6 months ago

Yes, ofc, the script does the job with no errors whatsoever. I put all the torrents back on new 22.04 instance, everything runs as expected. Ofc, you have right, anything could happened, it is just impossible to adapt the script to fix all the garbage behind. Thanks for the reply!

You may close the issue.