omv-update Command not found & no Webgui

    • OMV 2.x
    • Update

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • omv-update Command not found & no Webgui

      Hello

      I have a big problem
      I think i was on OMV 2.?? and tried a update via
      apt-get update && apt-get dist-upgrade && omv-update

      Now are all commands not found
      omv-update -bash: omv-update: Kommando nicht gefunden.
      omv-release-upgrade -bash: omv-release-upgrade: Kommando nicht gefunden.
      omv-firstaid -bash: omv-firstaid: Kommando nicht gefunden.

      WebGUI says
      403 Forbidden

      Samba is working

      So what can i do?
      I dont want to reinstall and configure all new.

      Really big thanks
    • Source Code

      1. /# dpkg -l | grep openm
      2. rc openmediavault 3.0.8 all Open network attached storage solution
      3. rc openmediavault-couchpotato 1.0.3 all OpenMediaVault CouchPotatoServer plugin
      4. rc openmediavault-headphones 1.0.2 all OpenMediaVault Headphones plugin
      5. rc openmediavault-jdownloader 1.0.10 all OpenMediaVault Jdownloader plugin
      6. ii openmediavault-keyring 0.4 all GnuPG archive keys of the OpenMediaVault archive
      7. rc openmediavault-lvm2 3.0 all OpenMediaVault Logical Volume Manager (LVM2) plugin
      8. rc openmediavault-mysql 1.0.16 all MySQL plugin for OpenMediaVault.
      9. rc openmediavault-nut 3.0.1 all OpenMediaVault Network UPS Tools (NUT) plugin
      10. rc openmediavault-omvextrasorg 1.34 all OMV-Extras.org Package Repositories for OpenMediaVault
      11. rc openmediavault-openvpn 1.1 all OpenVPN plugin for OpenMediaVault.
      12. rc openmediavault-owncloud 2.0.3 all OpenMediaVault ownCloud plugin
      13. rc openmediavault-pyload 1.0.4 all OpenMediaVault pyLoad plugin
      14. rc openmediavault-sabnzbd 1.0.7 all OpenMediaVault SABnzbd plugin
      15. rc openmediavault-sickbeard 1.0.14 all OpenMediaVault Sick Beard plugin
      16. rc openmediavault-vdr 1.1 all VDR plugin for OpenMediaVault.
      17. rc openmediavault-vdr-extras 1.3 all Extras plugin for openmediavault-vdr.
      18. rc openmediavault-wol 1.0.4 all OpenMediaVault WOL plugin
      Display All

    • You partially upgraded to OMV 3.x (bad idea) and now your system is a mess. You must have executed omv-release-upgrade instead of omv-update. Why are you updating from the command line?
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Why did the GUI have many errors? Either way, the system is in a bad state. I recommend a reinstall.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Nope. That is the reason why we recommend cloning your system once it is setup (and when any major changes happen).
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • I got the same error. I want to upgrade to the current version. Currently running on 1.19. I have read, that before you perform an upgrade you should be up to date.
      When I try to update over the web gui I get the following error while checking for updates:

      Display Spoiler

      Source Code

      1. Failed to execute command 'export LANG=C; apt-get update 2>&1': Ign file: Release.gpg
      2. [...]
      3. Err http://ppa.launchpad.net wheezy/main Sources
      4. 404 Not Found
      5. Err http://ppa.launchpad.net wheezy/main armhf Packages
      6. 404 Not Found
      7. [...]
      8. W: Failed to fetch http://ppa.launchpad.net/transmissionbt/ppa/ubuntu/dists/wheezy/main/source/Sources 404 Not Found
      9. W: Failed to fetch http://ppa.launchpad.net/transmissionbt/ppa/ubuntu/dists/wheezy/main/binary-armhf/Packages 404 Not Found
      10. E: Some index files failed to download. They have been ignored, or old ones used instead.
      Display All

      I found this discussion Error updating Secondary OMV-extras "Failed to execute command 'export LANG=C; apt-get update 2>&1. I tried some ideas but they didn't worked:
      • Set the DNS to 192.168.1.1 / 8.8.8.8 over the webgui --> Same error

      • apt-get clean
      • update:
      Display Spoiler

      Source Code

      1. Ign file: Release.gpg
      2. Ign file: Release
      3. Ign file: Translation-en_US
      4. Ign file: Translation-en
      5. Hit http://security.debian.org wheezy/updates Release.gpg
      6. Hit http://debian.mirrors.tds.net wheezy Release.gpg
      7. Ign http://ppa.launchpad.net wheezy Release.gpg
      8. Hit http://security.debian.org wheezy/updates Release
      9. Ign http://ppa.launchpad.net wheezy Release
      10. Hit http://security.debian.org wheezy/updates/main Sources
      11. Hit http://security.debian.org wheezy/updates/contrib Sources
      12. Hit http://security.debian.org wheezy/updates/non-free Sources
      13. Hit http://security.debian.org wheezy/updates/main armhf Packages
      14. Hit http://security.debian.org wheezy/updates/contrib armhf Packages
      15. Hit http://security.debian.org wheezy/updates/non-free armhf Packages
      16. Hit http://security.debian.org wheezy/updates/contrib Translation-en
      17. Hit http://debian.mirrors.tds.net wheezy-updates Release.gpg
      18. Hit http://security.debian.org wheezy/updates/main Translation-en
      19. Hit http://security.debian.org wheezy/updates/non-free Translation-en
      20. Hit http://debian.mirrors.tds.net wheezy Release
      21. Hit http://debian.mirrors.tds.net wheezy-updates Release
      22. Err http://ppa.launchpad.net wheezy/main Sources
      23. 404 Not Found
      24. Err http://ppa.launchpad.net wheezy/main armhf Packages
      25. 404 Not Found
      26. Hit http://debian.mirrors.tds.net wheezy/main Sources
      27. Ign http://ppa.launchpad.net wheezy/main Translation-en_US
      28. Ign http://ppa.launchpad.net wheezy/main Translation-en
      29. Hit http://debian.mirrors.tds.net wheezy/contrib Sources
      30. Hit http://debian.mirrors.tds.net wheezy/non-free Sources
      31. Hit http://debian.mirrors.tds.net wheezy/main armhf Packages
      32. Hit http://debian.mirrors.tds.net wheezy/contrib armhf Packages
      33. Hit http://debian.mirrors.tds.net wheezy/non-free armhf Packages
      34. Hit http://debian.mirrors.tds.net wheezy/contrib Translation-en
      35. Hit http://debian.mirrors.tds.net wheezy/main Translation-en
      36. Hit http://debian.mirrors.tds.net wheezy/non-free Translation-en
      37. Hit http://debian.mirrors.tds.net wheezy-updates/main Sources
      38. Hit http://debian.mirrors.tds.net wheezy-updates/contrib Sources
      39. Hit http://debian.mirrors.tds.net wheezy-updates/non-free Sources
      40. Hit http://debian.mirrors.tds.net wheezy-updates/main armhf Packages/DiffIndex
      41. Hit http://debian.mirrors.tds.net wheezy-updates/contrib armhf Packages
      42. Hit http://debian.mirrors.tds.net wheezy-updates/non-free armhf Packages/DiffIndex
      43. Hit http://debian.mirrors.tds.net wheezy-updates/contrib Translation-en
      44. Hit http://debian.mirrors.tds.net wheezy-updates/main Translation-en/DiffIndex
      45. Hit http://debian.mirrors.tds.net wheezy-updates/non-free Translation-en/DiffIndex
      46. Err http://packages.openmediavault.org kralizec Release.gpg
      47. Could not connect to packages.openmediavault.org:80 (178.254.11.33). - connect (110: Connection timed out)
      48. Ign http://packages.openmediavault.org kralizec Release
      49. Ign http://packages.openmediavault.org kralizec/main armhf Packages/DiffIndex
      50. Err http://packages.openmediavault.org kralizec/main Translation-en_US
      51. Unable to connect to packages.openmediavault.org:http:
      52. Err http://packages.openmediavault.org kralizec/main Translation-en
      53. Unable to connect to packages.openmediavault.org:http:
      54. Err http://packages.openmediavault.org kralizec/main armhf Packages
      55. Unable to connect to packages.openmediavault.org:http:
      56. W: Failed to fetch http://packages.openmediavault.org/public/dists/kralizec/Release.gpg Could not connect to packages.openmediavault.org:80 (178.254.11.33). - connect (110: Connection timed out)
      57. W: Failed to fetch http://ppa.launchpad.net/transmissionbt/ppa/ubuntu/dists/wheezy/main/source/Sources 404 Not Found
      58. W: Failed to fetch http://ppa.launchpad.net/transmissionbt/ppa/ubuntu/dists/wheezy/main/binary-armhf/Packages 404 Not Found
      59. W: Failed to fetch http://packages.openmediavault.org/public/dists/kralizec/main/i18n/Translation-en_US Unable to connect to packages.openmediavault.org:http:
      60. W: Failed to fetch http://packages.openmediavault.org/public/dists/kralizec/main/i18n/Translation-en Unable to connect to packages.openmediavault.org:http:
      61. W: Failed to fetch http://packages.openmediavault.org/public/dists/kralizec/main/binary-armhf/Packages Unable to connect to packages.openmediavault.org:http:
      62. E: Some index files failed to download. They have been ignored, or old ones used instead.
      Display All

      • upgrade:
      Display Spoiler

      Source Code

      1. W: Duplicate sources.list entry http://packages.openmediavault.org/public/ kralizec/main armhf Packages (/var/lib/apt/lists/packages.openmediavault.org_public_dists_kralizec_main_binary-armhf_Packages)
      2. W: You may want to run apt-get update to correct these problems
      • removed and rebuild the /var/lib/apt/list directory
      My lists files are looking like this:
      openmediavault.list

      Source Code

      1. deb http://packages.openmediavault.org/public kralizec main
      2. # deb http://downloads.sourceforge.net/project/openmediavault/packages kralizec main

      sources.list

      Source Code

      1. deb http://debian.mirrors.tds.net/debian/ wheezy main contrib non-free
      2. deb-src http://debian.mirrors.tds.net/debian/ wheezy main contrib non-free
      3. deb http://security.debian.org/ wheezy/updates main contrib non-free
      4. deb-src http://security.debian.org/ wheezy/updates main contrib non-free
      5. deb http://debian.mirrors.tds.net/debian/ wheezy-updates main contrib non-free
      6. deb-src http://debian.mirrors.tds.net/debian/ wheezy-updates main contrib non-free
      7. deb http://packages.openmediavault.org/public kralizec main


      I removed the last line and could get rid of the duplicate error, but still no updates over gui.

      I tried the omv-update command nonetheless but got the same message op got:

      Source Code

      1. omv-update
      2. zsh: command not found: omv-update


      The result of 'dpkg -l | grep openm' looks like this:

      Source Code

      1. ii openmediavault 1.19 all Open network attached storage solution
      2. ii openmediavault-keyring 0.3 all GnuPG archive keys of the OpenMediaVault archive


      I have no idea how linked these problems are and if it is something with the DNS or whatnot. A little bit of light into this darkness would be very appreciated.

      Greetings Henning
    • The transmission ubuntu repo is not helping your cause. Get rid of it the reverse way you added it. To upgrade, 1.19 is up to date so just omv-release-upgrade.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!