Tautulli link not working from dashboard - Community version

16.04
ubuntu
dashboard
tautulli

#1

Hello fellow Quickboxers,

I’ve updated my QB to 2.5.5 recently and discovered that there was, among others, a new package called Tautulli.

Since I’m using Plex, I’ve installed it from the dashboard but it’s not working, I get a “can’t find this webpage” type of error. I had a look at that WIKI page but it did not solve my problem.

Is this a known problem?

Here is my default Tautulli.conf:

<Location /tautulli>
ProxyPass http://localhost:8181/tautulli
ProxyPassReverse http://localhost:8181/tautulli
#AuthType Digest
#AuthName "rutorrent"
#AuthUserFile '/etc/htpasswd'
#Require user MyUserName
</Location>

Which I’ve changed to:

<Location /tautulli>
ProxyPass http://localhost:8181/tautulli
ProxyPassReverse http://localhost:8181/tautulli
Require all granted
</Location>

But to no avail.

I then replaced localhost with the server FQDN, but I got a 503 error. I eventually tried with my IP address and also got a 503 service unavailable error…

Thank you for your help and guidance!


#2

I’ve tried again this weekend but I could not find any solution.

Has anyone else has this issue?


#3

In addition to the edit to /etc/apache2/sites-enabled/Tautulli.conf and restarting apache2 service
noted above, I got mine to work by setting the HTTP Host to 127.0.0.1 or 0.0.0.0 instead of localhost in the Settings>Web Interface of Tautulli. Since my quickbox is a VPS, I had to use Putty SSL tunneling of port 8181 in order to edit it in the GUI, but you can also just manually edit it in /opt/Tautulli/config.ini by editing the line value under General to http_host = 127.0.0.1 then restart Tautulli.


#4

Ok, thanks for the info I’ll give it a shot


#5

Well there is no config.ini in the location you mentionned. I also can’t find any in https://github.com/Tautulli/Tautulli
So I tried to look for some information but I’m all but an expert in Ubuntu …

Apache2 error.log:
[Sun Nov 18 22:15:38.543265 2018] [:error] [pid 28579] [client 78.220.224.118:50875] PHP Notice: Use of undefined constant Tautulli - assumed 'Tautulli' in /srv/rutorrent/home/widgets/app_status/app_status_Tautulli.php on line 15, referer: https://myQB.com/

[[email protected]]:(0b)/$ sudo find -name config.ini
./opt/plexpy/config.ini
./etc/QuickBox/setup/configs/headphones/config.ini
./home/myuser/.medusa/config.ini

Sorry, either what I did is wrong and can not connect to my server or I don’t understand what you mean and how to do it.


#6

Some more information:

# systemctl status Tautulli.service
● Tautulli.service - Tautulli - Stats for Plex Media Server usage
   Loaded: loaded (/etc/systemd/system/Tautulli.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2018-11-23 21:56:46 CET; 3min 17s ago
  Process: 26243 ExecStart=/opt/Tautulli/Tautulli.py --quiet --daemon --nolaunch --config /opt/Tautulli/config.ini --

Nov 23 21:56:46 MyQB Tautulli.py[26243]:     import OpenSSL.SSL
Nov 23 21:56:46 MyQB Tautulli.py[26243]:   File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line
Nov 23 21:56:46 MyQB Tautulli.py[26243]:     from OpenSSL import rand, crypto, SSL
Nov 23 21:56:46 MyQB Tautulli.py[26243]:   File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 118,
Nov 23 21:56:46 MyQB Tautulli.py[26243]:     SSL_ST_INIT = _lib.SSL_ST_INIT
Nov 23 21:56:46 MyQB Tautulli.py[26243]: AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
Nov 23 21:56:46 MyQB systemd[1]: Tautulli.service: Control process exited, code=exited status=1
Nov 23 21:56:46 MyQB systemd[1]: Failed to start Tautulli - Stats for Plex Media Server usage.
Nov 23 21:56:46 MyQB systemd[1]: Tautulli.service: Unit entered failed state.
Nov 23 21:56:46 MyQB systemd[1]: Tautulli.service: Failed with result 'exit-code'.

#7

could you try a:

pip install pyopenssl

#8

There you go:

bt:/home/MyUser/torrents# pip install pyopenssl
Requirement already satisfied: pyopenssl in /usr/lib/python2.7/dist-packages
Requirement already satisfied: cryptography>=0.7 in /usr/local/lib/python2.7/dist-packages (from pyopenssl)
Requirement already satisfied: six>=1.5.2 in /usr/lib/python2.7/dist-packages (from pyopenssl)
Requirement already satisfied: ipaddress in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.7->pyopenssl)
Requirement already satisfied: idna>=2.1 in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.7->pyopenssl)
Requirement already satisfied: asn1crypto>=0.21.0 in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.7->pyopenssl)
Requirement already satisfied: enum34 in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.7->pyopenssl)
Requirement already satisfied: cffi>=1.7 in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.7->pyopenssl)
Requirement already satisfied: pycparser in /usr/local/lib/python2.7/dist-packages (from cffi>=1.7->cryptography>=0.7->pyopenssl)
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
bt:/home/MyUser/torrents#

I may need to upgrade :smile:


#9

yeah hit it:
pip install --upgrade pip


#10

and do a:
apt -y install python-dev


#11

After updating, tried to reinstall it:

bt:/home/MyUser/torrents# box remove Tautulli                                                                         Removing Tautulli
Removed symlink /etc/systemd/system/multi-user.target.wants/Tautulli.service.
bt:/home/MyUser/torrents# box install Tautulli
Installing Tautulli
The system user `tautulli' already exists. Exiting.
Enabling Tautulli Systemd configuration
Job for Tautulli.service failed because the control process exited with error code. See "systemctl status Tautulli.service" and "journalctl -xe" for details.
sed: can't read /opt/Tautulli/config.ini: No such file or directory
sed: can't read /opt/Tautulli/config.ini: No such file or directory
Job for Tautulli.service failed because the control process exited with error code. See "systemctl status Tautulli.service" and "journalctl -xe" for details.
bt:/home/MyUser/torrents#