minidlna.conf

  • Hallo


    Ich habe folgendes Problem: wenn ich in der minidlna.conf Einträge verändere (vorher minidlna beendet) und dann minidlna wieder starte, wird der Eintrag, wo die Datenbank hin geschrieben werden soll, wieder zurückgesetzt. Die Datenbank wird dann immer im /tmp/minidlna geschrieben und nicht wie gewünscht in /var/lib/minidlna. Dadurch wird die Datenbank bei jeden Neustart des Servers neu geschrieben. Was kann ich dagegen tun?
    das Verzeichnis /var/lib/minidlna existiert und die Recht wurden mit chown minidlna:minidlna /var/lib/minidlna gesetzt.

    N40L / 8TB / RAID 1+0 on HP P212/256 / OMV 1.1

  • Code
    # set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
    #db_dir=/var/cache/minidlna


    You should have these lines in your minidlna.conf. The default location if not in /tmp is normally /var/cache/minidlna/files.db, not /var/lib/etc... All you have to do is


    service minidlna stop


    use nano to edit the db_dir= line to whateveter you want (e.g. db_dir=/var/cache/minidlna/) and take out the #


    service minidlna start


    viel Glueck...


    The service should not be rescanning on every restart at /tmp. Did you put a checkmark in "Media Rescan" on OMV's plugin?

  • Show your minidlna.conf..


    Also, try changing it to


    /var/cache/minidlna/


    and do a


    chown -R minidlna:minidlna /var/cache/minidlna


    The program may not let you use your own default location. You may only be able to use /tmp or /var/cache.
    It is like it is finding the /var/lib entry is bad and resetting it to the default /tmp.
    Delete any files.db before you restart.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!