Invalid web_root when starting

Viewing 10 posts - 1 through 10 (of 26 total)
  • Author
    Posts
  • #2807
    evandena
    Participant

    Hello,
    I’ve just installed from tarball without –prefix=/usr, and used the default location. I’ve checked that /usr/local/share/mt-daapd/admin-root contains the web files.

    When I try and start the server, I get:
    Invalid web_root
    Error reading config file (/etc/mt-daapd.conf)

    Any help would be appreciated.
    Thanks,
    Eric

    #18201
    evandena
    Participant

    Anyone able to offer a suggestion?

    #18200
    fizze
    Participant

    Whats the relevant line in your config file?
    What are the permissions of the webroot?
    What user do you run mt-daapd as?

    #18202
    evandena
    Participant

    Thanks for the reply.

    I’ve tried various settings to get it to to work, but am always presented with the same error.

    The webroot line from the config is:
    web_root /usr/local/share/mt-daapd/admin-root

    I’ve tried running as root, a service account, nobody. I’ve also tried a slew of permissions on admin-root.

    What exactly is required? What permissions etc work for everyone else?

    #18203
    fizze
    Participant

    you’re missing an equals sign 😉
    it should read:

    web_root = /usr/local/share/mt-daapd/admin-root

    Well, my admin-root is owned by root and is world readable for instance.

    #18204
    evandena
    Participant

    That’s strange about the = sign.
    I added the = sign like you suggested, but it still says:
    Invalid web_root
    Error reading config file (/etc/mt-daapd.conf)

    There are no other = signs in my config… all I did was edit the default config, which uses tabs and not equal signs.

    #18205
    fizze
    Participant

    Only in 0.2.4 you don’t need the tabs. In the recent nightly builds you need the equal signs.
    Did you grab the source off nightlies.fireflymediaserver.org ?
    🙄

    Which version is it, anyway?

    #18206
    evandena
    Participant

    I have 2.4.2, build from source on CentOS 5.2

    #18207
    fizze
    Participant

    May I humbly suggest that you grab one of the nightlies from the aforementioned page.
    the 0.2.4 branch is ridiculously outdated.
    Despite them being called nightly builds, they are actually very stable, and boast a lot more features and performance than 0.2.4.x.

    #18208
    evandena
    Participant

    @fizze wrote:

    May I humbly suggest that you grab one of the nightlies from the aforementioned page.
    the 0.2.4 branch is ridiculously outdated.
    Despite them being called nightly builds, they are actually very stable, and boast a lot more features and performance than 0.2.4.x.

    I’ll give that a try. Thanks for all your help thus far.

Viewing 10 posts - 1 through 10 (of 26 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.