Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Config error database::driver

Gregory
2010-02-10
2013-05-30
  • Gregory
    Gregory
    2010-02-10

    I'm running into trouble with the config file.

    So, here's my output on command line:

    # mediatomb -c /opt/mediatomb/mt.conf
    MediaTomb UPnP Server version 0.11.0 - http://mediatomb.cc/
    ===============================================================================
    Copyright 2005-2008 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
    MediaTomb is free software, covered by the GNU General Public License version 2
    2010-02-10 04:08:07    INFO: Loading configuration from: /opt/mediatomb/mt.conf
    2010-02-10 04:08:07    INFO: Checking configuration...
    2010-02-10 04:08:07    INFO: Migrating server configuration
    2010-02-10 04:08:07   ERROR: Config: option not found: /server/storage/attribute::driver
    

    and here is my config file:

    <?xml version="1.0" encoding="UTF-8"?>
    <config>
            <server>
                    <port>49152</port>
                    <interface>wlan0</interface>
                    <name>SuSE</name>
                    <presentationURL append-to="ip">80/mt/index.html</presentationURL>
                    <home>/opt/mediatomb</home>
                    <webroot>/usr/share/mediatomb/web</webroot>
                    <ui enabled="yes"/>
                    <accounts enabled="yes" session-timeout="30"/>
                    <account user="user" password="pass"/>
                    <udn>uuid:e757e7dc-3a0c-4ca2-93f4-cb8a54edb189</udn>
            </server>
            <storage>
                    <sqlite3 enabled="no"/>
                    <database-file>mediatomb.db</database-file>
                    <mysql enable="yes">
                    <host>localhost</host>
                    <port>3306</port>
                    <username>sqluser</username>
                    <password>sqlpass</password>
                    <database>mediatomb</database>
                    </mysql>
            </storage>
    </config>
    
     
  • Jin
    Jin
    2010-02-10

    Well, the config is indeed wrong on several occasions. I suggest that you let the server generate a default config.xml and then carefully adjust it with your changes. That's easier than fixing yours.