[SOLVED] MiniDLNA Problems

  • I have just completed a command line upgrade from 2.7.4 to 0.4.16, prior to starting the upgrade I uninstalled all my plugins. The upgrade went ok it seems, the system is up and I can see my shares etc.
    From the the GUI I have installed the plugin "omvplugins.org 2.2.1"
    Next was MiniDLDA, but I am having problems with that. DLNA appears in the GUI tree on the left and when I check the box on the configuration page to enable and save I get the following error:

    Error #2003:
    exception 'OMVException' with message 'Invalid method parameter: Array is not an object.' in /usr/share/php/openmediavault/rpc.inc:293
    Stack trace:
    #0 /var/www/openmediavault/rpc/minidlna.inc(114): OMVRpc->validateParams('MiniDLNARpc::se...', Array)
    #1 /var/www/openmediavault/rpc/minidlna.inc(153): MiniDLNARpc->_validate('MiniDLNARpc::se...', Array)
    #2 [internal function]: MiniDLNARpc->set(Array)
    #3 /usr/share/php/openmediavault/rpc.inc(265): call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc.inc(98): OMVRpc::exec('MiniDLNA', 'set', Array)
    #5 /var/www/openmediavault/rpc.php(44): OMVJsonRpcServer->handle()
    #6 {main}


    I am unable to add a share in the dialogue box at the bottom of the configuration page
    also, the DLNA icon shows in the menu tree to the left but when I look at the plugins page it shows not installed. Can't remove it, errors when i try to re-install it. Please help!


  • That file didn't exist. My son just helped me add it, followed the rest of your instructions and it seems to be fine now. Not sure where I went wrong in the upgrade process?


    Thanks very much for your help!

  • @tekkbebe


    You said that minidlna and the plugin must both be installed. I can't get that to work since upgrading to fedaykin. If I install minidlna first, I get the following error:


    Code
    trying to overwrite '/etc/default/minidlna', which is also in package minidlna 1.0.25


    If I try to install the plugin first, then minidlna will give the same error for the same file. Also, although I can Remove the plugin, I can't Purge it--it gives errors when trying to remove the minidlna user and group.


    The minidlna plugin was working fine prior to upgrading to fedaykin. Prior to upgrading I tried to uninstall the plugin via the gui. It showed the error in trying to remove the minidlna user and group, but the plugin then showed as not installed. I proceeded with the upgrade and tried to reinstall the plugin and it has not worked since. The plugin installs and appears in the gui (as long as minidlna is not installed first), but obviously won't work without minidlna itself installed. I just can't get both packages to play nice together.


    Can I fix this without reinstalling OMV?

  • In the OMV web-gui go to /system/plugins and on right uninstall openmediavault-minidilana (that is the plugin).


    then in command line via root ssh session (Putty):


    apt-get --purge remove minidlna



    Then go back to plugins section. You should have minidlna (package) and openmediavault-minidlna. Put a check
    in both of them and install.

  • I have never seen both packages (minidlna and openmediavault-minidlna) in the plugin list, either before or after upgrading to fedaykin. All that is listed regarding DLNA in my plugin list is "openmediavault-minidlna 1.0.23-cvs20111203-static-4" which is NOT currently installed.


    Is this even the current version? All of the other plugins seems to start with "0.4". I can "apt-get purge minidlna" without an error, and If I


    apt-get remove openmediavault-minidlna


    it says package not installed, but if I


    apt-get purge openmediavault-minidlna


    then it exits with an error when trying to remove the omv user (I assume it means omv user minidlna)--it says user not found.


    Something is clearly out of sync, but I don't know how to fix it.


    Note, the omvpluginsorg current version shows as "openmediavault-omvpluginsorg 0.4.1+0~1355675019.3~1.gbpe45741" if that is helpful.

  • I installed omv-plugins,org via the gui, so I am not sure how it got to be wrong now.


    If I try the instructions on your post, the wget (as copy & pasted) command results in:


    Code
    --2013-02-23 08:53:06--  http://packages.omv-plugins.org/pool/main/o/openmediavault-omvpluginsorg/openmediavault-omvpluginsorg_0.4~10.gbp5bae63_all.deb
    Resolving packages.omv-plugins.org (packages.omv-plugins.org)... 37.200.98.204
    Connecting to packages.omv-plugins.org (packages.omv-plugins.org)|37.200.98.204|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 12048 (12K) [application/octet-stream]
    openmediavault-omvpluginsorg_0.4~10.gbp5bae63_all.deb: Permission denied
    
    
    Cannot write to `openmediavault-omvpluginsorg_0.4~10.gbp5bae63_all.deb' (Permission denied).
  • Ok, facepalm. I wasn't logged in to the server. Doh! Now the commands from your post run without error, but after install the version number for the now-installed omvpluginsorg is the same as it was before (0.4.1+0~1355675019.3~1.gbpe45741).


    What gives?

  • OK, go to here in OMV web-gui:


    /system /OMV-Plugins.org then on right make sure stable is checkmarked and then click on ok.


    the go to command line ssh via putty and do:


    apt-get update
    apt-get upgrade


    then look in plugins and see if you have any minidlna that is not installed. still i want results of that grep command from my last post.

  • That took a minute (lots of updates to the system). The results of your command are:


    Code
    ii  openmediavault                     0.4.24                           Open network attached storage solution
    ii  openmediavault-forkeddaapd         0.4.2                            OpenMediaVault forked-daapd (DAAP server) plugin
    ii  openmediavault-keyring             0.2                              GnuPG archive keys of the OpenMediaVault archive
    pc  openmediavault-minidlna            1.0.23-cvs20111203-static-4      OpenMediaVault miniDLNA (DLNA server) plugin
    ii  openmediavault-omvpluginsorg       0.4.1+0~1355675019.3~1.gbpe45741 OMV-Plugins.org Package Repositories for OpenMediaVault


    Stable is checked (not Donald or Glass), I then used the "check" command on the plugins page, and the only plugin available re minidlna is the openmediavault-minidlna (same as before). There is not separate package for minidlna alone. Even though openmediavault-minidlna appears in the results above, it shows as NOT installed in OMV. Perhaps because the "apt-get purge openmediavault-minidlna" never exited cleanly?

  • How did you get this minidlna package on your machine??? Are you sure it was via the plugins in the web-gui??? We have to upgrade to correct one. Uinstalling will most likely take off all of OMV due to the debian control file. I'm thinking be back in a bit....

  • I have been using the same install of OMV since practically the beginning, and upgrading as I go. I had a problem with plugins when I went from 0.2 to 0.3, so I decided to remove all plugins before going from 0.3 to 0.4. I think the problem began there. When uninstalling the minidlna plugin, the dialog showed an error (I think it was unable to remove the minidlna user and group). However, when the page refreshed, it showed the minidlna plugin as not installed, so I went ahead with the OMV upgrade to 0.4. I have not been able to get minidlna working ever since.


    Can I comment the lines in the postrm script that try to remove the OMV user and group so the apt-get purge command can complete?

  • ok, problem most likely start cuz you didn't uninstall old plugins before you upgraded. This one however never upgraded and now we have to deal with it. Don't jump the gun cuz we could make mistake. Give me a bit. Check this folder for me and tell me if the new plugin is on your machine. Do this:


    cd /var/cache/apt/archives
    ls -la


    look thru there and tell me if a .4 openemediavault-minidlna package is there but has not installed....

  • (corrected the type in the path var not vat)


    No, there is only:


    Code
    -rw-r--r-- 1 root root   976720 Feb 19 15:26 openmediavault_0.4.24_all.deb
    -rw-r--r-- 1 root root    14938 Jan 22 14:58 openmediavault-forkeddaapd_0.4.2_all.deb
    -rw-r--r-- 1 root root     3268 Jan 25 12:41 openmediavault-keyring_0.2_all.deb
    -rw-r--r-- 1 root root    12020 Dec 16 11:24 openmediavault-omvpluginsorg_0.4.1+0~1355675019.3~1.gbpe45741_all.deb
  • I'm uploading file you need and going to make instructions..... brb...



    cd /var/cache/apt/archives


    Code
    wget http://sourceforge.net/projects/openmediavault/files/tmp/openmediavault-minidlna_0.4+0~1355675183.5~1.gbpa4376d_all.deb


    let me know if you got this ok....

Jetzt mitmachen!

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