Tautulli - Monitor your Plex Media Server

Any ideas why I can not get Tautulli to work on my NAS? It was working before but it suddenly stopped a couple of months ago. Thanks in advance!

image
image

2019-10-10 10:07:59 stdout 2019-10-10 11:07:59 - INFO :: MainThread : Tautulli WebStart :: Starting Tautulli web server on http://0.0.0.0:8181/
2019-10-10 10:07:59 stdout 2019-10-10 11:07:59 - INFO :: MainThread : Tautulli NotificationHandler :: Starting background notification handler (2 threads).
2019-10-10 10:07:59 stdout 2019-10-10 11:07:59 - INFO :: MainThread : Tautulli is up to date
2019-10-10 10:07:59 stdout 2019-10-10 11:07:59 - DEBUG :: MainThread : Latest version is 08714436c3a7665abeb621b9fe52cc8b779c5473
2019-10-10 10:07:59 stdout 2019-10-10 11:07:59 - DEBUG :: MainThread : Requesting URL via GET method: https://api.github.com/repos/Tautulli/Tautulli/commits/master
2019-10-10 10:07:59 stdout 2019-10-10 11:07:59 - INFO :: MainThread : Retrieving latest version information from GitHub
2019-10-10 10:07:59 stdout 2019-10-10 11:07:59 - DEBUG :: MainThread : Git output: origin/master
2019-10-10 10:07:59 stdout 2019-10-10 11:07:59 - DEBUG :: MainThread : Trying to execute: “git rev-parse --abbrev-ref --symbolic-full-name @{u}” with shell in /app/tautulli
2019-10-10 10:07:59 stdout 2019-10-10 11:07:59 - DEBUG :: MainThread : Git output: 08714436c3a7665abeb621b9fe52cc8b779c5473
2019-10-10 10:07:59 stdout 2019-10-10 11:07:59 - DEBUG :: MainThread : Trying to execute: “git rev-parse HEAD” with shell in /app/tautulli
2019-10-10 10:07:59 stdout 2019-10-10 11:07:59 - INFO :: MainThread : Checking if configuration upgrades are required…
2019-10-10 10:07:58 stdout 2019-10-10 11:07:58 - INFO :: MainThread : Checking if the database upgrades are required…
2019-10-10 10:07:58 stdout 2019-10-10 11:07:58 - INFO :: MainThread : Database File: /config/tautulli.db
2019-10-10 10:07:58 stdout 2019-10-10 11:07:58 - INFO :: MainThread : Config File: /config/config.ini
2019-10-10 10:07:58 stdout 2019-10-10 11:07:58 - INFO :: MainThread : Program Dir: /app/tautulli
2019-10-10 10:07:58 stdout [GCC 8.3.0]
2019-10-10 10:07:58 stdout 2019-10-10 11:07:58 - INFO :: MainThread : Python 2.7.16 (default, May 6 2019, 19:28:45)
2019-10-10 10:07:58 stdout 2019-10-10 11:07:58 - INFO :: MainThread : Europe/London (UTC+0100)
2019-10-10 10:07:58 stdout 2019-10-10 11:07:58 - INFO :: MainThread : Linux 3.10.105 (#24922 SMP Wed Jul 3 16:37:23 CST 2019)
2019-10-10 10:07:58 stdout 2019-10-10 11:07:58 - INFO :: MainThread : Starting Tautulli v2.1.34
2019-10-10 10:07:46 stdout [services.d] done.
2019-10-10 10:07:46 stdout [services.d] starting services
2019-10-10 10:07:46 stdout [cont-init.d] done.
2019-10-10 10:07:46 stdout [cont-init.d] 30-install: exited 0.
2019-10-10 10:07:45 stdout [cont-init.d] 30-install: executing…
2019-10-10 10:07:45 stdout [cont-init.d] 10-adduser: exited 0.
2019-10-10 10:07:45 stdout
2019-10-10 10:07:45 stdout ------------------------------------
2019-10-10 10:07:45 stdout User gid: 101
2019-10-10 10:07:45 stdout User uid: 1024
2019-10-10 10:07:45 stdout GID/UID
2019-10-10 10:07:45 stdout ------------------------------------
2019-10-10 10:07:45 stdout
2019-10-10 10:07:45 stdout
2019-10-10 10:07:45 stdout
2019-10-10 10:07:45 stdout
2019-10-10 10:07:45 stdout
2019-10-10 10:07:45 stdout
2019-10-10 10:07:45 stdout _______ _ _ _ _
2019-10-10 10:07:45 stdout ------------------------------------

Please refer to the port setting in the installation guide.

SwiftPanda16,

Been a long time user of Tautulli and it’s predecessor. HUGE FAN.

I recently acquired some Phillips-Hues lighting and wanted to utilize the web-hook feature of Tautulli in order to control them, and to get to the point, it works 95% of the time. There’s one instance where it doesn’t, and I can’t seem to figure it out.

When I “play” or “resume” my video, I call notifier_id 9, which dims my lights.

When I “pause” or “stop” my video, I call notifier_id 10, which brightens my lights.

Works great! No Issues.

However…

If I “play” a file, and let it run all the way to the end, and it’s stops without any interaction on my part, it will not run notifier_id 10. Or even call it, based on the logs.

I’ve included two sets of logs, the first shows “PLAY” - “PAUSE” - “RESUME” - “STOP”.

The second shows what happens if I just hit “PLAY” and let it run till the end. Both with the same file.

I first noticed this on long movies, and thought maybe it was a time problem, but you can see, it also does it on short videos too.

By default, anything past the watched percent only triggers the watched event, not the stop event.

You can enable “Allow Consecutive Notifications” under Setting > Notifications & Newsletters (show advanced) to let it trigger both.

SwiftPanda16,

You.Are.The.Best.

Worked perfectly, thanks!

great app, thanks a lot, very much appreciated.

Windows - VERSION V2.1.37 Settings > Help & Info > Database File: Click Status and it returns > {“message”: “Database not ok”, “result”: “error”, “integrity_check”: “*** in database main ***\nPage 4687 is never used”}
Does this need to be addressed or no worries? Thanks.

My plex user base is my Wife, my Parents, my Sister, and myself. This month I noticed something interesting after using Tautulli for about 2 years now, finally chrome has fallen out of the top for most active players.

image

1 Like

I just finished migrating my Plex server to Linux and thanks to Tautulli, i was able to incorporate stats around streams and bandwidth into my desktop dashboard. Don’t know what i would do without Tautulli. Keep up the great work.

@SwiftPanda16 and/or @Blacktwin (not sure who exactly sure who this should go too).

Every so often when my one notification agent runs, I’ll notice that a stream that should have been killed by it (I kill any stream being transcoded below 4 Mbps) is still playing. When I check the logs, I’ll see a line that contains “Subprocess returned with status code -11”.

I have created a gist with the Tautulli logs here: https://gist.github.com/shark2k/4e6fbef7d84ba36c91fb8591d398b169

Not sure what else will be needed to diagnose this so let me know and I’ll work on getting it.

Thanks,
-Shark2k

Thanks for the answer @SwiftPanda16.

Based on that, I did a little more looking again and my guess is that the script that is being run is the one causing this (so 99.99% not a Tautulli issue as you said, though always that slim chance I guess) and it’s trying to access memory that it isn’t suppose to access. From that I would think this is something that @Blacktwin would then need to handle, though I’m not sure how he would go about doing that.

Thanks again,
-Shark2k

Enable debugging for the script. This may provide a little more insight to when and where the error occurs.

As Swift’s example shows it’s not isolated to any one script. It’s likely something with your system. Have you tried turning it off and on? :slight_smile:

Status code 11 is a segmentation fault which indicates an error with system memory.

I’ve added the debugging and I’ll see what happens if/when I see status code -11 again. Will that info show up in the Tautulli log or is it somewhere else?
I have turned my server off and on since that’s happened (I checked the Tautulli logs and had 82 instances of it, so my server has definitely been restarted). I have even restarted the docker container (though all that was not specific to the status code).

I did see Swift’s reply, but like I said, a lot of what I was finding while searching on the status code -11 again was indicating more illegal memory access than bad memory (though I did see that as a possibility). Since I have off this week from work, maybe I’ll try and run memtest on my server for a few hours to check the memory for any issues.

Thanks for the reply though, it’s appreciated.

-Shark2k

i requested help on reddit and was told to prfovide logs, but not what logs to post or where to find the logs. below is a copy of my thread from reddit.

i’m trying to install git-core so i can install tautulli and it will not install. have fe following from konsole:

gravedigger@Digger:~ apt-get install git-core E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? gravedigger@Digger:~ sudo su [sudo] password for gravedigger: root@Digger:/home/gravedigger# apt-get install git-core Reading package lists… Done Building dependency tree
Reading state information… Done E: Unable to locate package git-core root@Digger:/home/gravedigger# sudo pkg install python2 py27-setuptools py27-sqlite3 py27- sudo: pkg: command not found root@Digger:/home/gravedigger#

running kubuntu 19.10 64 bit, latest plex meadia server and player.

Dude… I replied to you.

i just checked reddit and unless you pointed me to the logs since my above post stands. now that said i searched for git instead of git-core and got git and tautulli installed. i don’t know if calling it git-core is the issue or if kubuntu 19.10 has a issue with git-core but both are fixed and working.

What you need to do is enable the universe repository. Go to System>Administration>Software Sources and click the check box on universe.

i noticed that on the link in the one reply and i have the universal repository enabled. it’s one of the first things i check.

The automoderator provided a link to Asking for Support which details the logs requested.