impossible to install OMV from debian

    • .H. wrote:

      @savellm : how can i do that ?
      what i need to put ?

      @macom : you don't see error ? ( perhaps there are not, if you don't see it )
      I mean just unplug all your other hard drives other than the one you are going to install OMV onto.
      So all you will have connected to your server is your boot drive (HDD or SSD or USB (not recommended)) and the installer.

      Try that without any other drives attached, try to do the installation then.
    • .H. wrote:

      @macom : you don't see error ? ( perhaps there are not, if you don't see it )
      Is everything working now?
      For the weakref error:
      wget -O /usr/lib/python3.5/weakref.py https://raw.githubusercontent.com/python/cpython/9cd7e17640a49635d1c1f8c2989578a8fc2c1de6/Lib/weakref.py
      or just ignore it.

      The proposal from @savellm is probably referring to the picture in post #5. But it seems you got past this error by installing Debian first and then OMV.
      Odroid HC2 - armbian - OMV4.x | Asrock Q1900DC-ITX - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • .H. wrote:

      And a new error another time
      Looks like your OS drive is starting to fail.

      .H. wrote:

      Can i read my pool with another OS ?
      Yes. Any OS that supports zfs.
      omv 5.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.5
      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!
    • .H. wrote:

      what can i do ?
      Reinstall on a new drive. The zfs plugin should detect your array and import it.
      omv 5.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.5
      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!
    • .H. wrote:

      i had do this several times.. and had a error at every times..
      Maybe this is why you are having the error now.

      .H. wrote:

      i had kil 3 usb key...
      i don't understand
      Maybe you are using bad usb keys if you are killing them that quick.

      .H. wrote:

      I must read, but can i recreate the pool with another OS ?
      Do you mean other than Linux or another distro? And why do you think another OS will fix the "problem"?
      omv 5.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.5
      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!
    • ryecoaaron wrote:

      .H. wrote:

      i had do this several times.. and had a error at every times..
      Maybe this is why you are having the error now.




      I do a new reinstall, from scratch for debian and omv after.


      .H. wrote:

      i had kil 3 usb key...
      i don't understand
      Maybe you are using bad usb keys if you are killing them that quick.




      I change it (but key was write protect... and impossible to rewrite them

      .H. wrote:

      I must read, but can i recreate the pool with another OS ?
      Do you mean other than Linux or another distro? And why do you think another OS will fix the "problem"?




      Like i'm not running correctly OMV... i ask if i'll can do with another OS .. ( i'm on MAC OS)






      thanks for your helping

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

    • sorry, i speak about my steps ( and error during my i nstallation )
      I don(t had problem during debian installation, but when i try to install OMV

      when i install it :

      Source Code

      1. Source Code
      2. hashka@Server:~$ sudo su -
      3. bash: sudo : commande introuvable
      4. hashka@Server:~$ sudo su-
      5. bash: sudo : commande introuvable
      6. hashka@Server:~$ su -
      7. Mot de passe :
      8. root@Server:~# cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list
      9. > deb http://packages.openmediavault.org/public arrakis main
      10. >
      11. > EOF
      12. root@Server:~# export LANG=C.UTF-8
      13. root@Server:~# export DEBIAN_FRONTEND=noninteractive
      14. root@Server:~# export APT_LISTCHANGES_FRONTEND=none
      15. root@Server:~# wget -O "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc" https://packages.openmediavault.org/public/archive.key
      16. --2019-07-12 14:08:20-- https://packages.openmediavault.org/public/archive.key
      17. Resolving packages.openmediavault.org (packages.openmediavault.org)... 178.254.11.33
      18. Connecting to packages.openmediavault.org (packages.openmediavault.org)|178.254.11.33|:443... connected.
      19. HTTP request sent, awaiting response... 200 OK
      20. Length: 3134 (3.1K) [application/pgp-keys]
      21. Saving to: ‘/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc’
      22. /etc/apt/trusted.gp 100%[===================>] 3.06K --.-KB/s in 0.003s
      23. 2019-07-12 14:08:20 (1.11 MB/s) - ‘/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc’ saved [3134/3134]
      24. root@Server:~# apt-key add "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc"
      25. OK
      26. root@Server:~# apt-get update
      27. Get:1 http://packages.openmediavault.org/public arrakis InRelease [12.8 kB]
      28. Get:2 http://packages.openmediavault.org/public arrakis/main amd64 Packages [6133 B]
      29. Get:3 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
      30. Ign:4 http://ftp.fr.debian.org/debian stretch InRelease
      31. Get:5 http://ftp.fr.debian.org/debian stretch-updates InRelease [91.0 kB]
      32. Hit:6 http://ftp.fr.debian.org/debian stretch Release
      33. Get:7 http://security.debian.org/debian-security stretch/updates/main Sources [210 kB]
      34. Get:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [499 kB]
      35. Fetched 913 kB in 2min 9s (7057 B/s)
      36. Reading package lists... Done
      37. root@Server:~# apt-get --yes --auto-remove --show-upgraded \
      38. > .--allow-downgrades --allow-change-held-packages \
      39. > .--no-install-recommends \
      40. > .--option Dpkg::Options::="--force-confdef" \
      41. > .--option DPkg::Options::="--force-confold" \
      42. > .install postfix openmediavault-keyring openmediavault
      43. E: Sense auto is not understood, try true or false.
      44. root@Server:~# install postfix openmediavault-keyring openmediavault
      45. install: target 'openmediavault' is not a directory
      46. root@Server:~# install postfix openmediavault-keyring openmediavault
      47. install: target 'openmediavault' is not a directory
      48. root@Server:~# apt install postfix -y
      49. Reading package lists... Done
      50. Building dependency tree
      51. Reading state information... Done
      52. The following additional packages will be installed:
      53. postfix-sqlite
      54. Suggested packages:
      55. procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb
      56. WARNING: Failed to connect to lvmetad. Falling back to device scanning.
      57. done
      58. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
      59. Setting up python3-netifaces (0.10.4-0.1+b2) ...
      60. Setting up librrd8:amd64 (1.6.0-1+b2) ...
      61. Setting up libxen-4.8:amd64 (4.8.5+shim4.10.2+xsa282-1+deb9u11) ...
      62. Setting up xmlstarlet (1.6.1-2) ...
      63. Setting up uuid (1.6.2-1.5+b4) ...
      64. Setting up rsync (3.1.2-1+deb9u2) ...
      65. Created symlink /etc/systemd/system/multi-user.target.wants/rsync.service → /lib/systemd/system/rsync.service.
      66. Setting up libdevmapper-event1.02.1:amd64 (2:1.02.137-2) ...
      67. Setting up libzip4:amd64 (1.1.2-1.1+b1) ...
      68. Setting up libjq1:amd64 (1.5+dfsg-1.3) ...
      69. Setting up beep (1.3-4+deb9u1) ...
      70. Setting up libtokyocabinet9:amd64 (1.4.48-11+b1) ...
      71. Setting up acpid (1:2.0.28-1+b1) ...
      72. Created symlink /etc/systemd/system/sockets.target.wants/acpid.socket → /lib/systemd/system/acpid.socket.
      73. Created symlink /etc/systemd/system/paths.target.wants/acpid.path → /lib/systemd/system/acpid.path.
      74. Setting up libriemann-client0:amd64 (1.9.1-1+b1) ...
      75. Setting up collectd-core (5.7.1-1.1) ...
      76. Created symlink /etc/systemd/system/multi-user.target.wants/collectd.service → /lib/systemd/system/collectd.service.
      77. Processing triggers for libc-bin (2.24-11+deb9u4) ...
      78. Setting up libaio1:amd64 (0.3.110-3) ...
      79. Setting up liboping0:amd64 (1.9.0-1+b1) ...
      80. Setting up python-natsort-doc (4.0.3-2) ...
      81. Setting up sshpass (1.06-1) ...
      82. Setting up btrfs-progs (4.7.3-1) ...
      83. Setting up libtirpc1:amd64 (0.2.5-1.2+deb9u1) ...
      84. Setting up python3-natsort (4.0.3-2) ...
      85. .....
      86. Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-monitor.service → /lib/systemd/system/lvm2-monitor.service.
      87. Processing triggers for initramfs-tools (0.130) ...
      88. update-initramfs: Generating /boot/initrd.img-4.9.0-7-amd64
      89. W: Possible missing firmware /lib/firmware/tigon/tg3_tso5.bin for module tg3
      90. W: Possible missing firmware /lib/firmware/tigon/tg3_tso.bin for module tg3
      91. W: Possible missing firmware /lib/firmware/tigon/tg3.bin for module tg3
      92. W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
      93. Processing triggers for libc-bin (2.24-11+deb9u4) ...
      94. Processing triggers for systemd (232-25+deb9u11) ...
      95. Processing triggers for resolvconf (1.79) ...
      96. Errors were encountered while processing:
      97. samba
      98. openmediavault
      99. E: Sub-process /usr/bin/dpkg returned an error code (1)
      100. root@Server:~#
      Display All




      i need to write that :

      Source Code

      1. install postfix openmediavault-keyring openmediavault
      and

      Source Code

      1. apt-get --yes --auto-remove --show-upgraded --allow-downgrades --allow-change-held-packages --no-install-recommends --option Dpkg::Options::="--force-confdef" --option DPkg::Options::="--force-confold" install postfix openmediavault-keyring openmediavault


      after that : when i try to save the new changingin OMV, it's not validate...

      i do the installation of ZFS plugin ( it's seesms to work ) until i reboot ...
    • if you have a fresh installation of Debian 9, do the following steps:

      nano add_repo.sh

      copy and paste the following:

      Source Code

      1. cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list
      2. deb http://packages.openmediavault.org/public arrakis main
      3. # deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis main
      4. ## Uncomment the following line to add software from the proposed repository.
      5. # deb http://packages.openmediavault.org/public arrakis-proposed main
      6. # deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis-proposed main
      7. ## This software is not part of OpenMediaVault, but is offered by third-party
      8. ## developers as a service to OpenMediaVault users.
      9. # deb http://packages.openmediavault.org/public arrakis partner
      10. # deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis partner
      11. EOF
      Display All


      ctrl + x to save it then ./add_repo.sh

      then

      nano install_omv.sh

      Source Code

      1. export LANG=C.UTF-8
      2. export DEBIAN_FRONTEND=noninteractive
      3. export APT_LISTCHANGES_FRONTEND=none
      4. wget -O "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc" https://packages.openmediavault.org/public/archive.key
      5. apt-key add "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc"
      6. apt-get update
      7. apt-get --yes --auto-remove --show-upgraded \
      8. --allow-downgrades --allow-change-held-packages \
      9. --no-install-recommends \
      10. --option Dpkg::Options::="--force-confdef" \
      11. --option DPkg::Options::="--force-confold" \
      12. install postfix openmediavault-keyring openmediavault
      13. # Initialize the system and database.
      14. omv-initsystem
      15. # Rebuild configurations.
      16. omv-mkconf interfaces
      17. omv-mkconf issue
      18. # Display the login information.
      19. cat /etc/issue
      Display All


      ctrl + x to save it then ./install_omv.sh


      With this you can make sure everything runs.
      OMV 4.x| HP Microserver | 256GB Samsung 830 SSD for system | 4x 2TB in a RAID5
      OMV 4.x| Odroid XU4 | 5TB Data drive | 500GB Backup drive
      OMV 5.x| Raspberry Pi 4 | 6TB Data drive | 500GB SSD drive