Tautulli on Ubuntu 16.04 LTS

Here’s a no-nonsese install guide for installing PlexPy Tautulli on Ubuntu 16.04 LTS. I’m assuming you’re root (sudo up!)

# Install git
apt-get install git-core

# Change directory to /opt/ the default location for Tautulli 
cd /opt/

# Clone Tautulli to /opt/Tautulli
git clone https://github.com/Tautulli/Tautulli.git

# Create a service account for Tautulli
adduser --system --no-create-home tautulli

# Change permissions on the folder for the new service account
chown tautulli:nogroup -R /opt/Tautulli

# Set permissions on the Tautulli service file
chmod +x /opt/Tautulli/init-scripts/init.ubuntu

# Link the Tautulli service file to the init (startup/services) folder
ln -s /opt/Tautulli/init-scripts/init.ubuntu /etc/init.d/tautulli

# Update the startup/services
update-rc.d tautulli defaults

# Start PlexPy
service tautulli start

Now Tautulli should be running in the background and will start at bootup. Just head over to http://localhost:8181 and configure it to your liking.

14 thoughts on “Tautulli on Ubuntu 16.04 LTS

  1. hi. so i tried this and got to the very last statement but i got the following error. Any thoughts?

    root@hostname:/opt# systemctl status plexpy.service
    ● plexpy.service – PlexPy
    Loaded: loaded (/lib/systemd/system/plexpy.service; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Mon 2016-03-07 14:10:52 EST; 1min 29s ago
    Process: 4150 ExecStart=/opt/plexpy/PlexPy.py –quiet –daemon –nolaunch –config /opt/plex
    py/config.ini –datadir /opt/plexpy (code=exited, status=1/FAILURE)

    Mar 07 14:10:50 hostname systemd[1]: Starting PlexPy…
    Mar 07 14:10:52 hostname PlexPy.py[4150]: Cannot write to the data directory: /opt/…..
    Mar 07 14:10:52 hostname systemd[1]: plexpy.service: Control process exited, code=…s=1
    Mar 07 14:10:52 hostname systemd[1]: Failed to start PlexPy.
    Mar 07 14:10:52 hostname systemd[1]: plexpy.service: Unit entered failed state.
    Mar 07 14:10:52 hostname systemd[1]: plexpy.service: Failed with result ‘exit-code’.
    Hint: Some lines were ellipsized, use -l to show in full.

    1. sounds like you messed something up with the folder permissions.

      try chown plexpy:nogroup -R /opt/plexpy

      i used an other username

  2. PlexPy is already nice. Best would be if you could include PlexRequests(.net) as you will complete your Plex server. Any chance you’ll do that?

  3. Thank you, nice clean and simple instructions.

    Had one small issue – plexpy (v1.4.25) threw the error:

    CP Server Thread-5 : PlexPy Config :: Error writing configuration file: [Errno 2] No such file or directory: ‘/etc/plexpy/config.ini’

    Result – each time plexpy restarts – it reverts back to default settings (the welcome screen)

    For those with similar issue – Answer:
    mkdir /etc/plexpy
    touch /etc/plexpy/config.ini
    chown -R plexpy:nogroup /etc/plexpy

  4. I have tried and tried but it keeps failing tautulli.service failed because the control process exited with error code

  5. This was AWESOME! I’m sure you saved me a lot of time this evening and appreciate the post. I used it successfully on Ubuntu Server 18 with no issues.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.