omv-confdbadm: command not found

    • OMV 5.x (beta)
    • I would guess the openmediavault package itself did not finish installing. What is the output of: dpkg -l | grep openm
      omv 5.0.10 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.1
      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!
    • @Erikk Can you help me understand that a little better? Still learning Linux & I'm not sure what this is or why it's a problem.

      @ryecoaaron

      Shell-Script

      1. dpkg -l | grep openm
      2. ii libopenmpt-modplug1:amd64 0.4.3-1 amd64 module music library based on OpenMPT -- modplug compat library
      3. ii libopenmpt0:amd64 0.4.3-1 amd64 module music library based on OpenMPT -- shared library
      4. ii openmediavault 5.0.6-1 all openmediavault - The open network attached storage solution
      5. ii openmediavault-diskstats 5.0-1 all OpenMediaVault disk monitoring plugin
      6. ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
      7. ii openmediavault-nut 5.0-1 all OpenMediaVault Network UPS Tools (NUT) plugin
    • @Erikk This is what I got:

      Shell-Script

      1. /usr/sbin/omv-confdbadm populate
      2. /usr/share/openmediavault/confdb/populate.d/20hostname.sh: 27: /usr/share/openmediavault/confdb/populate.d/20hostname.sh: omv-confdbadm: not found
      3. Traceback (most recent call last):
      4. File "/usr/sbin/omv-confdbadm", line 74, in <module>
      5. sys.exit(main())
      6. File "/usr/sbin/omv-confdbadm", line 70, in main
      7. return cmd_inst.execute(*sys.argv)
      8. File "/usr/share/openmediavault/confdbadm/commands.d/populate.py", line 48, in execute
      9. openmediavault.subprocess.check_call([script_path])
      10. File "/usr/lib/python3/dist-packages/openmediavault/subprocess.py", line 58, in check_call
      11. return subprocess.check_call(*popenargs, **kwargs)
      12. File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
      13. raise CalledProcessError(retcode, cmd)
      14. subprocess.CalledProcessError: Command '['/usr/share/openmediavault/confdb/populate.d/20hostname.sh']' returned non-zero exit status 127.
      Display All
    • GuyFromMars wrote:

      @Erikk This is what I got:

      Shell-Script

      1. /usr/sbin/omv-confdbadm populate
      2. /usr/share/openmediavault/confdb/populate.d/20hostname.sh: 27: /usr/share/openmediavault/confdb/populate.d/20hostname.sh: omv-confdbadm: not found
      3. ...

      Well, seems it still wants to know the path to omv-stuff... Ok, try to add '/usr/sbin' into your PATH environment variable

      Shell-Script

      1. export PATH=$PATH:/usr/sbin
      Then run 'omv-confdbadm populate' and see if it finished properly.
      If it's not, see ryecoaaron's comment above.
    • Users Online 1

      1 Guest

    • Tags