Giter Site home page Giter Site logo

installscript's People

Contributors

cherinyy avatar g-provost avatar mi-hol avatar rabelux avatar renaops avatar ryecoaaron avatar serenewaffles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

installscript's Issues

erroe installing open media vault

the install script has issues fetching several files it would appear that the install script needs updating i am using raspian os lite buster dated 20/8/2020

E: Failed to fetch http://archive.raspberrypi.org/debian/pool/main/p/pixman/libpixman-1-0_0.36.0-1+rpt1_armhf.deb Temporary failure resolving 'archive.raspberrypi.org'

E: Failed to fetch http://archive.raspberrypi.org/debian/pool/main/c/cairo/libcairo2_1.16.0-4+rpt1_armhf.deb Temporary failure resolving 'archive.raspberrypi.org'

E: Failed to fetch http://packages.openmediavault.org/public/pool/main/libj/libjs-extjs6/libjs-extjs6_6.2.0.981-2_all.deb Temporary failure resolving 'packages.openmediavault.org'

E: Failed to fetch http://packages.openmediavault.org/public/pool/main/p/php-pam/php-pam_1.0.3-1+deb10u1_armhf.deb Temporary failure resolving 'packages.openmediavault.org'

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
failed to install openmediavault package.

Raspberry Pi 4 Bug: Fail to Connect to Wifi After Installed this script

Raspbian Version: Raspbian Buster Lite Ver: Feburay-2020

I have retried to install OMV 5 three times and followed the steps exactly the same as shown in official install guide.

Bug

Every time after I successfully install this script, if I reboot my Raspberry Pi, it will lost WiFi connection forever, wifi cannot even be recovered even by using raspi-config tool.

I checked the startup process. The RPi 4 will success after HOSTNAME service and fail right after that, which is the network service.

Reason: This is because OMV flushed the /etc/networks/interfaces file, (OMV Developer, Please Have a look, don't flush it for RPi 4!!)

Solution:

copy the following code in the /etc/networks/interfaces file, then reboot.

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

File not found

When trying to run the install file per the guide I copied and pasted the script name into Putty and it consistently gives me file not found error. I tried tying it by hand with the same result, I know the file is there in the dir as I have looked at it. I see it was updated 2 hours ago, does it have a certain to wait before the file change is committed with github?
Here is the output from Putty:
Screenshot from 2020-05-19 12-25-13

Pi 4 not reachable after running install script

after running

wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash

my Pi 4 is not reachable. It does not even get an IP from the router anymore neither via LAN nor W-LAN.

Network Manager Removed

Device: orangpi plus2e
Os: armbian debian server buster
After we successful install omv, we can't access omv because network disconnect. Network-manager removed after success installed.

Please skip remove this package so we can settings omv over wifi

Can't login as root using SSH

After installing the OMV5 on raspberry pi 4b I can't use ssh to login as 'root'.
It doesn't take the GUI password or the password for the user 'pi'.

However, I can login as 'pi' using ssh.

[Security] Usage of wget --no-check-certificates for downloading omvextras deb

Hi there,

I have noticed that the install scripts downloads the omvextras deb package and explicitly ignores TLS certificate validation.

See code.
wget --no-check-certificate ${url}/${file}

Unless I am overlooking something, integrity of the downloaded package is not checked otherwise so this would allow a MITM attacker to execute malicious code with root privileges on your system.

In my opinion, there is no valid reason for making this the default behavior.

Please, improve the prerequisites

Hi.

First of all, thanks for this script.

It would be nice if you can provide a list of the prerequisites, for example, the OS version that can be used (Raspberry Pi can run other OS a part from Raspbian but the script won't be compatible).

Thanks for you hard effort!

Install script not working on new Pi4

I have a clean install of Ubuntu 20.04.2.0 LTS on my Pi 4 8GB. When I run the install script I see the following message:

sudo curl -sSL https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
Current / permissions = 755
New / permissions = 755
Forcing IPv4 only for apt...
Updating repos before installing...
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Reading package lists... Done
Installing lsb_release...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/10.6 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 99326 files and directories currently installed.)
Preparing to unpack .../lsb-release_11.1.0ubuntu2_all.deb ...
Unpacking lsb-release (11.1.0ubuntu2) over (11.1.0ubuntu2) ...
Setting up lsb-release (11.1.0ubuntu2) ...
Processing triggers for man-db (2.9.1-1) ...
Files have not changed, Decompression not needed
Supported architecture
Unsupported version. Exiting...

Installation fails on armbian single board card

Issue

The script fails to be installed on ar. Is there a workaround ?

 ./install
Current / permissions = 755
New / permissions = 755
Forcing IPv4 only for apt...
Updating repos before installing...
Hit:1 http://ports.ubuntu.com focal InRelease
Hit:2 http://ports.ubuntu.com focal-security InRelease
Hit:3 http://ports.ubuntu.com focal-updates InRelease
Hit:4 http://ports.ubuntu.com focal-backports InRelease
Hit:5 https://uk.mirrors.fossho.st/armbian/apt focal InRelease
Reading package lists... Done
Installing lsb_release...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 5 not upgraded.
Need to get 10.6 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ports.ubuntu.com focal/main arm64 lsb-release all 11.1.0ubuntu2 [10.6 kB]
Fetched 10.6 kB in 0s (81.5 kB/s)
(Reading database ... 87339 files and directories currently installed.)
Preparing to unpack .../lsb-release_11.1.0ubuntu2_all.deb ...
Unpacking lsb-release (11.1.0ubuntu2) over (11.1.0ubuntu2) ...
Setting up lsb-release (11.1.0ubuntu2) ...
Processing triggers for man-db (2.9.1-1) ...
Supported architecture
Unsupported version.  Exiting...

Info

uname -a
Linux rockpro64 5.9.14-rockchip64 #20.11.4 SMP PREEMPT Tue Dec 15 08:52:20 CET 2020 aarch64 aarch64 aarch64 GNU/Linux

cat /etc/armbian-release
# PLEASE DO NOT EDIT THIS FILE
BOARD=rockpro64
BOARD_NAME="RockPro 64"
BOARDFAMILY=rockchip64
BUILD_REPOSITORY_URL=https://github.com/armbian/build
BUILD_REPOSITORY_COMMIT=8c4c6820-dirty
DISTRIBUTION_CODENAME=focal
DISTRIBUTION_STATUS=supported
VERSION=20.11.6
LINUXFAMILY=rockchip64
BRANCH=current
ARCH=arm64
IMAGE_TYPE=stable
BOARD_TYPE=conf
INITRD_ARCH=arm64

Not working on Proxmox LXC (Priv OR UNPriv)

greetings.

Came across your script when looking for an OMV solution for inside a proxmox LXC.

error i receive when installing either via standard way or your script is as follows:

Setting up Salt environment ...
Setting up system ...
[WARNING ] /usr/lib/python3/dist-packages/salt/modules/file.py:32: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Iterable, Mapping, namedtuple

[ERROR   ] Command 'udevadm control --reload-rules' failed with return code: 1
[ERROR   ] retcode: 1
[ERROR   ] {'pid': 20085, 'retcode': 1, 'stdout': '', 'stderr': ''}
[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/oset.py:47: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  class OrderedSet(collections.MutableSet):

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

[ERROR   ] {'out': 'highstate', 'ret': {'omv.lan.ashah.uk': {'file_|-fix_root_path_permissions_|-/_|-directory': {'name': '/', 'changes': {}, 'result': True, 'comment': 'The directory / is in the correct state', '__sls__': 'omv.setup.fixmode.default', '__run_num__': 0, 'start_time': '00:34:25.650774', 'duration': 0.464, '__id__': 'fix_root_path_permissions'}, 'file_|-fix_etc_path_permissions_|-/etc_|-directory': {'name': '/etc', 'changes': {}, 'result': True, 'comment': 'The directory /etc is in the correct state', '__sls__': 'omv.setup.fixmode.default', '__run_num__': 1, 'start_time': '00:34:25.651297', 'duration': 0.381, '__id__': 'fix_etc_path_permissions'}, 'cmd_|-udevadm_reload_rules_|-udevadm control --reload-rules_|-run': {'name': 'udevadm control --reload-rules', 'changes': {'pid': 20085, 'retcode': 1, 'stdout': '', 'stderr': ''}, 'result': False, 'comment': 'Command "udevadm control --reload-rules" run', '__sls__': 'omv.setup.fstab.default', '__run_num__': 2, 'start_time': '00:34:25.651981', 'duration': 7.456, '__id__': 'udevadm_reload_rules'}, 'cmd_|-udevadm_trigger_|-udevadm trigger_|-run': {'changes': {}, 'result': False, 'duration': 0.002, 'start_time': '00:34:25.659736', 'comment': 'One or more requisite failed: omv.setup.fstab.default.udevadm_reload_rules', '__run_num__': 3, '__sls__': 'omv.setup.fstab.default'}, 'service_|-start_fstrim_timer_|-fstrim.timer_|-running': {'name': 'fstrim.timer', 'changes': {'fstrim.timer': True}, 'result': True, 'comment': 'Service fstrim.timer has been enabled, and is running', '__sls__': 'omv.setup.fstrim.default', '__run_num__': 4, 'start_time': '00:34:25.660070', 'duration': 177.72, '__id__': 'start_fstrim_timer'}, 'file_|-enable_discard_in_lvm_conf_|-/etc/lvm/lvm.conf_|-replace': {'name': '/etc/lvm/lvm.conf', 'changes': {'diff': '--- \n+++ \n@@ -282,7 +282,7 @@\n \t# benefit from discards, but SSDs and thinly provisioned LUNs\n \t# generally do. If enabled, discards will only be issued if both the\n \t# storage and kernel provide support.\n-\tissue_discards = 0\n+\tissue_discards = 1\n \n \t# Configuration option devices/allow_changes_with_duplicate_pvs.\n \t# Allow VG modification while a PV appears on multiple devices.\n'}, 'result': True, 'comment': 'Changes were made', '__sls__': 'omv.setup.fstrim.default', '__run_num__': 5, 'start_time': '00:34:25.837940', 'duration': 25.251, '__id__': 'enable_discard_in_lvm_conf'}, 'locale_|-generate_C.UTF-8_locale_|-C.UTF-8_|-present': {'name': 'C.UTF-8', 'changes': {}, 'result': True, 'comment': 'Locale C.UTF-8 is already present', '__sls__': 'omv.setup.locale.default', '__run_num__': 6, 'start_time': '00:34:25.866048', 'duration': 2.292, '__id__': 'generate_C.UTF-8_locale'}, 'cmd_|-set_system_locale_|-update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8_|-run': {'name': 'update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8', 'changes': {'pid': 20115, 'retcode': 0, 'stdout': '', 'stderr': ''}, 'result': True, 'comment': 'Command "update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8" run', '__sls__': 'omv.setup.locale.default', '__run_num__': 7, 'start_time': '00:34:25.868434', 'duration': 12.101, '__id__': 'set_system_locale'}, 'file_|-symlink_systemd_resolvconf_|-/etc/resolv.conf_|-symlink': {'result': True, 'name': '/etc/resolv.conf', 'changes': {}, 'comment': 'onlyif condition is false', 'skip_watch': True, '__sls__': 'omv.setup.resolvconf.default', '__run_num__': 8, 'start_time': '00:34:25.880631', 'duration': 3045.472, '__id__': 'symlink_systemd_resolvconf'}, 'file_|-create_root_bashrc_|-/root/.bashrc_|-managed': {'changes': {'mode': '0600'}, 'comment': '', 'name': '/root/.bashrc', 'result': True, '__sls__': 'omv.setup.shell.10root_bashrc', '__run_num__': 9, 'start_time': '00:34:28.926217', 'duration': 0.987, '__id__': 'create_root_bashrc'}, 'file_|-configure_root_bashrc_|-/root/.bashrc_|-prepend': {'name': '/root/.bashrc', 'changes': {'diff': '--- \n+++ \n@@ -1,3 +1,11 @@\n+# Added by openmediavault (https://www.openmediavault.org).\n+if ! shopt -oq posix; then\n+    if [ -f /usr/share/bash-completion/bash_completion ]; then\n+        . /usr/share/bash-completion/bash_completion\n+    elif [ -f /etc/bash_completion ]; then\n+        . /etc/bash_completion\n+    fi\n+fi\n # ~/.bashrc: executed by bash(1) for non-login shells.\n \n # Note: PS1 and umask are already set in /etc/profile. You should not\n'}, 'result': True, 'comment': 'Prepended 8 lines', '__sls__': 'omv.setup.shell.10root_bashrc', '__run_num__': 10, 'start_time': '00:34:28.927262', 'duration': 2.715, '__id__': 'configure_root_bashrc'}, 'file_|-configure_root_inputrc_|-/root/.inputrc_|-managed': {'changes': {'diff': 'New file'}, 'comment': 'File /root/.inputrc updated', 'name': '/root/.inputrc', 'result': True, '__sls__': 'omv.setup.shell.20root_inputrc', '__run_num__': 11, 'start_time': '00:34:28.930032', 'duration': 1.187, '__id__': 'configure_root_inputrc'}, 'file_|-modify_root_profile_|-/root/.profile_|-replace': {'name': '/root/.profile', 'changes': {'diff': '--- \n+++ \n@@ -6,4 +6,4 @@\n   fi\n fi\n \n-mesg n || true\n+test -t 0 && mesg n || true\n'}, 'result': True, 'comment': 'Changes were made', '__sls__': 'omv.setup.shell.30root_profile', '__run_num__': 12, 'start_time': '00:34:28.931274', 'duration': 1.326, '__id__': 'modify_root_profile'}}}}
dpkg: error processing package openmediavault (--configure):
 installed openmediavault package post-installation script subprocess returned error exit status 2
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for rsyslog (8.1901.0-1) ...
Processing triggers for systemd (241-5) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.16-1) ...
Processing triggers for mime-support (3.62) ...
Errors were encountered while processing:
 openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed to install openmediavault package.

perhaps you can tell me how to get it to work (Buster 10.1 template)

Installation brakes with error: IP address may change and you could lose connection...

I am trying to install OMV on Raspberry Pi 4 using the script. But the installation stops in the last step with following error:
IP address may change and you could lose connection if running this script via ssh.
I check the connected devices on my network router, it does not reappear. I reinstalled everything from scratch, again the same problem.

Install Script Fails to Install

Hi There

First of all thanks for creating the e2e script to download and install openmediavault

Upon running the command wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
the script downloads all required files and installs all dependent packages but fails at the very fag end with error

Pls. guide on how to resolve this error

Below is snippet of output

root@vervepi:~# wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
--2020-05-31 18:25:24-- https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install [following]
--2020-05-31 18:25:25-- https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14754 (14K) [text/plain]
Saving to: âSTDOUTâ

                                             100%[==========================================================================================================>]  14.41K  --.-KB/s    in 0.03s

2020-05-31 18:25:25 (553 KB/s) - written to stdout [14754/14754]

Current / permissions = 755
New / permissions = 755
Updating repos before installing...
Hit:1 http://mirror.nus.edu.sg/raspbian/raspbian stretch InRelease
Hit:2 https://deb.nodesource.com/node_12.x stretch InRelease
Hit:3 https://packages.sury.org/php stretch InRelease
Hit:4 https://downloads.plex.tv/repo/deb public InRelease
Hit:5 http://repo.mosquitto.org/debian jessie InRelease
Get:6 http://mirrordirector.raspbian.org/raspbian stretch InRelease [15.0 kB]
Hit:7 http://giteduberger.fr rpimonitor/ InRelease
Fetched 15.0 kB in 5s (2993 B/s)
Reading package lists... Done
Installing lsb_release...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 6 not upgraded.
Need to get 27.4 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf lsb-release all 9.20161125+rpi1 [27.4 kB]
Fetched 27.4 kB in 3s (7191 B/s)
(Reading database ... 183301 files and directories currently installed.)
Preparing to unpack .../lsb-release_9.20161125+rpi1_all.deb ...
Unpacking lsb-release (9.20161125+rpi1) over (9.20161125+rpi1) ...
Setting up lsb-release (9.20161125+rpi1) ...
Processing triggers for man-db (2.7.6.1-2) ...
arrakis :: 4
Adding Debian signing keys...
Executing: /tmp/apt-key-gpghome.ROD4MguhK3/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AA8E81B4331F7F50
gpg: key EDA0D2388AE22BA9: 12 signatures not checked due to missing keys
gpg: key EDA0D2388AE22BA9: public key "Debian Security Archive Automatic Signing Key (9/stretch) [email protected]" imported
gpg: Total number processed: 1
gpg: imported: 1
Executing: /tmp/apt-key-gpghome.hR5edO8BHn/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 112695A0E562B32A
gpg: key 4DFAB270CAA96DFA: 5 signatures not checked due to missing keys
gpg: key 4DFAB270CAA96DFA: public key "Debian Security Archive Automatic Signing Key (10/buster) [email protected]" imported
gpg: Total number processed: 1
gpg: imported: 1
Executing: /tmp/apt-key-gpghome.wA95YcVzm6/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 04EE7237B7D453EC
gpg: key E0B11894F66AEC98: 13 signatures not checked due to missing keys
gpg: key E0B11894F66AEC98: public key "Debian Archive Automatic Signing Key (9/stretch) [email protected]" imported
gpg: Total number processed: 1
gpg: imported: 1
Executing: /tmp/apt-key-gpghome.MZJnGamNzA/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 648ACFD622F3D138
gpg: key DC30D7C23CBBABEE: 4 signatures not checked due to missing keys
gpg: key DC30D7C23CBBABEE: public key "Debian Archive Automatic Signing Key (10/buster) [email protected]" imported
gpg: Total number processed: 1
gpg: imported: 1
Install prerequisites...
Reading package lists... Done
Building dependency tree
Reading state information... Done
dirmngr is already the newest version (2.1.18-8deb9u4).
gnupg is already the newest version (2.1.18-8
deb9u4).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Installing openmediavault required packages...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb sasl2-bin dovecot-common postfix-cdb ufw postfix-doc
The following NEW packages will be installed:
postfix
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 1361 kB of archives.
After this operation, 3593 kB of additional disk space will be used.
Get:1 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf postfix armhf 3.1.14-0+deb9u1 [1361 kB]
Fetched 1361 kB in 5s (242 kB/s)
Preconfiguring packages ...
Selecting previously unselected package postfix.
(Reading database ... 183301 files and directories currently installed.)
Preparing to unpack .../postfix_3.1.14-0+deb9u1_armhf.deb ...
Unpacking postfix (3.1.14-0+deb9u1) ...
Processing triggers for systemd (232-25+deb9u12) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for rsyslog (8.24.0-1) ...
Setting up postfix (3.1.14-0+deb9u1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/postfix.service â /lib/systemd/system/postfix.service.

Adding group postfix' (GID 130) ... Done. Adding system user postfix' (UID 123) ...
Adding new user postfix' (UID 123) with group postfix' ...
Not creating home directory /var/spool/postfix'. Creating /etc/postfix/dynamicmaps.cf Adding group postdrop' (GID 131) ...
Done.
setting myhostname: vervepi
setting alias maps
setting alias database
mailname is not a fully qualified domain name. Not changing /etc/mailname.
setting destinations: $myhostname, vervepi, localhost.localdomain, , localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
setting inet_protocols: all
WARNING: /etc/aliases exists, but does not have a root alias.

Postfix (main.cf) is now set up with a default configuration. If you need to
make changes, edit /etc/postfix/main.cf (and others) as needed. To view
Postfix configuration values, see postconf(1).

After modifying main.cf, be sure to run 'service postfix reload'.

Running newaliases
Processing triggers for systemd (232-25+deb9u12) ...
Processing triggers for rsyslog (8.24.0-1) ...
Adding openmediavault repo and key...
--2020-05-31 18:28:12-- http://packages.openmediavault.org/public/archive.key
Resolving packages.openmediavault.org (packages.openmediavault.org)... 178.254.11.33
Connecting to packages.openmediavault.org (packages.openmediavault.org)|178.254.11.33|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3134 (3.1K) [application/pgp-keys]
Saving to: â/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.ascâ

/etc/apt/trusted.gpg.d/openmediavault-archive-key 100%[==========================================================================================================>] 3.06K --.-KB/s in 0s

2020-05-31 18:28:13 (94.2 MB/s) - â/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.ascâ saved [3134/3134]

OK
Updating repos...
Hit:1 http://mirror.nus.edu.sg/raspbian/raspbian stretch InRelease
Hit:2 http://repo.mosquitto.org/debian jessie InRelease
Hit:3 https://deb.nodesource.com/node_12.x stretch InRelease
Hit:4 https://downloads.plex.tv/repo/deb public InRelease
Hit:5 https://packages.sury.org/php stretch InRelease
Hit:6 http://mirrordirector.raspbian.org/raspbian stretch InRelease
Get:7 http://packages.openmediavault.org/public arrakis InRelease [12.8 kB]
Hit:8 http://giteduberger.fr rpimonitor/ InRelease
Get:9 http://packages.openmediavault.org/public arrakis/main armhf Packages [6144 B]
Fetched 18.9 kB in 5s (3269 B/s)
Reading package lists... Done
Install openmediavault-keyring...
Reading package lists... Done
Building dependency tree
Reading state information... Done
openmediavault-keyring is already the newest version (1.0).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Installing openmediavault...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
acpid beep bsd-mailx collectd collectd-core cron-apt dmeventd ifenslave jq libdevmapper-event1.02.1 libjavascript-minifier-xs-perl libjs-extjs6 liblocale-po-perl liblvm2app2.2 liblvm2cmd2.02
libmemcached11 libmemcachedutil2 libossp-uuid16 lvm2 monit nfs-kernel-server php-bcmath php-pam php7.4-bcmath proftpd-basic proftpd-mod-vroot python3-dialog python3-natsort python3-netifaces
python3-pyudev quotatool rrdcached sdparm smartmontools sshpass uuid wsdd xmlstarlet
Suggested packages:
collectd-dev libregexp-common-perl libconfig-general-perl apcupsd bind9 ceph chrony gpsd hddtemp ipvsadm lm-sensors mbmon memcached nut olsrd pdns-server postgresql slapd time-daemon varnish
zookeeper libesmtp6 libmodbus5 libopenipmi0 liboping0 libtokyotyrant3 libupsclient4 libvirt0 default-jre-headless thin-provisioning-tools sysvinit-core openbsd-inetd | inet-superserver
proftpd-doc proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-odbc proftpd-mod-pgsql proftpd-mod-sqlite proftpd-mod-geoip python3-doc gsmartcontrol smart-notifier
Recommended packages:
acpi-support-base libesmtp6 libmodbus5 libopenipmi0 liboping0 libtokyotyrant3 libupsclient4 libvirt0 default-jre-headless python-natsort-doc
The following NEW packages will be installed:
acpid beep bsd-mailx collectd collectd-core cron-apt dmeventd ifenslave jq libdevmapper-event1.02.1 libjavascript-minifier-xs-perl libjs-extjs6 liblocale-po-perl liblvm2app2.2 liblvm2cmd2.02
libmemcached11 libmemcachedutil2 libossp-uuid16 lvm2 monit nfs-kernel-server openmediavault php-bcmath php-pam php7.4-bcmath proftpd-basic proftpd-mod-vroot python3-dialog python3-natsort
python3-netifaces python3-pyudev quotatool rrdcached sdparm smartmontools sshpass uuid wsdd xmlstarlet
0 upgraded, 39 newly installed, 0 to remove and 6 not upgraded.
Need to get 26.9 MB of archives.
After this operation, 176 MB of additional disk space will be used.
Get:2 http://packages.openmediavault.org/public arrakis/main armhf libjs-extjs6 all 6.2.0.981-2 [16.2 MB]
Get:4 https://packages.sury.org/php stretch/main armhf php7.4-bcmath armhf 7.4.6-1+020200514.17+debian91.gbp0f509e [12.7 kB]
Get:6 https://packages.sury.org/php stretch/main armhf php-bcmath all 2:7.4+76+020200511.26+debian91.gbpc9beb6 [6470 B]
Get:1 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf acpid armhf 1:2.0.28-1 [53.0 kB]
Get:3 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf beep armhf 1.3-4+deb9u1 [26.4 kB]
Get:5 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf bsd-mailx armhf 8.1.2-0.20160123cvs-4 [82.0 kB]
Get:7 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf collectd-core armhf 5.7.1-1.1 [908 kB]
Get:8 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf collectd armhf 5.7.1-1.1 [113 kB]
Get:9 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf cron-apt all 0.10.0 [26.3 kB]
Get:10 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf libdevmapper-event1.02.1 armhf 2:1.02.137-2 [40.5 kB]
Get:11 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf liblvm2cmd2.02 armhf 2.02.168-2 [620 kB]
Get:12 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf dmeventd armhf 2:1.02.137-2 [57.5 kB]
Get:13 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf ifenslave all 2.9 [16.0 kB]
Get:14 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf jq armhf 1.5+dfsg-1.3 [58.9 kB]
Get:15 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf libjavascript-minifier-xs-perl armhf 0.11-1+b2 [14.5 kB]
Get:16 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf liblocale-po-perl all 0.27-1 [14.9 kB]
Get:17 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf liblvm2app2.2 armhf 2.02.168-2 [500 kB]
Get:18 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf libmemcached11 armhf 1.0.18-4.1 [86.1 kB]
Get:19 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf libmemcachedutil2 armhf 1.0.18-4.1 [21.4 kB]
Get:20 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf libossp-uuid16 armhf 1.6.2-1.5+b3 [35.8 kB]
Get:21 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf lvm2 armhf 2.02.168-2 [868 kB]
Get:22 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf monit armhf 1:5.20.0-6+deb9u1 [277 kB]
Get:23 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf nfs-kernel-server armhf 1:1.3.4-2.1 [108 kB]
Get:24 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf python3-dialog all 3.4.0-1 [1395 kB]
Get:37 http://packages.openmediavault.org/public arrakis/main armhf php-pam armhf 1.0.3-1 [7292 B]
Get:38 http://packages.openmediavault.org/public arrakis/main armhf wsdd all 0.5-1 [10.6 kB]
Get:39 http://packages.openmediavault.org/public arrakis/main armhf openmediavault all 4.1.35-1 [1920 kB]
Get:25 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf sdparm armhf 1.08-1 [98.1 kB]
Get:26 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf smartmontools armhf 6.5+svn4324-1 [449 kB]
Get:27 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf uuid armhf 1.6.2-1.5+b3 [20.7 kB]
Get:28 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf proftpd-basic armhf 1.3.5b-4+deb9u4 [2377 kB]
Get:29 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf sshpass armhf 1.06-1 [11.2 kB]
Get:30 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf quotatool armhf 1:1.4.12-2 [16.7 kB]
Get:31 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf proftpd-mod-vroot armhf 0.9.4-1 [14.8 kB]
Get:32 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf xmlstarlet armhf 1.6.1-2 [238 kB]
Get:33 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf rrdcached armhf 1.6.0-1+b1 [161 kB]
Get:34 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf python3-pyudev all 0.21.0-1 [40.2 kB]
Get:35 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf python3-natsort all 4.0.3-2 [25.1 kB]
Get:36 http://mirror.ossplanet.net/raspbian/raspbian stretch/main armhf python3-netifaces armhf 0.10.4-0.1+b1 [15.5 kB]
Fetched 26.9 MB in 60s (443 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package acpid.
(Reading database ... 183486 files and directories currently installed.)
Preparing to unpack .../00-acpid_1%3a2.0.28-1_armhf.deb ...
Unpacking acpid (1:2.0.28-1) ...
Selecting previously unselected package beep.
Preparing to unpack .../01-beep_1.3-4+deb9u1_armhf.deb ...
Unpacking beep (1.3-4+deb9u1) ...
Selecting previously unselected package bsd-mailx.
Preparing to unpack .../02-bsd-mailx_8.1.2-0.20160123cvs-4_armhf.deb ...
Unpacking bsd-mailx (8.1.2-0.20160123cvs-4) ...
Selecting previously unselected package collectd-core.
Preparing to unpack .../03-collectd-core_5.7.1-1.1_armhf.deb ...
Unpacking collectd-core (5.7.1-1.1) ...
Selecting previously unselected package collectd.
Preparing to unpack .../04-collectd_5.7.1-1.1_armhf.deb ...
Unpacking collectd (5.7.1-1.1) ...
Selecting previously unselected package cron-apt.
Preparing to unpack .../05-cron-apt_0.10.0_all.deb ...
Unpacking cron-apt (0.10.0) ...
Selecting previously unselected package libdevmapper-event1.02.1:armhf.
Preparing to unpack .../06-libdevmapper-event1.02.1_2%3a1.02.137-2_armhf.deb ...
Unpacking libdevmapper-event1.02.1:armhf (2:1.02.137-2) ...
Selecting previously unselected package liblvm2cmd2.02:armhf.
Preparing to unpack .../07-liblvm2cmd2.02_2.02.168-2_armhf.deb ...
Unpacking liblvm2cmd2.02:armhf (2.02.168-2) ...
Selecting previously unselected package dmeventd.
Preparing to unpack .../08-dmeventd_2%3a1.02.137-2_armhf.deb ...
Unpacking dmeventd (2:1.02.137-2) ...
Selecting previously unselected package ifenslave.
Preparing to unpack .../09-ifenslave_2.9_all.deb ...
Unpacking ifenslave (2.9) ...
Selecting previously unselected package jq.
Preparing to unpack .../10-jq_1.5+dfsg-1.3_armhf.deb ...
Unpacking jq (1.5+dfsg-1.3) ...
Selecting previously unselected package libjavascript-minifier-xs-perl.
Preparing to unpack .../11-libjavascript-minifier-xs-perl_0.11-1+b2_armhf.deb ...
Unpacking libjavascript-minifier-xs-perl (0.11-1+b2) ...
Selecting previously unselected package liblocale-po-perl.
Preparing to unpack .../12-liblocale-po-perl_0.27-1_all.deb ...
Unpacking liblocale-po-perl (0.27-1) ...
Selecting previously unselected package liblvm2app2.2:armhf.
Preparing to unpack .../13-liblvm2app2.2_2.02.168-2_armhf.deb ...
Unpacking liblvm2app2.2:armhf (2.02.168-2) ...
Selecting previously unselected package libmemcached11:armhf.
Preparing to unpack .../14-libmemcached11_1.0.18-4.1_armhf.deb ...
Unpacking libmemcached11:armhf (1.0.18-4.1) ...
Selecting previously unselected package libmemcachedutil2:armhf.
Preparing to unpack .../15-libmemcachedutil2_1.0.18-4.1_armhf.deb ...
Unpacking libmemcachedutil2:armhf (1.0.18-4.1) ...
Selecting previously unselected package libossp-uuid16:armhf.
Preparing to unpack .../16-libossp-uuid16_1.6.2-1.5+b3_armhf.deb ...
Unpacking libossp-uuid16:armhf (1.6.2-1.5+b3) ...
Selecting previously unselected package lvm2.
Preparing to unpack .../17-lvm2_2.02.168-2_armhf.deb ...
Unpacking lvm2 (2.02.168-2) ...
Selecting previously unselected package monit.
Preparing to unpack .../18-monit_1%3a5.20.0-6+deb9u1_armhf.deb ...
Unpacking monit (1:5.20.0-6+deb9u1) ...
Selecting previously unselected package nfs-kernel-server.
Preparing to unpack .../19-nfs-kernel-server_1%3a1.3.4-2.1_armhf.deb ...
Unpacking nfs-kernel-server (1:1.3.4-2.1) ...
Selecting previously unselected package libjs-extjs6.
Preparing to unpack .../20-libjs-extjs6_6.2.0.981-2_all.deb ...
Unpacking libjs-extjs6 (6.2.0.981-2) ...
Selecting previously unselected package php-pam.
Preparing to unpack .../21-php-pam_1.0.3-1_armhf.deb ...
Unpacking php-pam (1.0.3-1) ...
Selecting previously unselected package python3-dialog.
Preparing to unpack .../22-python3-dialog_3.4.0-1_all.deb ...
Unpacking python3-dialog (3.4.0-1) ...
Selecting previously unselected package sdparm.
Preparing to unpack .../23-sdparm_1.08-1_armhf.deb ...
Unpacking sdparm (1.08-1) ...
Selecting previously unselected package smartmontools.
Preparing to unpack .../24-smartmontools_6.5+svn4324-1_armhf.deb ...
Unpacking smartmontools (6.5+svn4324-1) ...
Selecting previously unselected package uuid.
Preparing to unpack .../25-uuid_1.6.2-1.5+b3_armhf.deb ...
Unpacking uuid (1.6.2-1.5+b3) ...
Selecting previously unselected package proftpd-basic.
Preparing to unpack .../26-proftpd-basic_1.3.5b-4+deb9u4_armhf.deb ...
Unpacking proftpd-basic (1.3.5b-4+deb9u4) ...
Selecting previously unselected package sshpass.
Preparing to unpack .../27-sshpass_1.06-1_armhf.deb ...
Unpacking sshpass (1.06-1) ...
Selecting previously unselected package wsdd.
Preparing to unpack .../28-wsdd_0.5-1_all.deb ...
Unpacking wsdd (0.5-1) ...
Selecting previously unselected package php7.4-bcmath.
Preparing to unpack .../29-php7.4-bcmath_7.4.6-1+020200514.17+debian91.gbp0f509e_armhf.deb ...
Unpacking php7.4-bcmath (7.4.6-1+020200514.17+debian91.gbp0f509e) ...
Selecting previously unselected package php-bcmath.
Preparing to unpack .../30-php-bcmath_2%3a7.4+76+020200511.26+debian91.gbpc9beb6_all.deb ...
Unpacking php-bcmath (2:7.4+76+020200511.26+debian91.gbpc9beb6) ...
Selecting previously unselected package quotatool.
Preparing to unpack .../31-quotatool_1%3a1.4.12-2_armhf.deb ...
Unpacking quotatool (1:1.4.12-2) ...
Selecting previously unselected package proftpd-mod-vroot.
Preparing to unpack .../32-proftpd-mod-vroot_0.9.4-1_armhf.deb ...
Unpacking proftpd-mod-vroot (0.9.4-1) ...
Selecting previously unselected package xmlstarlet.
Preparing to unpack .../33-xmlstarlet_1.6.1-2_armhf.deb ...
Unpacking xmlstarlet (1.6.1-2) ...
Selecting previously unselected package rrdcached.
Preparing to unpack .../34-rrdcached_1.6.0-1+b1_armhf.deb ...
Unpacking rrdcached (1.6.0-1+b1) ...
Selecting previously unselected package python3-pyudev.
Preparing to unpack .../35-python3-pyudev_0.21.0-1_all.deb ...
Unpacking python3-pyudev (0.21.0-1) ...
Selecting previously unselected package python3-natsort.
Preparing to unpack .../36-python3-natsort_4.0.3-2_all.deb ...
Unpacking python3-natsort (4.0.3-2) ...
Selecting previously unselected package python3-netifaces.
Preparing to unpack .../37-python3-netifaces_0.10.4-0.1+b1_armhf.deb ...
Unpacking python3-netifaces (0.10.4-0.1+b1) ...
Selecting previously unselected package openmediavault.
Preparing to unpack .../38-openmediavault_4.1.35-1_all.deb ...
Unpacking openmediavault (4.1.35-1) ...
Setting up sdparm (1.08-1) ...
Setting up libjs-extjs6 (6.2.0.981-2) ...
Setting up jq (1.5+dfsg-1.3) ...
Setting up cron-apt (0.10.0) ...
Setting up quotatool (1:1.4.12-2) ...
Setting up wsdd (0.5-1) ...
wsdd.service is a disabled or a static unit, not starting it.
Setting up libjavascript-minifier-xs-perl (0.11-1+b2) ...
Setting up bsd-mailx (8.1.2-0.20160123cvs-4) ...
update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode
Setting up libossp-uuid16:armhf (1.6.2-1.5+b3) ...
Setting up monit (1:5.20.0-6+deb9u1) ...
Setting up nfs-kernel-server (1:1.3.4-2.1) ...
Setting up libmemcached11:armhf (1.0.18-4.1) ...
Setting up smartmontools (6.5+svn4324-1) ...
Setting up python3-pyudev (0.21.0-1) ...
Setting up php-pam (1.0.3-1) ...
WARNING: Module pam ini file doesn't exist under /etc/php/7.3/mods-available
WARNING: Module pam ini file doesn't exist under /etc/php/7.3/mods-available
WARNING: Module pam ini file doesn't exist under /etc/php/7.3/mods-available
Setting up python3-netifaces (0.10.4-0.1+b1) ...
Setting up xmlstarlet (1.6.1-2) ...
Setting up uuid (1.6.2-1.5+b3) ...
Setting up libdevmapper-event1.02.1:armhf (2:1.02.137-2) ...
Setting up beep (1.3-4+deb9u1) ...
Setting up acpid (1:2.0.28-1) ...
Setting up collectd-core (5.7.1-1.1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...

Setting up sshpass (1.06-1) ...
Setting up python3-natsort (4.0.3-2) ...
Processing triggers for systemd (232-25+deb9u12) ...
Setting up php7.4-bcmath (7.4.6-1+020200514.17+debian91.gbp0f509e) ...

Creating config file /etc/php/7.4/mods-available/bcmath.ini with new version
Setting up liblvm2app2.2:armhf (2.02.168-2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up rrdcached (1.6.0-1+b1) ...
Setting up liblocale-po-perl (0.27-1) ...
Setting up ifenslave (2.9) ...
Processing triggers for rsyslog (8.24.0-1) ...
Setting up python3-dialog (3.4.0-1) ...
Setting up libmemcachedutil2:armhf (1.0.18-4.1) ...
Setting up collectd (5.7.1-1.1) ...
Setting up php-bcmath (2:7.4+76+020200511.26+debian91.gbpc9beb6) ...
Setting up proftpd-basic (1.3.5b-4+deb9u4) ...
usermod: no changes
Setting up proftpd-mod-vroot (0.9.4-1) ...
Setting up liblvm2cmd2.02:armhf (2.02.168-2) ...
Setting up dmeventd (2:1.02.137-2) ...
Setting up lvm2 (2.02.168-2) ...
update-initramfs: deferring update (trigger activated)
Setting up openmediavault (4.1.35-1) ...
Creating users/groups ...
Updating local package archive ...
Updating service units ...
Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-beep-up.service â /lib/systemd/system/openmediavault-beep-up.service.
Created symlink /etc/systemd/system/reboot.target.wants/openmediavault-beep-down.service â /lib/systemd/system/openmediavault-beep-down.service.
Created symlink /etc/systemd/system/halt.target.wants/openmediavault-beep-down.service â /lib/systemd/system/openmediavault-beep-down.service.
Created symlink /etc/systemd/system/poweroff.target.wants/openmediavault-beep-down.service â /lib/systemd/system/openmediavault-beep-down.service.
Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-cleanup-monit.service â /lib/systemd/system/openmediavault-cleanup-monit.service.
Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-cleanup-php.service â /lib/systemd/system/openmediavault-cleanup-php.service.
Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-engined.service â /lib/systemd/system/openmediavault-engined.service.
Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-issue.service â /lib/systemd/system/openmediavault-issue.service.
Updating configuration database ...
Traceback (most recent call last):
File "/usr/sbin/omv-confdbadm", line 23, in
import openmediavault
ModuleNotFoundError: No module named 'openmediavault'
dpkg: error processing package openmediavault (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for initramfs-tools (0.130) ...
Processing triggers for rsyslog (8.24.0-1) ...
Errors were encountered while processing:
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed to install openmediavault package.

Openmediavault fails to install on Raspbian Buster this time

Openmediavault fails to install on Raspbian Buster this time

Pls find log output and help if there is i can do to sort this out

root@vervepi:# sudo apt-get upgrade -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@vervepi:
# wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
--2020-06-02 11:34:25-- https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install [following]
--2020-06-02 11:34:25-- https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14754 (14K) [text/plain]
Saving to: âSTDOUTâ

  •                                             100%[==========================================================================================================>]  14.41K  --.-KB/s    in 0.03s
    

2020-06-02 11:34:26 (501 KB/s) - written to stdout [14754/14754]

Current / permissions = 755
New / permissions = 755
Updating repos before installing...
Hit:1 https://deb.nodesource.com/node_12.x buster InRelease
Hit:2 http://repo.mosquitto.org/debian buster InRelease
Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:4 http://packages.openmediavault.org/public usul InRelease
Hit:5 https://downloads.plex.tv/repo/deb public InRelease
Hit:6 http://giteduberger.fr rpimonitor/ InRelease
Reading package lists... Done
Installing lsb_release...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/27.8 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 197017 files and directories currently installed.)
Preparing to unpack .../lsb-release_10.2019051400+rpi1_all.deb ...
Unpacking lsb-release (10.2019051400+rpi1) over (10.2019051400+rpi1) ...
Setting up lsb-release (10.2019051400+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
usul :: 5
Adding Debian signing keys...
Executing: /tmp/apt-key-gpghome.fU0vjn2fyD/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AA8E81B4331F7F50
gpg: key EDA0D2388AE22BA9: "Debian Security Archive Automatic Signing Key (9/stretch) [email protected]" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
Executing: /tmp/apt-key-gpghome.ureMHdZtO0/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 112695A0E562B32A
gpg: key 4DFAB270CAA96DFA: "Debian Security Archive Automatic Signing Key (10/buster) [email protected]" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
Executing: /tmp/apt-key-gpghome.AlJjx5eCV8/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 04EE7237B7D453EC
gpg: key E0B11894F66AEC98: "Debian Archive Automatic Signing Key (9/stretch) [email protected]" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
Executing: /tmp/apt-key-gpghome.8EubbBSTGN/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 648ACFD622F3D138
gpg: key DC30D7C23CBBABEE: "Debian Archive Automatic Signing Key (10/buster) [email protected]" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
Install prerequisites...
Reading package lists... Done
Building dependency tree
Reading state information... Done
dirmngr is already the newest version (2.2.12-1+rpi1+deb10u1).
gnupg is already the newest version (2.2.12-1+rpi1+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installing openmediavault required packages...
Reading package lists... Done
Building dependency tree
Reading state information... Done
postfix is already the newest version (3.4.10-0+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Adding openmediavault repo and key...
--2020-06-02 11:36:02-- http://packages.openmediavault.org/public/archive.key
Resolving packages.openmediavault.org (packages.openmediavault.org)... 178.254.11.33
Connecting to packages.openmediavault.org (packages.openmediavault.org)|178.254.11.33|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3134 (3.1K) [application/pgp-keys]
Saving to: â/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.ascâ

/etc/apt/trusted.gpg.d/openmediavault-archive-key 100%[==========================================================================================================>] 3.06K --.-KB/s in 0s

2020-06-02 11:36:03 (16.0 MB/s) - â/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.ascâ saved [3134/3134]

OK
Updating repos...
Hit:1 https://downloads.plex.tv/repo/deb public InRelease
Hit:2 https://deb.nodesource.com/node_12.x buster InRelease
Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:4 http://repo.mosquitto.org/debian buster InRelease
Hit:5 http://giteduberger.fr rpimonitor/ InRelease
Hit:6 http://packages.openmediavault.org/public usul InRelease
Reading package lists... Done
Install openmediavault-keyring...
Reading package lists... Done
Building dependency tree
Reading state information... Done
openmediavault-keyring is already the newest version (1.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installing openmediavault...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
beep bsd-mailx chrony collectd collectd-core cron-apt dctrl-tools dmeventd jq libdevmapper-event1.02.1 libjavascript-minifier-xs-perl libjs-extjs6 liblocale-po-perl liblvm2cmd2.03
libmemcached11 libmemcachedutil2 libnss-myhostname libossp-uuid16 lvm2 monit netplan.io nfs-kernel-server php-bcmath php-fpm php-pam php-yaml php7.3-bcmath php7.3-fpm proftpd-basic
proftpd-mod-vroot python3-cached-property python3-dateutil python3-dialog python3-distro python3-msgpack python3-natsort python3-netifaces python3-psutil python3-pyudev python3-yaml python3-zmq
quotatool rrdcached salt-common salt-minion sdparm smartmontools sshpass uuid wsdd xmlstarlet
Suggested packages:
networkd-dispatcher collectd-dev libregexp-common-perl libconfig-general-perl apcupsd bind9 ceph default-mysql-server gpsd hddtemp ipvsadm lm-sensors mbmon memcached nut olsrd pdns-server
postgresql slapd varnish zookeeper libesmtp6 libgps23 libgrpc++1 libmodbus5 libopenipmi0 liboping0 libowcapi-3.2-3 libprotobuf17 libtokyotyrant3 libupsclient4 libvarnishapi2 libvirt0
libxenmisc4.11 default-jre-headless debtags sysvinit-core php-pear openbsd-inetd | inet-superserver proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-odbc proftpd-mod-pgsql proftpd-mod-sqlite
proftpd-mod-geoip proftpd-mod-snmp python3-doc python-psutil-doc python3-pycurl python3-twisted gsmartcontrol smart-notifier
Recommended packages:
libesmtp6 libgps23 libgrpc++1 libmodbus5 libopenipmi0 liboping0 libowcapi-3.2-3 libprotobuf17 libtokyotyrant3 libupsclient4 libvarnishapi2 libvirt0 libxenmisc4.11 default-jre-headless
thin-provisioning-tools proftpd-doc python-natsort-doc python3-croniter
The following packages will be REMOVED:
libevent-core-2.1-6 libevent-pthreads-2.1-6 libopts25 ntp sntp
The following NEW packages will be installed:
beep bsd-mailx chrony collectd collectd-core cron-apt dctrl-tools dmeventd jq libdevmapper-event1.02.1 libjavascript-minifier-xs-perl libjs-extjs6 liblocale-po-perl liblvm2cmd2.03
libmemcached11 libmemcachedutil2 libnss-myhostname libossp-uuid16 lvm2 monit netplan.io nfs-kernel-server openmediavault php-bcmath php-fpm php-pam php-yaml php7.3-bcmath php7.3-fpm
proftpd-basic proftpd-mod-vroot python3-cached-property python3-dateutil python3-dialog python3-distro python3-msgpack python3-natsort python3-netifaces python3-psutil python3-pyudev
python3-yaml python3-zmq quotatool rrdcached salt-common salt-minion sdparm smartmontools sshpass uuid wsdd xmlstarlet
0 upgraded, 52 newly installed, 5 to remove and 0 not upgraded.
Need to get 1617 kB/35.8 MB of archives.
After this operation, 212 MB of additional disk space will be used.
Get:1 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf smartmontools armhf 6.6-1 [454 kB]
Get:2 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf uuid armhf 1.6.2-1.5+b5 [20.7 kB]
Get:3 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf sshpass armhf 1.06-1 [11.2 kB]
Get:4 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf php7.3-bcmath armhf 7.3.14-1deb10u1 [12.5 kB]
Get:5 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf php-bcmath all 2:7.3+69 [5996 B]
Get:6 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf quotatool armhf 1:1.6.2-5 [20.5 kB]
Get:7 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf proftpd-mod-vroot armhf 0.9.4-2 [15.2 kB]
Get:8 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf xmlstarlet armhf 1.6.1-2 [238 kB]
Get:9 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf rrdcached armhf 1.7.1-2 [163 kB]
Get:10 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf python3-pyudev all 0.21.0-1 [40.2 kB]
Get:11 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf python3-natsort all 6.0.0-1 [30.9 kB]
Get:12 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf python3-zmq armhf 17.1.2-2 [242 kB]
Get:13 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf python3-dateutil all 2.7.3-3 [64.5 kB]
Get:14 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf python3-msgpack armhf 0.5.6-1+b1 [91.2 kB]
Get:15 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf python3-psutil armhf 5.5.1-1 [165 kB]
Get:16 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf python3-distro all 1.3.0-1 [14.3 kB]
Get:17 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf php-yaml armhf 2.0.2+1.3.1-4+b1 [17.3 kB]
Get:18 http://mirror.ossplanet.net/raspbian/raspbian buster/main armhf python3-cached-property all 1.5.1-3 [12.1 kB]
Fetched 1617 kB in 26s (62.3 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 197015 files and directories currently installed.)
Removing sntp (1:4.2.8p12+dfsg-4) ...
Removing libevent-pthreads-2.1-6:armhf (2.1.8-stable-4) ...
Removing libevent-core-2.1-6:armhf (2.1.8-stable-4) ...
Removing ntp (1:4.2.8p12+dfsg-4) ...
Removing libopts25:armhf (1:5.18.12-4) ...
Selecting previously unselected package chrony.
(Reading database ... 196935 files and directories currently installed.)
Preparing to unpack .../00-chrony_3.4-4_armhf.deb ...
Unpacking chrony (3.4-4) ...
Selecting previously unselected package beep.
Preparing to unpack .../01-beep_1.4.3-2_armhf.deb ...
Unpacking beep (1.4.3-2) ...
Selecting previously unselected package bsd-mailx.
Preparing to unpack .../02-bsd-mailx_8.1.2-0.20180807cvs-1_armhf.deb ...
Unpacking bsd-mailx (8.1.2-0.20180807cvs-1) ...
Selecting previously unselected package collectd-core.
Preparing to unpack .../03-collectd-core_5.8.1-1.3_armhf.deb ...
Unpacking collectd-core (5.8.1-1.3) ...
Selecting previously unselected package collectd.
Preparing to unpack .../04-collectd_5.8.1-1.3_armhf.deb ...
Unpacking collectd (5.8.1-1.3) ...
Selecting previously unselected package cron-apt.
Preparing to unpack .../05-cron-apt_0.13.0_all.deb ...
Unpacking cron-apt (0.13.0) ...
Selecting previously unselected package dctrl-tools.
Preparing to unpack .../06-dctrl-tools_2.24-3_armhf.deb ...
Unpacking dctrl-tools (2.24-3) ...
Selecting previously unselected package libdevmapper-event1.02.1:armhf.
Preparing to unpack .../07-libdevmapper-event1.02.1_2%3a1.02.155-3_armhf.deb ...
Unpacking libdevmapper-event1.02.1:armhf (2:1.02.155-3) ...
Selecting previously unselected package liblvm2cmd2.03:armhf.
Preparing to unpack .../08-liblvm2cmd2.03_2.03.02-3_armhf.deb ...
Unpacking liblvm2cmd2.03:armhf (2.03.02-3) ...
Selecting previously unselected package dmeventd.
Preparing to unpack .../09-dmeventd_2%3a1.02.155-3_armhf.deb ...
Unpacking dmeventd (2:1.02.155-3) ...
Selecting previously unselected package jq.
Preparing to unpack .../10-jq_1.5+dfsg-2+b1_armhf.deb ...
Unpacking jq (1.5+dfsg-2+b1) ...
Selecting previously unselected package libjavascript-minifier-xs-perl.
Preparing to unpack .../11-libjavascript-minifier-xs-perl_0.11-1+b4_armhf.deb ...
Unpacking libjavascript-minifier-xs-perl (0.11-1+b4) ...
Selecting previously unselected package liblocale-po-perl.
Preparing to unpack .../12-liblocale-po-perl_0.27-2_all.deb ...
Unpacking liblocale-po-perl (0.27-2) ...
Selecting previously unselected package libmemcached11:armhf.
Preparing to unpack .../13-libmemcached11_1.0.18-4.2_armhf.deb ...
Unpacking libmemcached11:armhf (1.0.18-4.2) ...
Selecting previously unselected package libmemcachedutil2:armhf.
Preparing to unpack .../14-libmemcachedutil2_1.0.18-4.2_armhf.deb ...
Unpacking libmemcachedutil2:armhf (1.0.18-4.2) ...
Selecting previously unselected package libnss-myhostname:armhf.
Preparing to unpack .../15-libnss-myhostname_241-7
deb10u4+rpi1_armhf.deb ...
Unpacking libnss-myhostname:armhf (241-7deb10u4+rpi1) ...
Selecting previously unselected package libossp-uuid16:armhf.
Preparing to unpack .../16-libossp-uuid16_1.6.2-1.5+b5_armhf.deb ...
Unpacking libossp-uuid16:armhf (1.6.2-1.5+b5) ...
Selecting previously unselected package lvm2.
Preparing to unpack .../17-lvm2_2.03.02-3_armhf.deb ...
Unpacking lvm2 (2.03.02-3) ...
Selecting previously unselected package monit.
Preparing to unpack .../18-monit_1%3a5.26.0-1_armhf.deb ...
Unpacking monit (1:5.26.0-1) ...
Selecting previously unselected package python3-yaml.
Preparing to unpack .../19-python3-yaml_3.13-2_armhf.deb ...
Unpacking python3-yaml (3.13-2) ...
Selecting previously unselected package python3-netifaces.
Preparing to unpack .../20-python3-netifaces_0.10.4-1+b1_armhf.deb ...
Unpacking python3-netifaces (0.10.4-1+b1) ...
Selecting previously unselected package netplan.io.
Preparing to unpack .../21-netplan.io_0.95-2_armhf.deb ...
Unpacking netplan.io (0.95-2) ...
Selecting previously unselected package nfs-kernel-server.
Preparing to unpack .../22-nfs-kernel-server_1%3a1.3.4-2.5_armhf.deb ...
Unpacking nfs-kernel-server (1:1.3.4-2.5) ...
Selecting previously unselected package libjs-extjs6.
Preparing to unpack .../23-libjs-extjs6_6.2.0.981-2_all.deb ...
Unpacking libjs-extjs6 (6.2.0.981-2) ...
Preparing to unpack .../24-php7.3-fpm_7.3.14-1
deb10u1_armhf.deb ...
Unpacking php7.3-fpm (7.3.14-1deb10u1) ...
Selecting previously unselected package php-fpm.
Preparing to unpack .../25-php-fpm_2%3a7.3+69_all.deb ...
Unpacking php-fpm (2:7.3+69) ...
Selecting previously unselected package php-pam.
Preparing to unpack .../26-php-pam_1.0.3-1+deb10u1_armhf.deb ...
Unpacking php-pam (1.0.3-1+deb10u1) ...
Selecting previously unselected package python3-dialog.
Preparing to unpack .../27-python3-dialog_3.4.0-1_all.deb ...
Unpacking python3-dialog (3.4.0-1) ...
Selecting previously unselected package wsdd.
Preparing to unpack .../28-wsdd_0.5-1_all.deb ...
Unpacking wsdd (0.5-1) ...
Selecting previously unselected package sdparm.
Preparing to unpack .../29-sdparm_1.10-1_armhf.deb ...
Unpacking sdparm (1.10-1) ...
Selecting previously unselected package smartmontools.
Preparing to unpack .../30-smartmontools_6.6-1_armhf.deb ...
Unpacking smartmontools (6.6-1) ...
Selecting previously unselected package uuid.
Preparing to unpack .../31-uuid_1.6.2-1.5+b5_armhf.deb ...
Unpacking uuid (1.6.2-1.5+b5) ...
Selecting previously unselected package proftpd-basic.
Preparing to unpack .../32-proftpd-basic_1.3.6-4+deb10u5_armhf.deb ...
Unpacking proftpd-basic (1.3.6-4+deb10u5) ...
Selecting previously unselected package sshpass.
Preparing to unpack .../33-sshpass_1.06-1_armhf.deb ...
Unpacking sshpass (1.06-1) ...
Selecting previously unselected package php7.3-bcmath.
Preparing to unpack .../34-php7.3-bcmath_7.3.14-1
deb10u1_armhf.deb ...
Unpacking php7.3-bcmath (7.3.14-1deb10u1) ...
Selecting previously unselected package php-bcmath.
Preparing to unpack .../35-php-bcmath_2%3a7.3+69_all.deb ...
Unpacking php-bcmath (2:7.3+69) ...
Selecting previously unselected package quotatool.
Preparing to unpack .../36-quotatool_1%3a1.6.2-5_armhf.deb ...
Unpacking quotatool (1:1.6.2-5) ...
Selecting previously unselected package proftpd-mod-vroot.
Preparing to unpack .../37-proftpd-mod-vroot_0.9.4-2_armhf.deb ...
Unpacking proftpd-mod-vroot (0.9.4-2) ...
Selecting previously unselected package xmlstarlet.
Preparing to unpack .../38-xmlstarlet_1.6.1-2_armhf.deb ...
Unpacking xmlstarlet (1.6.1-2) ...
Selecting previously unselected package rrdcached.
Preparing to unpack .../39-rrdcached_1.7.1-2_armhf.deb ...
Unpacking rrdcached (1.7.1-2) ...
Selecting previously unselected package python3-pyudev.
Preparing to unpack .../40-python3-pyudev_0.21.0-1_all.deb ...
Unpacking python3-pyudev (0.21.0-1) ...
Selecting previously unselected package python3-natsort.
Preparing to unpack .../41-python3-natsort_6.0.0-1_all.deb ...
Unpacking python3-natsort (6.0.0-1) ...
Selecting previously unselected package python3-zmq.
Preparing to unpack .../42-python3-zmq_17.1.2-2_armhf.deb ...
Unpacking python3-zmq (17.1.2-2) ...
Selecting previously unselected package python3-dateutil.
Preparing to unpack .../43-python3-dateutil_2.7.3-3_all.deb ...
Unpacking python3-dateutil (2.7.3-3) ...
Selecting previously unselected package python3-msgpack.
Preparing to unpack .../44-python3-msgpack_0.5.6-1+b1_armhf.deb ...
Unpacking python3-msgpack (0.5.6-1+b1) ...
Selecting previously unselected package python3-psutil.
Preparing to unpack .../45-python3-psutil_5.5.1-1_armhf.deb ...
Unpacking python3-psutil (5.5.1-1) ...
Selecting previously unselected package python3-distro.
Preparing to unpack .../46-python3-distro_1.3.0-1_all.deb ...
Unpacking python3-distro (1.3.0-1) ...
Selecting previously unselected package salt-common.
Preparing to unpack .../47-salt-common_3000.2+ds-1_all.deb ...
Unpacking salt-common (3000.2+ds-1) ...
Selecting previously unselected package salt-minion.
Preparing to unpack .../48-salt-minion_3000.2+ds-1_all.deb ...
Unpacking salt-minion (3000.2+ds-1) ...
Selecting previously unselected package php-yaml.
Preparing to unpack .../49-php-yaml_2.0.2+1.3.1-4+b1_armhf.deb ...
Unpacking php-yaml (2.0.2+1.3.1-4+b1) ...
Selecting previously unselected package python3-cached-property.
Preparing to unpack .../50-python3-cached-property_1.5.1-3_all.deb ...
Unpacking python3-cached-property (1.5.1-3) ...
Selecting previously unselected package openmediavault.
Preparing to unpack .../51-openmediavault_5.5.1-1_all.deb ...
Unpacking openmediavault (5.5.1-1) ...
Setting up php7.3-bcmath (7.3.14-1
deb10u1) ...

Creating config file /etc/php/7.3/mods-available/bcmath.ini with new version
Setting up smartmontools (6.6-1) ...
Setting up python3-cached-property (1.5.1-3) ...
Setting up nfs-kernel-server (1:1.3.4-2.5) ...
Setting up beep (1.4.3-2) ...
Setting up libjs-extjs6 (6.2.0.981-2) ...
Setting up libdevmapper-event1.02.1:armhf (2:1.02.155-3) ...
Setting up python3-dialog (3.4.0-1) ...
Setting up python3-distro (1.3.0-1) ...
Setting up php-bcmath (2:7.3+69) ...
Setting up collectd-core (5.8.1-1.3) ...
Setting up php7.3-fpm (7.3.14-1~deb10u1) ...
Installing new version of config file /etc/init.d/php7.3-fpm ...
Installing new version of config file /etc/php/7.3/fpm/pool.d/www.conf ...
NOTICE: Not enabling PHP 7.3 FPM by default.
NOTICE: To enable PHP 7.3 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.3-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Setting up php-pam (1.0.3-1+deb10u1) ...
Setting up monit (1:5.26.0-1) ...
Installing new version of config file /etc/monit/conf-available/openssh-server ...
Installing new version of config file /etc/monit/conf-available/postfix ...

Configuration file '/etc/monit/monitrc'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** monitrc (Y/I/N/O/D/Z) [default=N] ? Setting up collectd (5.8.1-1.3) ...

Configuration file '/etc/collectd/collectd.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** collectd.conf (Y/I/N/O/D/Z) [default=N] ?
Configuration file '/etc/collectd/collectd.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** collectd.conf (Y/I/N/O/D/Z) [default=N] ? Setting up chrony (3.4-4) ...
Creating '_chrony' system user/group for the chronyd daemonâ¦

Creating config file /etc/chrony/chrony.conf with new version

Creating config file /etc/chrony/chrony.keys with new version
Created symlink /etc/systemd/system/chronyd.service â /lib/systemd/system/chrony.service.
Created symlink /etc/systemd/system/multi-user.target.wants/chrony.service â /lib/systemd/system/chrony.service.
Setting up cron-apt (0.13.0) ...
Setting up rrdcached (1.7.1-2) ...
Setting up libjavascript-minifier-xs-perl (0.11-1+b4) ...
Setting up php-yaml (2.0.2+1.3.1-4+b1) ...
Setting up python3-yaml (3.13-2) ...
Setting up libossp-uuid16:armhf (1.6.2-1.5+b5) ...
Setting up sshpass (1.06-1) ...
Setting up python3-psutil (5.5.1-1) ...
Setting up python3-natsort (6.0.0-1) ...
Setting up wsdd (0.5-1) ...
wsdd.service is a disabled or a static unit, not starting it.
Setting up sdparm (1.10-1) ...
Setting up python3-zmq (17.1.2-2) ...
Setting up bsd-mailx (8.1.2-0.20180807cvs-1) ...
update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode
Setting up quotatool (1:1.6.2-5) ...
Setting up liblocale-po-perl (0.27-2) ...
Setting up libnss-myhostname:armhf (241-7~deb10u4+rpi1) ...
First installation detected...
Checking NSS setup...
Setting up uuid (1.6.2-1.5+b5) ...
Setting up xmlstarlet (1.6.1-2) ...
Setting up php-fpm (2:7.3+69) ...
Setting up python3-netifaces (0.10.4-1+b1) ...
Setting up libmemcached11:armhf (1.0.18-4.2) ...
Setting up jq (1.5+dfsg-2+b1) ...
Setting up python3-dateutil (2.7.3-3) ...
Setting up python3-msgpack (0.5.6-1+b1) ...
Setting up python3-pyudev (0.21.0-1) ...
Setting up dctrl-tools (2.24-3) ...
Setting up libmemcachedutil2:armhf (1.0.18-4.2) ...
Setting up netplan.io (0.95-2) ...
Setting up salt-common (3000.2+ds-1) ...
Setting up proftpd-basic (1.3.6-4+deb10u5) ...
Installing new version of config file /etc/default/proftpd ...
Installing new version of config file /etc/init.d/proftpd ...
usermod: no changes
Setting up proftpd-mod-vroot (0.9.4-2) ...
Setting up salt-minion (3000.2+ds-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/salt-minion.service â /lib/systemd/system/salt-minion.service.
Setting up liblvm2cmd2.03:armhf (2.03.02-3) ...
Setting up dmeventd (2:1.02.155-3) ...
dm-event.service is a disabled or a static unit not running, not starting it.
Job for dm-event.socket failed.
See "systemctl status dm-event.socket" and "journalctl -xe" for details.
Setting up lvm2 (2.03.02-3) ...
Installing new version of config file /etc/lvm/lvm.conf ...
update-initramfs: deferring update (trigger activated)
Removing obsolete conffile /etc/init.d/lvm2-lvmetad ...
Created symlink /etc/systemd/system/sysinit.target.wants/blk-availability.service â /lib/systemd/system/blk-availability.service.
A dependency job for lvm2-monitor.service failed. See 'journalctl -xe' for details.
Setting up openmediavault (5.5.1-1) ...
Creating users/groups ...
Updating local package archive ...
Updating service units ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.network1.service â /lib/systemd/system/systemd-networkd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/systemd-networkd.service â /lib/systemd/system/systemd-networkd.service.
Created symlink /etc/systemd/system/sockets.target.wants/systemd-networkd.socket â /lib/systemd/system/systemd-networkd.socket.
Created symlink /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service â /lib/systemd/system/systemd-networkd-wait-online.service.
Created symlink /etc/systemd/system/dbus-org.freedesktop.resolve1.service â /lib/systemd/system/systemd-resolved.service.
Created symlink /etc/systemd/system/multi-user.target.wants/systemd-resolved.service â /lib/systemd/system/systemd-resolved.service.
systemd-journald.service is a disabled or a static unit, not starting it.
Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-beep-up.service â /lib/systemd/system/openmediavault-beep-up.service.
Created symlink /etc/systemd/system/reboot.target.wants/openmediavault-beep-down.service â /lib/systemd/system/openmediavault-beep-down.service.
Created symlink /etc/systemd/system/halt.target.wants/openmediavault-beep-down.service â /lib/systemd/system/openmediavault-beep-down.service.
Created symlink /etc/systemd/system/poweroff.target.wants/openmediavault-beep-down.service â /lib/systemd/system/openmediavault-beep-down.service.
Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-cleanup-monit.service â /lib/systemd/system/openmediavault-cleanup-monit.service.
Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-cleanup-php.service â /lib/systemd/system/openmediavault-cleanup-php.service.
Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-engined.service â /lib/systemd/system/openmediavault-engined.service.
Created symlink /etc/systemd/system/getty.target.wants/openmediavault-issue.service â /lib/systemd/system/openmediavault-issue.service.
Creating configuration database ...
Setting up Salt environment ...
Setting up system ...
**[WARNING ] /usr/lib/python3/dist-packages/salt/modules/file.py:32: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Iterable, Mapping, namedtuple

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/jinja.py:630: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
if isinstance(lst1, collections.Hashable) and isinstance(lst2, collections.Hashable):

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: formatargspec is deprecated since Python 3.5. Use signature and the Signature object directly
*salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/oset.py:47: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
class OrderedSet(collections.MutableSet):

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: formatargspec is deprecated since Python 3.5. Use signature and the Signature object directly
*salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: formatargspec is deprecated since Python 3.5. Use signature and the Signature object directly
*salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: formatargspec is deprecated since Python 3.5. Use signature and the Signature object directly
*salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: formatargspec is deprecated since Python 3.5. Use signature and the Signature object directly
*salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: formatargspec is deprecated since Python 3.5. Use signature and the Signature object directly
*salt.utils.args.get_function_argspec(original_function)

Site configuration file 'default' not found.
Deploying service configurations ...
/usr/lib/python3/dist-packages/salt/modules/file.py:32: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Iterable, Mapping, namedtuple
/usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: formatargspec is deprecated since Python 3.5. Use signature and the Signature object directly
salt.utils.args.get_function_argspec(original_function)
/usr/lib/python3/dist-packages/salt/utils/jinja.py:630: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
if isinstance(lst1, collections.Hashable) and isinstance(lst2, collections.Hashable):
/usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: formatargspec is deprecated since Python 3.5. Use signature and the Signature object directly
salt.utils.args.get_function_argspec(original_function)
Processing system modifications ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for rsyslog (8.1901.0-1) ...
Processing triggers for libapache2-mod-php7.3 (7.3.14-1deb10u1) ...
Processing triggers for systemd (241-7
deb10u4+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for php7.3-cgi (7.3.14-1deb10u1) ...
Processing triggers for php7.3-cli (7.3.14-1
deb10u1) ...
Processing triggers for php7.3-fpm (7.3.14-1~deb10u1) ...
NOTICE: Not enabling PHP 7.3 FPM by default.
NOTICE: To enable PHP 7.3 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.3-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Processing triggers for initramfs-tools (0.133+deb10u1) ...
Processing triggers for openmediavault (5.5.1-1) ...
Restarting engine daemon ...
Updating locale files ...
Updating file permissions ...
Purging internal cache ...
Traceback (most recent call last):
File "/usr/sbin/omv-confdbadm", line 23, in
import openmediavault
ModuleNotFoundError: No module named 'openmediavault'
bash: line 195: syntax error near unexpected token fi' bash: line 195: fi'

Dnsmasq unable to start

I want to share my omv over wifi so i must using dnsmasq. before install omv using intaller my wifi working because dnsmasq start normally, but after install ovm using ./install or ./install -n my wifi unable to start (unable get ip address) because dnsmasq failed start socket

Can you help me

This seems not to work on a Rpi3

Hello
I´m having a great problem to run the script on a RPi3. OMV seems not to be installed, it literally takes hours to finish the script, and at the end nothing is installed.
When i got to the ipadress on the pi al i got is this:
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.

Thank you for using nginx.

Thats not OMV.

Im i doing something wrong or what could be the problem?
Best regards Jerry

Fresh install (2020-04-21) eth0 error

Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run systemd-networkd 2>&1' with exit code '1': /usr/lib/python3/dist-packages/salt/utils/path.py:265: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working if not isinstance(exes, collections.Iterable): raspberrypi: ---------- ID: configure_etc_network_interfaces Function: file.managed Name: /etc/network/interfaces Result: True Comment: File /etc/network/interfaces updated Started: 20:09:38.308782 Duration: 66.602 ms Changes: ---------- diff: --- +++ @@ -1,7 +1,8 @@ +# This file is auto-generated by openmediavault (https://www.openmediavault.org) +# WARNING: Do not edit this file, your changes will get lost. + # interfaces(5) file used by ifup(8) and ifdown(8) - -# Please note that this file is written to be used with dhcpcd -# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' +# Better use netplan.io or systemd-networkd to configure additional interface stanzas. # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d ---------- ID: remove_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 20:09:38.376883 Duration: 2.053 ms Changes: ---------- file.find: ---------- ID: remove_netplan_config_files Function: module.run Result: True Comment: file.find: [] Started: 20:09:38.379223 Duration: 1.962 ms Changes: ---------- file.find: ---------- ID: configure_netplan_default Function: file.managed Name: /etc/netplan/10-openmediavault-default.yaml Result: True Comment: File /etc/netplan/10-openmediavault-default.yaml updated Started: 20:09:38.381475 Duration: 17.541 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: configure_netplan_ethernet_eth0 Function: file.managed Name: /etc/netplan/20-openmediavault-eth0.yaml Result: True Comment: File /etc/netplan/20-openmediavault-eth0.yaml updated Started: 20:09:38.399316 Duration: 59.896 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: apply_netplan_config Function: cmd.run Name: netplan apply Result: False Comment: Command "netplan apply" run Started: 20:09:38.460932 Duration: 356.522 ms Changes: ---------- pid: 2124 retcode: 1 stderr: Traceback (most recent call last): File "/usr/sbin/netplan", line 23, in <module> netplan.main() File "/usr/share/netplan/netplan/cli/core.py", line 50, in main self.run_command() File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command self.func() File "/usr/share/netplan/netplan/cli/commands/apply.py", line 43, in run self.run_command() File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command self.func() File "/usr/share/netplan/netplan/cli/commands/apply.py", line 93, in command_apply stderr=subprocess.DEVNULL) File "/usr/lib/python3.7/subprocess.py", line 347, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/lo']' returned non-zero exit status 1. stdout: Summary for raspberrypi ------------ Succeeded: 5 (changed=6) Failed: 1 ------------ Total states run: 6 Total run time: 504.576 ms

Schermata 2020-04-21 alle 20 09 44

E: Unable to correct problems, you have held broken packages.

The following packages have unmet dependencies:
 openmediavault : Depends: salt-minion (>= 3003) but 2018.3.4+dfsg1-6+deb10u2 is to be installed
E: Unable to correct problems, you have held broken packages.
failed to install openmediavault package.

trying to install on debian 10 image fro raspberry pi

Raspberry pi 4 Ubuntu server 20.04

Running the script to install on a fresh raspberry pi4 whit Ubuntu server image gives the error.
Unsupported version. Exiting...
as the $codename is focal

# lsb_release --codename --short
focal

Disables Wifi with RaspberryPi 4B

This just happened, and I'll be posting more as I learn more. But I ran the install script and it dropped my wifi, and I don't have any other way of getting a shell up and running other than through SSH through wifi.

Steps to reproduce:

  • Buy a Raspberry Pi 4B
  • Flash the latest version of Rasbian onto it (for me, that's 2020-02-13-raspbian-buster-lite)
  • Configure wifi through the wpa_supplicant.conf in /boot
  • Create the ssh file in /boot
  • Start the Pi and SSH in
  • sudo apt-get update && sudo apt-get upgrade && sudo reboot
  • Run your script
  • Wait 20+ minutes and see the network not come back online

Right now I'm in the process of looking for a spare monitor and keyboard to use, but I don't really have one that I can plug into the Pi. More frustrating, and I'm sure you don't have a hand in this, the OMV ISOs for RPIs were removed from sourceforge, which worked, and now point to this install script that doesn't work out of the box.

Errors and not booting when installed with invalid hostname

For my local devices I use hostnames like device.intern.my.domain (they point to local IPs). I normally just set this whole name as hostname using raspi-config, which wasn't a problem until now. But when I use this install script, it errors but still tries to reboot, but the Pi doesn't boot anymore (doesn't even give some output via HDMI).

Thats the error-part of the console output (I replaced the hostname with <my hostname>):

----------
          ID: configure_netplan_ethernet_eth0
    Function: file.managed
        Name: /etc/netplan/20-openmediavault-eth0.yaml
      Result: False
     Comment: Unable to manage file: Jinja error: hostname: The value '<my hostname>' is not a valid hostname.
              Traceback (most recent call last):
                File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 498, in render_jinja_tmpl
                  output = template.render(**decoded_context)
                File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in render
                  return original_render(self, *args, **kwargs)
                File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render
                  return self.environment.handle_exception(exc_info, True)
                File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in handle_exception
                  reraise(exc_type, exc_value, tb)
                File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise
                  raise value.with_traceback(tb)
                File "<template>", line 1, in top-level template code
                File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 39, in get
                  objs = db.get(id_, identifier)
                File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 85, in get
                  query.execute()
                File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 726, in execute
                  self._response = self._elements_to_object(elements)
                File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 487, in _elements_to_object
                  result.validate()
                File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 236, in validate
                  self.model.validate(self.get_dict())
                File "/usr/lib/python3/dist-packages/openmediavault/config/datamodel.py", line 202, in validate
                  self.schema.validate(data)
                File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 175, in validate
                  self._validate_type(value, schema, name)
                File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 229, in _validate_type
                  raise last_exception
                File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 200, in _validate_type
                  self._validate_object(value, schema, name)
                File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 305, in _validate_object
                  self._check_properties(value, schema, name)
                File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 519, in _check_properties
                  self._validate_type(value[propk], propv, path)
                File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 229, in _validate_type
                  raise last_exception
                File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 209, in _validate_type
                  self._validate_string(value, schema, name)
                File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 283, in _validate_string
                  self._check_format(value, schema, name)
                File "/usr/lib/python3/dist-packages/openmediavault/datamodel/schema.py", line 35, in _check_format
                  super()._check_format(value, schema, name)
                File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 419, in _check_format
                  name, "The value '%s' is not a valid hostname." % value
              openmediavault.json.schema.SchemaValidationException: hostname: The value '<my hostname>' is not a valid hostname.

              ; line 1

              ---
              {%- set dns_config = salt['omv_conf.get']('conf.system.network.dns') -%}    <======================
              {%- set mac_address = salt['grains.get']('hwaddr_interfaces:' + interface.devicename) -%}
              network:
                ethernets:
                  {{ interface.devicename }}:
                    match:
              [...]
              ---
     Started: 18:20:08.580347
    Duration: 92.127 ms
     Changes:
----------
          ID: apply_netplan_config
    Function: cmd.run
        Name: netplan apply
      Result: True
     Comment: Command "netplan apply" run
     Started: 18:20:08.672825
    Duration: 368.964 ms
     Changes:
              ----------
              pid:
                  32267
              retcode:
                  0
              stderr:
              stdout:

Summary for <my hostname>
------------
Succeeded: 7 (changed=6)
Failed:    1
------------
Total states run:     8
Total run time:   4.828 s
Network setup.  Rebooting...

I know I should not use such hostnames, but as it isn't a problem with other software the script should at least test for such a hostname before it destroys something which results in that the system doesn't boot anymore.

installation script issue

I am not able to install on raspberri pi 4 getting connection timed out issue

wget https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install
--2021-04-22 19:34:30-- https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install
Resolving github.com (github.com)... 13.234.176.102
Connecting to github.com (github.com)|13.234.176.102|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install [following]
--2021-04-22 19:34:30-- https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... failed: Connection timed out.
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... failed: Connection timed out.
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... failed: Connection timed out.
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443...

Monit package causes installation to fail on Raspberry Pi

The Monit package is causing the installation to fail.

Setting up monit (1:5.26.0-1) ...
Job for monit.service failed because the control process exited with error code.
See "systemctl status monit.service" and "journalctl -xe" for details.
invoke-rc.d: initscript monit, action "start" failed.
● monit.service - LSB: service and resource monitoring daemon
Loaded: loaded (/etc/init.d/monit; generated)
Active: failed (Result: exit-code) since Fri 2020-08-21 00:59:40 EDT; 180ms ago
Docs: man:systemd-sysv-generator(8)
Process: 5130 ExecStart=/etc/init.d/monit start (code=exited, status=1/FAILURE)

Aug 21 00:59:39 pi1 systemd[1]: Starting LSB: service and resource monitoring daemon...
Aug 21 00:59:40 pi1 monit[5130]: Starting daemon monitor: monitSegmentation fault
Aug 21 00:59:40 pi1 monit[5130]: failed!
Aug 21 00:59:40 pi1 systemd[1]: monit.service: Control process exited, code=exited, status=1/FAILURE
Aug 21 00:59:40 pi1 systemd[1]: monit.service: Failed with result 'exit-code'.
Aug 21 00:59:40 pi1 systemd[1]: Failed to start LSB: service and resource monitoring daemon.
dpkg: error processing package monit (--configure):
installed monit package post-installation script subprocess returned error exit status 1
Setting up python3-colorama (0.3.7-1) ...

Rebooting the Raspberry Pi fails

Hi There,

I am not sure if this is an error with the OpenMediaVault on the Raspberry Pi, but I think I could get some direction on this issue here. The thing is that when I have connected my USB hard drives, I am not able to reboot the Raspberry Pi even if I do it via the OpenMediaVault menu option or command line from a user session logged.

I think it is because the USB ports functionality doesn't stop/start appropriately, because if I disconnect the USB hard drives it does rebooting just fine, but with the discs connected it doesn't restart, and I have to do a hard shutdown of the Raspberry Pi, then turn it on manually from the switch button.

Any help or direction that you can provide me would be very much appreciated.

Thanks a lot in advance.

Installer script fails with No public key available when setting up apt repos

wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
[sudo] password for pi:
--2020-02-20 17:17:38-- https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install
Resolving github.com (github.com)... 140.82.114.3
Connecting to github.com (github.com)|140.82.114.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install [following]
--2020-02-20 17:17:39-- https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.192.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10666 (10K) [text/plain]
Saving to: ‘STDOUT’

  •               100%[===================>]  10.42K  --.-KB/s    in 0.002s  
    

2020-02-20 17:17:39 (6.10 MB/s) - written to stdout [10666/10666]

Current / permissions = 755
New / permissions = 755
Updating repos before installing...
Hit:1 http://ports.ubuntu.com/ubuntu-ports eoan InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports eoan-updates InRelease [97.5 kB]
Get:3 http://packages.openmediavault.org/public usul InRelease [12.7 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports eoan-backports InRelease [88.8 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports eoan-security InRelease [97.5 kB]
Err:3 http://packages.openmediavault.org/public usul InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7E7A6C592EF35D13 NO_PUBKEY 24863F0C716B980B
...
E: The repository 'http://packages.openmediavault.org/public usul InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: http://ports.ubuntu.com/ubuntu-ports/dists/eoan-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://ports.ubuntu.com/ubuntu-ports/dists/eoan-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc are ignored as the file is not readable by user '_apt' executing apt-key.
failed to update apt repos.

Fails at network configuration

Was working just fine to install yesterday. I screwed up my config and decided to reinstall and try again. Today however the install script keeps failing when trying to configure the network, the Pi reboots and doesn't get a network configuration then hangs.

Enable and start systemd-resolved ...
Unblocking wifi with rfkill ...
Adding eth0 to openmedivault database ...
IP address may change and you could lose connection if running this script via ssh.
raspberrypi:
    Data failed to compile:
----------
    Rendering SLS 'base:omv.deploy.systemd-networkd.20ethernet' failed: Jinja error: slaves: The value '' doesn't match the pattern '^(((eth|venet|wlan)\d+|(en|veth|wl)\S+|(bond)\d+)(\.\d+)?,)*((eth|venet|wlan)\d+|(en|veth|wl)\S+|(bond)\d+)(\.\d+)?$'.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 400, in render_jinja_tmpl
    output = template.render(**decoded_context)
  File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in render
    return original_render(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "<template>", line 20, in top-level template code
  File "/var/cache/salt/minion/extmods/modules/omv_conf.py", line 82, in get_by_filter
    objs = db.get_by_filter(id_, openmediavault.config.DatabaseFilter(filter_), **kwargs)
  File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 125, in get_by_filter
    query.execute()
  File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 695, in execute
    self._response = self._elements_to_object(elements)
  File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 473, in _elements_to_object
    obj.validate()
  File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 235, in validate
    self.model.validate(self.get_dict())
  File "/usr/lib/python3/dist-packages/openmediavault/config/datamodel.py", line 200, in validate
    self.schema.validate(data)
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 170, in validate
    self._validate_type(value, schema, name)
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 224, in _validate_type
    raise last_exception
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 195, in _validate_type
    self._validate_object(value, schema, name)
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 300, in _validate_object
    self._check_properties(value, schema, name)
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 508, in _check_properties
    self._validate_type(value[propk], propv, path)
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 224, in _validate_type
    raise last_exception
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 204, in _validate_type
    self._validate_string(value, schema, name)
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 275, in _validate_string
    self._check_pattern(value, schema, name)
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 385, in _check_pattern
    % (value, schema['pattern']),
openmediavault.json.schema.SchemaValidationException: slaves: The value '' doesn't match the pattern '^(((eth|venet|wlan)\d+|(en|veth|wl)\S+|(bond)\d+)(\.\d+)?,)*((eth|venet|wlan)\d+|(en|veth|wl)\S+|(bond)\d+)(\.\d+)?$'.

; line 20

---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see <http://www.gnu.org/licenses/>.

{% set interfaces = salt['omv_conf.get_by_filter'](    <======================
  'conf.system.network.interface',
  {'operator': 'stringEquals', 'arg0': 'type', 'arg1': 'ethernet'}) %}

{% for interface in interfaces %}

[...]
---
Network setup for DHCP.  Rebooting...
Connection to raspberry-nas closed by remote host.
Connection to raspberry-nas closed.

postfix Error because domain resolves to https://113store.cr/es/ I believe.

image
So I have been trying to install OMV on my Raspberry Pi 4 for the last couple of days and it has been giving me this error. I believe the domain http://raspbian-us.ngc292.space/raspbian resolves to https://113store.cr/es/ and that's what is causing the issue. I have tried to go to the domain on my phone using 4G also just to rule out any DNS issue and no difference. Please help me solve this issue so I can install OMV. Thank you for any help :)

install script breaks ability to ssh login as installing user

I had installed a fresh Raspberry Pi OS on my rPi4. Was able to ssh into the pi4 as pi, and then created my own user account, and copied over my SSH key to the user. Could ssh into that account as well (using passwordless ssh), and could use sudo as well (so I know my password was working).

After running the installScript, and rebooting the pi4, my own account is now broken. I cannot do passwordless ssh to it, and am prompted for my password, which it will not accept. I went into the still existing "pi" user (I hadn't disabled it yet) and did a "sudo passwd" for my own account to make sure the password hadn't gotten changed. Checked the home directory for my user, and .ssh is still there with all the correct files.

Even after making sure my own user had the correct password, tried to ssh to it again. Still doesn't use the ssh key, and won't accept the password.

I still need to look in the account settings to see if it got disabled by the install script. But if the script is going to automatically disable/break a user account, you should require it be run from a "sacrificial" account, rather than trashing the current one.

Install script not working

This is not working properly with current version of 2019-09-26-raspbian-buster-lite image.
Downloaded from official site, burned to SD, first run, apt-get update & upgrade, reboot, started install script and this fails.

Re-add the --yes switch to apt-get dist-upgrade

The --yes switch might be mandatory. Otherwise the question to upgrade stays unanswered and dist-upgrade itself might not be run at all (especially on those systems without a prompt). This has been an oversight of mine in our discussion. Sorry for that.

OpenMediaVault-install script not compatible with PiVPN on Raspbian buster?

After setting up a fresh installation of Raspbian Buster and having installed PiVPN, I launched the installation script for OpenMediaVault. After a while I got this:

----------
          ID: configure_netplan_ethernet_tun0
    Function: file.managed
        Name: /etc/netplan/20-openmediavault-tun0.yaml
      Result: True
     Comment: File /etc/netplan/20-openmediavault-tun0.yaml updated
     Started: 01:23:12.673166
    Duration: 56.094 ms
     Changes:   
              ----------
              diff:
                  New file
              mode:
                  0644
----------
          ID: apply_netplan_config
    Function: cmd.run
        Name: netplan apply
      Result: False
     Comment: Command "netplan apply" run
     Started: 01:23:12.731009
    Duration: 267.453 ms
     Changes:   
              ----------
              pid:
                  1597
              retcode:
                  78
              stderr:
                  /etc/netplan/20-openmediavault-tun0.yaml:5:20: Error in network definition: Invalid MAC address '', must be XX:XX:XX:XX:XX:XX
                          macaddress: 
                                     ^
              stdout:

Summary for raspi4
------------
Succeeded: 7 (changed=8)
Failed:    1
------------
Total states run:     8
Total run time: 479.690 ms
It is recommended to reboot and then setup the network adapter in the openmediavault web interface.

Just after that, my ssh connection was closed (crashed?) and that was the last I saw from my raspberry. It couldn't even reboot any more. This probably means that you may need an extra check for this error, correct?

installation script failed on odroid-hc2

SBC: Odroid-HC2
Running: Armbian_19.11.7_Odroidxu4_buster_current_5.4.3_minimal.7z
Script output:

Setting up samba (2:4.9.5+dfsg-5+deb10u1) ...
Adding group `sambashare' (GID 118) ...
Done.
Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service
Please ignore the following error about deb-systemd-helper not finding those services.
(samba-ad-dc.service masked)
Job for smbd.service failed because a timeout was exceeded.
See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; disabled; vendor preset: enabled)
   Active: failed (Result: timeout) since Sat 2020-01-11 15:18:11 UTC; 32ms ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 21491 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
  Process: 21492 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=killed, signal=KILL)
 Main PID: 21492 (code=killed, signal=KILL)

Jan 11 15:14:54 odroidxu4 systemd[1]: Starting Samba SMB Daemon...
Jan 11 15:16:24 odroidxu4 systemd[1]: smbd.service: Start operation timed out. Terminating.
Jan 11 15:17:55 odroidxu4 systemd[1]: smbd.service: State 'stop-sigterm' timed out. Killing.
Jan 11 15:17:55 odroidxu4 systemd[1]: smbd.service: Killing process 21492 (smbd) with signal SIGKILL.
Jan 11 15:18:11 odroidxu4 systemd[1]: smbd.service: Main process exited, code=killed, status=9/KILL
Jan 11 15:18:11 odroidxu4 systemd[1]: smbd.service: Failed with result 'timeout'.
Jan 11 15:18:11 odroidxu4 systemd[1]: Failed to start Samba SMB Daemon.
dpkg: error processing package samba (--configure):
 installed samba package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of openmediavault:
 openmediavault depends on samba; however:
  Package samba is not configured yet.

dpkg: error processing package openmediavault (--configure):
 dependency problems - leaving unconfigured
Setting up wsdd (0.5-1) ...
wsdd.service is a disabled or a static unit, not starting it.
Setting up liblvm2cmd2.03:armhf (2.03.02-3) ...
Setting up dmeventd (2:1.02.155-3) ...
Created symlink /etc/systemd/system/sockets.target.wants/dm-event.socket → /lib/systemd/system/dm-event.socket.
dm-event.service is a disabled or a static unit, not starting it.
Setting up lvm2 (2.03.02-3) ...
update-initramfs: deferring update (trigger activated)
Created symlink /etc/systemd/system/sysinit.target.wants/blk-availability.service → /lib/systemd/system/blk-availability.service.
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-monitor.service → /lib/systemd/system/lvm2-monitor.service.
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-lvmpolld.socket → /lib/systemd/system/lvm2-lvmpolld.socket.
Processing triggers for dbus (1.12.16-1) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for initramfs-tools (0.133+deb10u1) ...
update-initramfs: Generating /boot/initrd.img-5.4.3-odroidxu4
update-initramfs: Converting to u-boot format
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for rsyslog (8.1901.0-1) ...
Processing triggers for systemd (241-7~deb10u2) ...
Processing triggers for php7.3-fpm (7.3.11-1~deb10u1) ...
Errors were encountered while processing:
 samba
 openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed to install openmediavault package.

install monit failed for omv on debian 10

Is this just a recent problem of monit not being available, or is this a major issue that won't be resolved until the release of debian 11? Tried to install monit before omv as suggested but I also get an additional failure that monit is not in backports either.

OMV installation error on debian 10.0 LXC

Virtual System: Debian 10.0 standard LXC in Proxmox VE 6.1
System Kernel: Linux version 5.3.18-2-pve

apt-get install wget sudois finish installation.
An error occurred after running the following command:
wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash

The error message is as follows:

root@OpenMediaVault:~# wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
--2020-03-16 09:12:15--  https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install
Connecting to 10.10.10.15:1080... connected.
Proxy request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install [following]
--2020-03-16 09:12:16--  https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install
Connecting to 10.10.10.15:1080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 11593 (11K) [text/plain]
Saving to: 'STDOUT'

-                             100%[=================================================>]  11.32K  --.-KB/s    in 0s

2020-03-16 09:12:17 (80.6 MB/s) - written to stdout [11593/11593]

Current / permissions = 755
New / permissions = 755
Updating repos before installing...
Get:1 file:/var/cache/openmediavault/archives  InRelease
Ign:1 file:/var/cache/openmediavault/archives  InRelease
Get:2 file:/var/cache/openmediavault/archives  Release
Ign:2 file:/var/cache/openmediavault/archives  Release
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Translation-en
Ign:4 file:/var/cache/openmediavault/archives  Translation-en
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Translation-en
Ign:4 file:/var/cache/openmediavault/archives  Translation-en
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Translation-en
Ign:4 file:/var/cache/openmediavault/archives  Translation-en
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Translation-en
Ign:4 file:/var/cache/openmediavault/archives  Translation-en
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Translation-en
Ign:4 file:/var/cache/openmediavault/archives  Translation-en
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Translation-en
Ign:4 file:/var/cache/openmediavault/archives  Translation-en
Get:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Translation-en
Ign:4 file:/var/cache/openmediavault/archives  Translation-en
Hit:5 http://ftp.debian.org/debian buster InRelease
Hit:6 http://packages.openmediavault.org/public usul InRelease
Hit:7 http://security.debian.org buster/updates InRelease
Hit:8 http://ftp.debian.org/debian buster-updates InRelease
Reading package lists... Done
usul :: 5
Install prerequisites...
Reading package lists... Done
Building dependency tree
Reading state information... Done
dirmngr is already the newest version (2.2.12-1+deb10u1).
gnupg is already the newest version (2.2.12-1+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openmediavault (5.3.8-1) ...
Creating users/groups ...
Updating local package archive ...
Updating service units ...
Job for systemd-networkd.service failed because the control process exited with error code.
See "systemctl status systemd-networkd.service" and "journalctl -xe" for details.
Job for systemd-resolved.service failed.
See "systemctl status systemd-resolved.service" and "journalctl -xe" for details.
Creating configuration database ...
Setting up Salt environment ...
Setting up system ...
[WARNING ] /usr/lib/python3/dist-packages/salt/modules/file.py:32: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Iterable, Mapping, namedtuple

[ERROR   ] Command 'udevadm control --reload-rules' failed with return code: 1
[ERROR   ] retcode: 1
[ERROR   ] {'pid': 22766, 'retcode': 1, 'stdout': '', 'stderr': ''}
[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/oset.py:47: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  class OrderedSet(collections.MutableSet):

[ERROR   ] {'out': 'highstate', 'ret': {'OpenMediaVault.LOCAL': {'cmd_|-udevadm_reload_rules_|-udevadm control --reload-rules_|-run': {'name': 'udevadm control --reload-rules', 'changes': {'pid': 22766, 'retcode': 1, 'stdout': '', 'stderr': ''}, 'result': False, 'comment': 'Command "udevadm control --reload-rules" run', '__sls__': 'omv.setup.fstab.default', '__run_num__': 0, 'start_time': '09:13:02.976924', 'duration': 16.625, '__id__': 'udevadm_reload_rules'}, 'cmd_|-udevadm_trigger_|-udevadm trigger_|-run': {'changes': {}, 'result': False, 'duration': 0.022, 'start_time': '09:13:02.994690', 'comment': 'One or more requisite failed: omv.setup.fstab.default.udevadm_reload_rules', '__run_num__': 1, '__sls__': 'omv.setup.fstab.default'}, 'service_|-start_fstrim_timer_|-fstrim.timer_|-running': {'name': 'fstrim.timer', 'changes': {}, 'result': True, 'comment': 'The service fstrim.timer is already running', '__sls__': 'omv.setup.fstrim.default', '__run_num__': 2, 'start_time': '09:13:02.996825', 'duration': 28.013, '__id__': 'start_fstrim_timer'}, 'file_|-enable_discard_in_lvm_conf_|-/etc/lvm/lvm.conf_|-replace': {'name': '/etc/lvm/lvm.conf', 'changes': {}, 'result': True, 'comment': 'No changes needed to be made', '__sls__': 'omv.setup.fstrim.default', '__run_num__': 3, 'start_time': '09:13:03.028882', 'duration': 43.913, '__id__': 'enable_discard_in_lvm_conf'}, 'locale_|-generate_C.UTF-8_locale_|-C.UTF-8_|-present': {'name': 'C.UTF-8', 'changes': {}, 'result': True, 'comment': 'Locale C.UTF-8 is already present', '__sls__': 'omv.setup.locale.default', '__run_num__': 4, 'start_time': '09:13:03.083084', 'duration': 10.28, '__id__': 'generate_C.UTF-8_locale'}, 'cmd_|-set_system_locale_|-update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8_|-run': {'name': 'update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8', 'changes': {'pid': 22770, 'retcode': 0, 'stdout': '', 'stderr': ''}, 'result': True, 'comment': 'Command "update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8" run', '__sls__': 'omv.setup.locale.default', '__run_num__': 5, 'start_time': '09:13:03.093730', 'duration': 48.869, '__id__': 'set_system_locale'}, 'file_|-symlink_systemd_resolvconf_|-/etc/resolv.conf_|-symlink': {'result': True, 'name': '/etc/resolv.conf', 'changes': {}, 'comment': 'onlyif condition is false', 'skip_watch': True, '__sls__': 'omv.setup.resolvconf.default', '__run_num__': 6, 'start_time': '09:13:03.142958', 'duration': 11576.824, '__id__': 'symlink_systemd_resolvconf'}, 'file_|-configure_root_bashrc_|-/root/.bashrc_|-managed': {'changes': {}, 'comment': 'File /root/.bashrc is in the correct state', 'name': '/root/.bashrc', 'result': True, '__sls__': 'omv.setup.shell.10root_bashrc', '__run_num__': 7, 'start_time': '09:13:14.720184', 'duration': 49.85, '__id__': 'configure_root_bashrc'}, 'file_|-configure_root_inputrc_|-/root/.inputrc_|-managed': {'changes': {}, 'comment': 'File /root/.inputrc is in the correct state', 'name': '/root/.inputrc', 'result': True, '__sls__': 'omv.setup.shell.20root_inputrc', '__run_num__': 8, 'start_time': '09:13:14.770269', 'duration': 3.642, '__id__': 'configure_root_inputrc'}, 'file_|-modify_root_profile_|-/root/.profile_|-replace': {'name': '/root/.profile', 'changes': {}, 'result': True, 'comment': 'No changes needed to be made', '__sls__': 'omv.setup.shell.30root_profile', '__run_num__': 9, 'start_time': '09:13:14.774165', 'duration': 3.783, '__id__': 'modify_root_profile'}}}}
dpkg: error processing package openmediavault (--configure):
 installed openmediavault package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
Installing openmediavault required packages...
Reading package lists... Done
Building dependency tree
Reading state information... Done
postfix is already the newest version (3.4.8-0+10debu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openmediavault (5.3.8-1) ...
Creating users/groups ...
Updating local package archive ...
Updating service units ...
Job for systemd-networkd.service failed because the control process exited with error code.
See "systemctl status systemd-networkd.service" and "journalctl -xe" for details.
Job for systemd-resolved.service failed because the control process exited with error code.
See "systemctl status systemd-resolved.service" and "journalctl -xe" for details.
Creating configuration database ...
Setting up Salt environment ...
Setting up system ...
[WARNING ] /usr/lib/python3/dist-packages/salt/modules/file.py:32: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Iterable, Mapping, namedtuple

[ERROR   ] Command 'udevadm control --reload-rules' failed with return code: 1
[ERROR   ] retcode: 1
[ERROR   ] {'pid': 23057, 'retcode': 1, 'stdout': '', 'stderr': ''}
[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/decorators/signature.py:31: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
  *salt.utils.args.get_function_argspec(original_function)

[WARNING ] /usr/lib/python3/dist-packages/salt/utils/oset.py:47: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  class OrderedSet(collections.MutableSet):

[ERROR   ] {'out': 'highstate', 'ret': {'OpenMediaVault.LOCAL': {'cmd_|-udevadm_reload_rules_|-udevadm control --reload-rules_|-run': {'name': 'udevadm control --reload-rules', 'changes': {'pid': 23057, 'retcode': 1, 'stdout': '', 'stderr': ''}, 'result': False, 'comment': 'Command "udevadm control --reload-rules" run', '__sls__': 'omv.setup.fstab.default', '__run_num__': 0, 'start_time': '09:13:55.888882', 'duration': 16.66, '__id__': 'udevadm_reload_rules'}, 'cmd_|-udevadm_trigger_|-udevadm trigger_|-run': {'changes': {}, 'result': False, 'duration': 0.024, 'start_time': '09:13:55.906728', 'comment': 'One or more requisite failed: omv.setup.fstab.default.udevadm_reload_rules', '__run_num__': 1, '__sls__': 'omv.setup.fstab.default'}, 'service_|-start_fstrim_timer_|-fstrim.timer_|-running': {'name': 'fstrim.timer', 'changes': {}, 'result': True, 'comment': 'The service fstrim.timer is already running', '__sls__': 'omv.setup.fstrim.default', '__run_num__': 2, 'start_time': '09:13:55.908881', 'duration': 27.619, '__id__': 'start_fstrim_timer'}, 'file_|-enable_discard_in_lvm_conf_|-/etc/lvm/lvm.conf_|-replace': {'name': '/etc/lvm/lvm.conf', 'changes': {}, 'result': True, 'comment': 'No changes needed to be made', '__sls__': 'omv.setup.fstrim.default', '__run_num__': 3, 'start_time': '09:13:55.940516', 'duration': 44.708, '__id__': 'enable_discard_in_lvm_conf'}, 'locale_|-generate_C.UTF-8_locale_|-C.UTF-8_|-present': {'name': 'C.UTF-8', 'changes': {}, 'result': True, 'comment': 'Locale C.UTF-8 is already present', '__sls__': 'omv.setup.locale.default', '__run_num__': 4, 'start_time': '09:13:55.995542', 'duration': 10.332, '__id__': 'generate_C.UTF-8_locale'}, 'cmd_|-set_system_locale_|-update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8_|-run': {'name': 'update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8', 'changes': {'pid': 23061, 'retcode': 0, 'stdout': '', 'stderr': ''}, 'result': True, 'comment': 'Command "update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8" run', '__sls__': 'omv.setup.locale.default', '__run_num__': 5, 'start_time': '09:13:56.006315', 'duration': 49.972, '__id__': 'set_system_locale'}, 'file_|-symlink_systemd_resolvconf_|-/etc/resolv.conf_|-symlink': {'result': True, 'name': '/etc/resolv.conf', 'changes': {}, 'comment': 'onlyif condition is false', 'skip_watch': True, '__sls__': 'omv.setup.resolvconf.default', '__run_num__': 6, 'start_time': '09:13:56.056677', 'duration': 11628.1, '__id__': 'symlink_systemd_resolvconf'}, 'file_|-configure_root_bashrc_|-/root/.bashrc_|-managed': {'changes': {}, 'comment': 'File /root/.bashrc is in the correct state', 'name': '/root/.bashrc', 'result': True, '__sls__': 'omv.setup.shell.10root_bashrc', '__run_num__': 7, 'start_time': '09:14:07.685247', 'duration': 49.912, '__id__': 'configure_root_bashrc'}, 'file_|-configure_root_inputrc_|-/root/.inputrc_|-managed': {'changes': {}, 'comment': 'File /root/.inputrc is in the correct state', 'name': '/root/.inputrc', 'result': True, '__sls__': 'omv.setup.shell.20root_inputrc', '__run_num__': 8, 'start_time': '09:14:07.735400', 'duration': 3.693, '__id__': 'configure_root_inputrc'}, 'file_|-modify_root_profile_|-/root/.profile_|-replace': {'name': '/root/.profile', 'changes': {}, 'result': True, 'comment': 'No changes needed to be made', '__sls__': 'omv.setup.shell.30root_profile', '__run_num__': 9, 'start_time': '09:14:07.739355', 'duration': 3.821, '__id__': 'modify_root_profile'}}}}
dpkg: error processing package openmediavault (--configure):
 installed openmediavault package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed installing postfix

digit-based wlan password is not added to OVM configuration

Script don't want to add RPI wlan configuration in case of wlan password is digit only.
Further setup over wifi is not available, wlan should be added with sudo omv-firstaid or wired cable should be used.

Output of installScript:

Adding eth0 to openmedivault database ...
Adding wlan0 to openmedivault database ...
Traceback (most recent call last):
  File "/usr/sbin/omv-confdbadm", line 76, in <module>
    sys.exit(main())
  File "/usr/sbin/omv-confdbadm", line 72, in main
    return cmd_inst.execute(*sys.argv)
  File "/usr/share/openmediavault/confdbadm/commands.d/update.py", line 57, in execute
    obj.set_dict(cmd_args.data)
  File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 208, in set_dict
    self.set(key, value, validate)
  File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 184, in set
    self.model.property_validate(name, value)
  File "/usr/lib/python3/dist-packages/openmediavault/config/datamodel.py", line 272, in property_validate
    self.schema.validate(value, name)
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 175, in validate
    self._validate_type(value, schema, name)
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 229, in _validate_type
    raise last_exception
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 209, in _validate_type
    self._validate_string(value, schema, name)
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 278, in _validate_string
    % ("NULL" if (value is None) else str(value)),
openmediavault.json.schema.SchemaValidationException: wpapsk: The value '12345678' is not a string.
IP address may change and you could lose connection if running this script via ssh.

Unsupported version on Ubuntu 20.04

OS: Ubuntu 20.04

sum@zbox:~$ wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
--2020-05-22 22:10:52--  https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install
Resolving github.com (github.com)... [sudo] password for sum: 140.82.118.3
Connecting to github.com (github.com)|140.82.118.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install [following]
--2020-05-22 22:10:54--  https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14374 (14K) [text/plain]
Saving to: 'STDOUT’

-                   100%[===================>]  14.04K  --.-KB/s    in 0.01s   

2020-05-22 22:10:54 (1.14 MB/s) - written to stdout [14374/14374]


Sorry, try again.
[sudo] password for sum: 
Current / permissions = 755
New / permissions = 755
Updating repos before installing...
Hit:1 http://au.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://au.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://au.archive.ubuntu.com/ubuntu focal-backports InRelease         
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]   
Fetched 107 kB in 2s (49.9 kB/s)   
Reading package lists... Done
Installing lsb_release...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 to upgrade, 0 to newly install, 1 to reinstall, 0 to remove and 12 not to upgrade.
Need to get 10.6 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://au.archive.ubuntu.com/ubuntu focal/main amd64 lsb-release all 11.1.0ubuntu2 [10.6 kB]
Fetched 10.6 kB in 0s (68.9 kB/s)       
(Reading database ... 231748 files and directories currently installed.)
Preparing to unpack .../lsb-release_11.1.0ubuntu2_all.deb ...
Unpacking lsb-release (11.1.0ubuntu2) over (11.1.0ubuntu2) ...
Setting up lsb-release (11.1.0ubuntu2) ...
Processing triggers for man-db (2.9.1-1) ...
Unsupported version.  Exiting...

Pi script install has netplan error

Hi
I previously had OMV5 on my PI3 working fine but I had to re-install it using the guide/script. When I try to change (through OMV UI) the network IP address or hostname, I get errors. Not sure if related when I did install OMV5 through this script and I noticed the following error during installation.

---------- ID: apply_netplan_config Function: cmd.run Name: netplan apply Result: False Comment: Command "netplan apply" run Started: 20:58:16.270192 Duration: 465.596 ms Changes: ---------- pid: 14607 retcode: 78 stderr: /etc/netplan/20-openmediavault-eth0.yaml:5:20: Error in network definition: Invalid MAC address '', must be XX:XX:XX:XX:XX:XX macaddress: ^ stdout:

I have tried different SD cards but still get the error during installation.

Packages not found

Can't seem to run the script since these packages has error 404

Err:1 http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian buster/main armhf python3-lxml armhf 4.3.2-1+deb10u1 404 Not Found [IP: 212.219.56.184 80] E: Failed to fetch http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian/pool/main/l/lxml/python3-lxml_4.3.2-1+deb10u1_armhf.deb 404 Not Found [IP: 212.219.56.184 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? failed to install openmediavault package.

public key is not available

Hey,

after installing OMV when i try to update(apt update) or to install anything this error comes.

Err:9 http://security.debian.org/debian-security buster/updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A
Err:11 http://httpredir.debian.org/debian buster-backports InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
Get:15 https://openmediavault.github.io/packages usul/main armhf Packages [6,220 B]
Reading package lists... Done
W: GPG error: http://security.debian.org/debian-security buster/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A
E: The repository 'http://security.debian.org/debian-security buster/updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://httpredir.debian.org/debian buster-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
E: The repository 'http://httpredir.debian.org/debian buster-backports InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

When i try to add the Keys this comes:

gpg: keyserver receive failed: Server indicated a failure

WLAN charset

Hi. The Installation Script fails because of Backslash usage in SSID and also in Password.
The SSID is: /)\o/__ ans the password also contains several backslashes.
The script erors are te following:
jq: error: Invalid escape at line 1, column 4 (while parsing '"\o"') at , line 1:
{uuid: "fa4b1c66-ef79-11e5-87a0-0002b3a176b4", devicename: "wlan0", type: "wifi" , method: "dhcp", method6: "dhcp", wpassid: "/)\o/", wpapsk: "Aa&AV( uF$&*Ae%#3$9YU%3Ot9f{2m\Q5[]kr%jqIBE\w:."}
jq: error: Invalid escape at line 1, column 4 (while parsing '"$"') at , line 1:
{uuid: "fa4b1c66-ef79-11e5-87a0-0002b3a176b4", devicename: "wlan0", type: "wifi" , method: "dhcp", method6: "dhcp", wpassid: "
/)\o/", wpapsk: "Aa&AV( uF$&*Ae%#3$9YU%3Ot9f{2m\Q5[]kr%jqIBE\w:."}
...
Wireless worked before installing OMV.
Best regads
Torsten

DNS lookup or connection check of 'salt' failed

Hello !

((For some reason, I am not able to activate my OMV forum account right now. That's why I post my issue here))

I am facing a bug in the installation process which I am not able to fix.
I have installed a fresh Raspbian Buster Lite on my SD card, version September 2019, kernel version 4.19.
I have created a ssh file in the filesystem, to enable ssh connections.

I have followed the procedure of the following post and pdf guide until the installation script.

My monit.service seems to fail restarting.

● monit.service - LSB: service and resource monitoring daemon
   Loaded: loaded (/etc/init.d/monit; generated)
   Active: failed (Result: exit-code) since Fri 2019-11-01 07:59:19 GMT; 241ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2394 ExecStart=/etc/init.d/monit start (code=exited, status=1/FAILURE)

Here is the systemctl status monit.service

● monit.service - LSB: service and resource monitoring daemon
   Loaded: loaded (/etc/init.d/monit; generated)
   Active: failed (Result: exit-code) since Fri 2019-11-01 07:59:19 GMT; 12min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2394 ExecStart=/etc/init.d/monit start (code=exited, status=1/FAILURE)

Nov 01 07:59:18 raspberrypi systemd[1]: Starting LSB: service and resource monitoring daemon...
Nov 01 07:59:19 raspberrypi monit[2394]: Starting daemon monitor: monitSegmentation fault
Nov 01 07:59:19 raspberrypi monit[2394]:  failed!
Nov 01 07:59:19 raspberrypi systemd[1]: monit.service: Control process exited, code=exited, status=1/FAILURE
Nov 01 07:59:19 raspberrypi systemd[1]: monit.service: Failed with result 'exit-code'.
Nov 01 07:59:19 raspberrypi systemd[1]: Failed to start LSB: service and resource monitoring daemon.

Here is the journal -xe output

-- The unit monit.service has entered the 'failed' state with result 'exit-code'.
Nov 01 07:59:19 raspberrypi systemd[1]: Failed to start LSB: service and resource monitoring daemon.
-- Subject: A start job for unit monit.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A start job for unit monit.service has finished with a failure.
-- 
-- The job identifier is 1137 and the job result is failed.
Nov 01 07:59:28 raspberrypi salt-minion[365]: [ERROR   ] DNS lookup or connection check of 'salt' failed.
Nov 01 07:59:28 raspberrypi salt-minion[365]: [ERROR   ] Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds
Nov 01 07:59:31 raspberrypi sudo[1903]: pam_unix(sudo:session): session closed for user root
Nov 01 07:59:59 raspberrypi salt-minion[365]: [ERROR   ] DNS lookup or connection check of 'salt' failed.
Nov 01 07:59:59 raspberrypi salt-minion[365]: [ERROR   ] Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds
[…]

And it keeps up retrying.
It fails the same way when I run the "official" installation procedure provided on the forum for OMV5.

Apparently, a previous version of monit failed with segmentation fault when the hostname was not reachable.
But it was told to be solved.
I cannot find where the salt hostname is called for.

I am very surprised anyone encountered this issue before as my config is very bare.
Thanks for your help !

Locale Issue

During execution of install script on Raspberry Pi 4, following the guide, this warning shows up a lot.

locale: Cannot Set LC_ALL to default locale: No such file or directory

This may be a non-issue, but it is mildly concerning how often it shows up.

Cheers!
p

Not Working

it just says connected and stays like this for a long time without anything happening

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.