DrKK
FreeNAS Generalissimo
- Joined
- Oct 15, 2013
- Messages
- 3,630
PlexPy is a python script that goes with Plex Media Server, if you use it in jails. It is a secondary thing that collects and present statistics, contacts you with notifications about your plex server, etc. Many FreeNAS users who install their own (i.e., non-plugin) Plex on their FreeNAS will also run PlexPy concurrently.
First of all, thank you to @sunrunner20 in the IRC channel for bringing to, effectively, FreeBSD's attention that plexpy is now "Tautulli". Apparently, the dev for that python script decided/was forced to changed the name from "plexpy" to something not mentioning Plex(tm), so now it's "Tautulli", which, other than sounding like a random Finnish word to me, has no significance I am aware of.
As a result of being informed of this, I contacted "Feld", who is one of the FreeBSD guys that is responsible for the ports of most of the software a lot of you guys are using (plexmediaserver, e.g., and like dozens of others). That was Thursday I think. Well today (Saturday), Feld has put in the FreeBSD ports tree the tautulli software. If you use portmaster or poudriere, I think at this point you are getting an automatic ports move. If you're not using portmaster or poudriere, then you don't need me to tell you how to install anything, and you can take it from here.
Anyway, the "upgrade" is significant, Tautulli is way nicer than PlexPy. And the upgrade is seamless if you do a few things. You can either cobble this together from the note in the original ports commit, or you can do the DrKK technique which seemed to work just fine, and maintained all the settings of my old plexpy seamlessly:
0. Stop the plexpy service, and cut her off in the rc.conf in whatever way floats your boat.
1. You'll need to install tautulli and start the service one time. Verify that your web front end is listening, and you can get to it. Of course, it will be jacked up for now.
2. Stop tautulli. Go to your old plexpy directory, which I believe is /usr/local/plexpy for almost everyone. In there, you will find config.ini, and this should be copied, as-is, to /var/db/tautulli
3. You will also find plexpy.db. You're going to want to take that file, and copy it, as is, WITH ITS ORIGINAL NAME, into /var/db/tautulli
4. Now, in /var/db/tautulli, make sure you do *NOT* have a tautulli.db in there. If there is one, blow it away.
5. When tautulli cannot find a tautulli.db, only then will it look for a plexpy.db. If it finds one, it will convert it to a proper tautulli.db.
6. *NOW*, go ahead and turn on the service at boot (whatever your preferred method is, I prefer: "sysrc tautulli_enable=yes")
7. Turn on the service ("service tautulli start)
8. Now check your usual plexpy web page. You should now see the magic.
9. **IF** you do not, the problem is almost certainly the ownership of the directory or files (particularly tautulli.db) in the /var/db/tautulli diectory. In most cases, you'll want those files (and the directory) to be owned by the same user as your plexpy user was, which for almost everyone is "nobody". Use "chown" as appropriate to effectuate that change, and restart the service.
OK, let me know how you all make out. I know we have a few thousand, or certainly hundreds, of people using plexpy.
First of all, thank you to @sunrunner20 in the IRC channel for bringing to, effectively, FreeBSD's attention that plexpy is now "Tautulli". Apparently, the dev for that python script decided/was forced to changed the name from "plexpy" to something not mentioning Plex(tm), so now it's "Tautulli", which, other than sounding like a random Finnish word to me, has no significance I am aware of.
As a result of being informed of this, I contacted "Feld", who is one of the FreeBSD guys that is responsible for the ports of most of the software a lot of you guys are using (plexmediaserver, e.g., and like dozens of others). That was Thursday I think. Well today (Saturday), Feld has put in the FreeBSD ports tree the tautulli software. If you use portmaster or poudriere, I think at this point you are getting an automatic ports move. If you're not using portmaster or poudriere, then you don't need me to tell you how to install anything, and you can take it from here.
Anyway, the "upgrade" is significant, Tautulli is way nicer than PlexPy. And the upgrade is seamless if you do a few things. You can either cobble this together from the note in the original ports commit, or you can do the DrKK technique which seemed to work just fine, and maintained all the settings of my old plexpy seamlessly:
0. Stop the plexpy service, and cut her off in the rc.conf in whatever way floats your boat.
1. You'll need to install tautulli and start the service one time. Verify that your web front end is listening, and you can get to it. Of course, it will be jacked up for now.
2. Stop tautulli. Go to your old plexpy directory, which I believe is /usr/local/plexpy for almost everyone. In there, you will find config.ini, and this should be copied, as-is, to /var/db/tautulli
3. You will also find plexpy.db. You're going to want to take that file, and copy it, as is, WITH ITS ORIGINAL NAME, into /var/db/tautulli
4. Now, in /var/db/tautulli, make sure you do *NOT* have a tautulli.db in there. If there is one, blow it away.
5. When tautulli cannot find a tautulli.db, only then will it look for a plexpy.db. If it finds one, it will convert it to a proper tautulli.db.
6. *NOW*, go ahead and turn on the service at boot (whatever your preferred method is, I prefer: "sysrc tautulli_enable=yes")
7. Turn on the service ("service tautulli start)
8. Now check your usual plexpy web page. You should now see the magic.
9. **IF** you do not, the problem is almost certainly the ownership of the directory or files (particularly tautulli.db) in the /var/db/tautulli diectory. In most cases, you'll want those files (and the directory) to be owned by the same user as your plexpy user was, which for almost everyone is "nobody". Use "chown" as appropriate to effectuate that change, and restart the service.
OK, let me know how you all make out. I know we have a few thousand, or certainly hundreds, of people using plexpy.