1.15.0 - "Graph building failed" when running TVServer with an account without administrator priviledges

Discussion in 'Archive' started by Andy_2639, March 11, 2017.

  1. Andy_2639

    Andy_2639 Portal Member

    Joined:
    February 25, 2017
    Messages:
    8
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hello

    I'd like to run TVServer with an account without administrator priviledges because I don't want to give a program which allows incoming network connections more rights than it has to have.

    I tested this with my system 2639capricornus.

    When running TVServer with an account with administrator priviledges (System or Administrator), everything is fine.
    Running it with an unpriviledged account (Local Service or capricornus [a guest account]), I get the error message "Graph building failed".

    Timeshift folder is "T:\MediaPortal TV Server\TimeShift-Buffer"
    Logs folder is "T:\MediaPortal TV Server\Logs"

    Both folders have the same access rights as both inherit them from "T:\MediaPortal TV Server".
    So TVServer has enough rights to write to "T:\MediaPortal TV Server\TimeShift-Buffer" because it could create the log files.

    I attached log files from running TVServer with Local Services and with System account.



    Kind regards,
    Andreas
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Andy_2639,

    My guess in your other thread was correct:
    As part of the tuner loading ("graph-building") process, TV Server saves a graph file (*.grf) for to c:\ProgramData\Team MediaPortal\MediaPortal TV Server. There's one file for each tuner. Therefore the account that TV Server uses must be able to create, read and modify sub-directories and files within that directory. Note that tuning details (used for scanning), WebEPG configuration and a whole lot of other stuff is kept in that folder too, so if you were thinking of trying to get TV Server to use a different folder (eg. log folder => T:\MediaPortal TV Server\Logs), I honestly think you'd be making life hard for yourself.
     
  4. Andy_2639

    Andy_2639 Portal Member

    Joined:
    February 25, 2017
    Messages:
    8
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Germany Germany
    Show System Specs
    I already forgot that I manually moved the log folder ...

    With Change rights, TVServer runs fine with Local Services account.
    Thanks!

    After knowing for what I have to look in the log, the line
    clearly says what went wrong. (I should have recognized it earlier, too.)
    Would it be possible to include the path of the file with access problems?

    Out of curiosity: what contains the graph file that it has to be saved every time I start watching tv?
     
  5. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    No, because the exception/error does not include/provide that detail to us. I only knew that it was a file access problem because I've seen it before.

    The file contains technical information related to the tuner. It's only saved when the tuner is loaded (ie. once per tuner after the TV service starts), not every time you start watching TV or change channel.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!