[RESOLVED] Impossible to activate Minidlna plugin

  • when i put port 8200 and check the box and click on save button, the port back to 0 again and the box in uncheck automatically..
    i have a share (audio) with a read only privilege for "others"


    other idea?

  • thanks,


    service minidlna status :
    could not access PID file for minidlna ... failed!


    but with a service minidlna start :
    minidlna is running.



    dpkg -l | grep minidlna :
    ii minidlna 1.0.25-2-23~1.gbpdcecf1 lightweight DLNA/UPnP-AV server targeted at embedded systems
    ii openmediavault-minidlna 0.5.9 OpenMediaVault miniDLNA (DLNA server) plugin

    • Offizieller Beitrag

    Uninstall and reinstall the plugin.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    What is the output of:


    Code
    cat /etc/openmediavault/config.xml | awk '/<minidlna>/,/<\/minidlna>/'

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Good point. If you don't purge, corrupt config.xml entries would remain.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Here the result :



    thanks


    the same with port 8200 and with a share


    $ sudo cat /etc/openmediavault/config.xml | awk '/<minidlna>/,/<\/minidlna>/'
    <minidlna>
    <enable>1</enable>
    <name>MiniDLNA-benbed</name>
    <port>8200</port>
    <strict>0</strict>
    <tivo>0</tivo>
    <shares>
    <share>
    <uuid>0695b60e-6359-4746-b9de-fb28e9d5228d</uuid>
    <sharedfolderref>5aea1f84-e43a-4523-ac4f-16d719a0577e</sharedfolde rref>
    <mtype>A</mtype>
    </share>
    </shares>
    </minidlna>
    <minidlna>
    <enable>1</enable>
    <name>MiniDLNA-benbed</name>
    <port>8200</port>
    <strict>0</strict>
    <tivo>0</tivo>
    <shares>
    <share>
    <uuid>0695b60e-6359-4746-b9de-fb28e9d5228d</uuid>
    <sharedfolderref>5aea1f84-e43a-4523-ac4f-16d719a0577e</sharedfolderref >
    <mtype>A</mtype>
    </share>
    </shares>
    </minidlna>

    • Offizieller Beitrag

    There are two sets of minidlna configs in your config.xml. Do the following as root:


    cp /etc/openmediavault/config.xml /root/config.bak
    nano /etc/openmediavault/config.xml


    Delete one of the sets of <minidlna> ... </minidlna>


    ctrl-o to save, ctrl-x to exit

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • here the result of :
    $ cat /etc/minidlna.conf


    port=8200 8200
    #network_interface=eth0
    friendly_name=MiniDLNA on OpenMediaVault MiniDLNA on OpenMediaVault
    #db_dir=/var/cache/minidlna
    #log_dir=/var/log
    album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt .jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
    inotify=yes
    enable_tivo=no
    strict_dlna=no
    notify_interval=60
    serial=31446138
    model_number=1
    #root_container=.



    ifconfig
    eth0 Link encap:Ethernet HWaddr 00:01:29:50:2f:eb
    inet adr:192.168.0.10 Bcast:192.168.0.255 Masque:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:308180 errors:0 dropped:0 overruns:0 frame:0
    TX packets:323119 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 lg file transmission:100
    RX bytes:267424497 (255.0 MiB) TX bytes:231054923 (220.3 MiB)


    lo Link encap:Boucle locale
    inet adr:127.0.0.1 Masque:255.0.0.0
    adr inet6: ::1/128 Scope:Hôte
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:272765 errors:0 dropped:0 overruns:0 frame:0
    TX packets:272765 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 lg file transmission:0
    RX bytes:345452251 (329.4 MiB) TX bytes:345452251 (329.4 MiB)

  • The double entry in the config.xml is the problem. Do as Ryeco says. And in the minidlna.conf eth0 should only be there one time. You have double entries on some items in the minidlna.conf due to the double entry in the config.xml.


    e.g.

    Code
    port=8200 8200
    #network_interface=eth0
    friendly_name=MiniDLNA on OpenMediaVault MiniDLNA on OpenMediaVault


    Notice the port and friendly_name parameters. minidlan will not start with the config like this.

Jetzt mitmachen!

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