Tautulli Permission Error

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Comfubar
Posts: 1
Joined: Wed Nov 21, 2018 10:37 am

Tautulli Permission Error

Post by Comfubar »

Good Evening,

I'm new to Diet-pi but not necessarily tautulli by any means I just converted mine from my windows machine to Diet-pi but im getting this error

Tautulli Config :: Error writing configuration file: [Errno 13] Permission denied: '/opt/plexpy/config.ini'

So I need to get config.ini and or tautulli root permissions I do believe how do I do so?
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: Tautulli Permission Error

Post by MichaIng »

Thanks for your report. Try instead

Code: Select all

chown -R plexpy:plexpy /opt/plexpy
systemctl restart plexpy
If I see right, we missed that on install script. Will check and fix with v6.18

Opened issue: https://github.com/Fourdee/DietPi/issues/2273
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: Tautulli Permission Error

Post by MichaIng »

@Comfubar
I did a start to fix this. Service start does not require permission changes, since plexpy install dir is world readable, scripts world executable. WebUI opens up. We could not further test due to lack of Plex.tv account.

But your error makes sense, as /opt/plexpy/config.ini creation and edit needs write access for plexpy user. The above chown command will fix this.

But I aim to enhance reinstalls as well. Currently the new downloaded install dir would fail to move, if old one does already exist.
To know how to handle this:

- Does Tautulli have an internal updater?
- Or would you update via git client/command?
Then we would simply skip download, if install dir already exist and refer to internal updater/git instead.
Post Reply