[solved] 0.5 upgrade plugins error #2

    • [solved] 0.5 upgrade plugins error #2

      Hi,

      first of all. Thank you for OMV, it is a great NAS distribution!
      second: Yes, I know a similar topic was closed a few days ago, but I uninstalled all my plugins (at least I thought I did) and also used the upgrade cleaning script!

      So I have the exact problem as this guy: forums.openmediavault.org/viewtopic.php?f=14&t=2456

      Is there anything I can do now, besides reinstalling OMV to get plugins working?

      The post was edited 1 time, last by sektion31 ().

    • Re: 0.5 upgrade plugins error #2

      Please give me the output of the following commands:

      Source Code

      1. cat /etc/apt/sources.list
      2. ls -la /etc/apt/sources.list.d/
      3. cat /etc/apt/sources.list.d/openmediavault.list
      4. dpkg -l | grep openmediavault
      5. ls -la /var/www/openmediavault/js/omv/module/admin/


      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: 0.5 upgrade plugins error #2

      Source Code

      1. cat /etc/apt/sources.list
      2. # deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20120709-19:30]/ squeeze main non-free
      3. deb http://ftp.de.debian.org/debian/ squeeze main contrib non-free
      4. deb-src http://ftp.de.debian.org/debian/ squeeze main contrib non-free
      5. deb http://security.debian.org/ squeeze/updates main non-free
      6. deb-src http://security.debian.org/ squeeze/updates main non-free
      7. # squeeze-updates, previously known as 'volatile'
      8. deb http://ftp.de.debian.org/debian/ squeeze-updates main non-free
      9. deb-src http://ftp.de.debian.org/debian/ squeeze-updates main non-free
      10. # for non-free multimedia packages
      11. deb http://ftp.uni-kl.de/debian-multimedia/ stable main
      12. deb-src http://ftp.uni-kl.de/debian-multimedia/ stable main
      13. #deb http://www.deb-multimedia.org squeeze main non-free
      14. # wheezy backports
      15. deb http://backports.debian.org/debian-backports/ squeeze-backports main
      16. root@selektos:~# ls -la /etc/apt/sources.list.d/
      17. total 20
      18. drwxr-xr-x 2 root root 4096 Sep 8 14:22 .
      19. drwxr-xr-x 6 root root 4096 Aug 23 15:21 ..
      20. -rw-r--r-- 1 root root 115 Jul 23 2012 deb-multimedia.list
      21. -rw-r--r-- 1 root root 43 Aug 20 03:14 froxlor.list
      22. -rwxr-xr-x 1 root root 679 Sep 8 14:21 openmediavault.list
      23. root@selektos:~# cat /etc/apt/sources.list.d/openmediavault.list
      24. deb http://packages.openmediavault.org/public sardaukar main
      25. # deb http://downloads.sourceforge.net/project/openmediavault/packages sardaukar main
      26. ## Uncomment the following line to add software from the proposed repository.
      27. # deb http://packages.openmediavault.org/public sardaukar-proposed main
      28. # deb http://downloads.sourceforge.net/project/openmediavault/packages sardaukar-proposed main
      29. ## This software is not part of OpenMediaVault, but is offered by third-party
      30. ## developers as a service to OpenMediaVault users.
      31. # deb http://packages.openmediavault.org/public sardaukar partner
      32. # deb http://downloads.sourceforge.net/project/openmediavault/packages sardaukar partner
      33. root@selektos:~# dpkg -l | grep openmediavault
      34. ii openmediavault 0.5.8 Open network attached storage solution
      35. ii openmediavault-keyring 0.2 GnuPG archive keys of the OpenMediaVault archive
      36. pc openmediavault-minidlna 1.0.23-cvs20111203-static-4 OpenMediaVault miniDLNA (DLNA server) plugin
      37. root@selektos:~# ls -la /var/www/openmediavault/js/omv/module/admin/
      38. total 28
      39. drwxrwxr-x 7 openmediavault openmediavault 4096 Sep 8 14:22 .
      40. drwxrwxr-x 5 openmediavault openmediavault 4096 Sep 8 14:22 ..
      41. drwxrwxr-x 5 openmediavault openmediavault 4096 Sep 8 14:22 diagnostic
      42. drwxrwxr-x 5 openmediavault openmediavault 4096 Sep 8 14:22 privilege
      43. drwxrwxr-x 10 openmediavault openmediavault 4096 Sep 8 14:22 service
      44. drwxrwxr-x 6 openmediavault openmediavault 4096 Sep 8 14:22 storage
      45. drwxrwxr-x 11 openmediavault openmediavault 4096 Sep 8 14:22 system
      Display All


      Thanks for the help. Do you know what the "p" in the last line of dpkg -l | grep openmediavault means?

      The post was edited 1 time, last by sektion31 ().

    • Re: 0.5 upgrade plugins error #2

      Hmmm.

      Source Code

      1. dpkg --list |grep "^pc" | cut -d " " -f 3 | xargs sudo dpkg --purge
      2. (Reading database ... 37147 files and directories currently installed.)
      3. Removing openmediavault-minidlna ...
      4. Purging configuration files for openmediavault-minidlna ...
      5. Removing user 'minidlna'...userdel: user minidlna is currently logged in
      6. /usr/sbin/deluser: `/usr/sbin/userdel minidlna' returned error code 8. Exiting.
      7. Failed.
      8. Removing group 'minidlna'.../usr/sbin/delgroup: `minidlna' still has `minidlna' as their primary group!
      9. Failed.
      10. /var/lib/dpkg/info/openmediavault-minidlna.postrm: 59: omv_config_delete_user: not found
      11. dpkg: error processing openmediavault-minidlna (--purge):
      12. subprocess installed post-removal script returned error exit status 127
      13. Errors were encountered while processing:
      14. openmediavault-minidlna
      Display All
    • Re: 0.5 upgrade plugins error #2

      Source Code

      1. ps aux | grep mini


      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: 0.5 upgrade plugins error #2

      Oh shit. Yeah I remeber now. I used to have a upnp server running, apparently I named the invoking script "minidlna"

      Source Code

      1. ps -ef |fgrep minidlna
      2. minidlna 1296 1 0 14:25 ? 00:00:20 /usr/bin/java -Djava.net.preferIPv4Stack=true -jar BubbleUPnPServer.jar


      But purging the config files still fails.

      Source Code

      1. Removing openmediavault-minidlna ...
      2. Purging configuration files for openmediavault-minidlna ...
      3. /var/lib/dpkg/info/openmediavault-minidlna.postrm: 59: omv_config_delete_user: not found
      4. dpkg: error processing openmediavault-minidlna (--purge):
      5. subprocess installed post-removal script returned error exit status 127
      6. Errors were encountered while processing:
      7. openmediavault-minidlna


      the command omv_config_delete_user seems to not exist in 0.5 any more. would it be a bad idea to remove the line and delete the user by hand?
    • Re: 0.5 upgrade plugins error #2

      Make a backup of the file and give it a try.

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: 0.5 upgrade plugins error #2

      Ok I guess I am back at the beginning. I commented out the delete_user cmd in the script and purged the remaining openmediavault-minidlna config files.
      Unfortunately it didnt help, so I figure OMV must keep its own track of installed packages, besides using dpkg. Does someone know where to access them?

      It would also be helpful if I knew what omv_config_delete_user did in 0.4. Couldn't find the package, which it comes from. its not openmediavault_0.4.36_all.deb. Would be great if someone with an "old" installation could post the omv_config_delete and omv_config_delete_user scripts.
    • Users Online 1

      1 Guest