Closed smoresmores closed 6 years ago
I've added a system command that allows systems admin to push updates for a users /home/USERNAME/.irssi/. You can run the update and type the following:
upgradeIRSSI -u=<EXISTING_USERNAME_HERE>
View the commit here: https://github.com/QuickBox/QB/commit/09da8c8d366ab654872b4dac3664b69313453b02
Thanks. Although when I restarted rtorrent, it now doesn't load. :( I keep getting:
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.
I tried to restart rtorrent, disable/enable, reset to the whole PC. Nothing helped.
journalctl
shows:
Control process exited, code=exited status=1
Unit entered failed state.
Failed with result 'exit-code'.
OK, something is really strange here, I tried to run rtorrent manually and I am getting
/usr/bin/rtorrent: error while loading shared libraries: libcrypto.so.1.0.2: cannot open shared object file: No such file or directory
But seems that my ubuntu version only have 1.0.0 to install... Any idea?
@smoresmores, it looks like it is looking for an old libcrypto library. Perhaps you recently did an apt-get update
and it updated, thus rtorrent is spitting errors. If you're running 0.9.6 (current, I assume you are) then you could run apt -y install rtorrent
. This should fix this issue as I have encountered it before on a couple of installs. This all started happening after openssl did an upstream push several updates ago.
@kade-robertson, I have had a couple of reports with this, I am going to have a look and see if QuickBox gave a bad update somewhere.. or perhaps didn't include something along the way.
@JMSDOnline yes, this solved it. It was looking for a newer version of libcrypto (1.0.2 instead of 1.0.0). Anyway, now everything works fine. Thanks you!!
It was looking for a newer version
Ha, that's the one I meant. Glad that got it for you!
Thanks you!!
Oh no my friend, thanks you!!! 😃
Is the autodl-irssi plugin working out ok, or have you received the :xml: error as well?
Possible errors may exist, however @kade-robertson has worked out a fix for the initial install of the autodl-irssi package here #118
As per this Community topic, this seems to now be resolved.
@JMSDOnline Still experiencing the missing xml
module issue, but I seem to be isolated with this.
@kade-robertson, noted: I'll see how this can be reproduced. Could you tell me what the exact error was once more?
Sure:
[15.03.2018 09:58:54] Error downloading files. Make sure autodl-irssi is started and configured properly (eg. password, port number): Error getting files listing: Missing PHP modules: xml
Will note that it is running perfectly fine in the screen
window, still picking up results and using all the configuration I've set, just not accessible from the WebUI.
Does any of this help?
apt-get -y install php7.0-xml
phpenmod -v 7.0 xml
apt-get -y install php7.0-xml
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
php7.0-xml is already the newest version (7.0.28-1+ubuntu16.04.1+deb.sury.org+1).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
phpenmod -v 7.0 xml
:
<no output>
I did notice that my php -v
shows I'm using php 7.2.3
, so I re-did both commands for php7.2-xml
instead and ended up with the same output essentially. No changes to the current situation.
I did notice that my
php -v
shows I'm usingphp 7.2.3
Hmm, that could be a problem. Your php version should be as follows:
php -v
PHP 7.0.28-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Mar 6 2018 10:44:15) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.28-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies
I haven't tested with anything higher than this version.
You may have to edit your php.ini
file and send a restart to php-fpm as per these edits:
quickbox-setup Lines 924-941
A-ha! I think I've figured out how to fix this (albeit I'm not sure which change did it since I did them all at once), while keeping all of the existing php
versions, seeing as it looked like some sort of compatibility issue with the different versions. Substitute any references to 7.2 with whatever the current version showing up with php -v
is.
sed
commands linked to above.a2dismod php7.2
a2enmod php7.0
update-alternatives --config php
, pick whichever index has php7.0
and press Enterservice apache2 restart
I've recently checked and saw that the autodl-irssi plugin version is v1.62 (from March 2016). According to their official github the newest version is v2.1.0 from 3 days ago. Not sure exactly what are the differences between the regular version and the community version. https://github.com/autodl-community/autodl-rutorrent/releases https://github.com/autodl-community/autodl-trackers/releases
I tried to run the update from the plugin itself but got an error:
Undefined subroutine &AutodlIrssi::updateFailed
Would be great if this can be update. Thanks for your hard work!