Used this script to install on Interceptor since it has the Raspberry Pi 4.
Encountered errors during install. I will work with them but wanted to share as well.
root@interceptor:/home/admin# sudo wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
--2022-03-30 16:54:25-- https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install
Resolving github.com (github.com)... 140.82.114.4
Connecting to github.com (github.com)|140.82.114.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install [following]
--2022-03-30 16:54:26-- https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19089 (19K) [text/plain]
Saving to: ‘STDOUT’
- 100%[============================================================================>] 18.64K --.-KB/s in 0.002s
2022-03-30 16:54:26 (8.24 MB/s) - written to stdout [19089/19089]
Current / permissions = 755
New / permissions = 755
Forcing IPv4 only for apt...
Updating repos before installing...
Hit:1 http://ftp.us.debian.org/debian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists... Done
Installing lsb_release...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
distro-info-data
The following NEW packages will be installed:
distro-info-data lsb-release
0 upgraded, 2 newly installed, 0 to remove and 44 not upgraded.
Need to get 35.5 kB of archives.
After this operation, 84.0 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian bullseye/main arm64 distro-info-data all 0.51+deb11u1 [7624 B]
Get:2 http://ftp.us.debian.org/debian bullseye/main arm64 lsb-release all 11.1.0 [27.9 kB]
Fetched 35.5 kB in 0s (83.3 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package distro-info-data.
(Reading database ... 28022 files and directories currently installed.)
Preparing to unpack .../distro-info-data_0.51+deb11u1_all.deb ...
Unpacking distro-info-data (0.51+deb11u1) ...
Selecting previously unselected package lsb-release.
Preparing to unpack .../lsb-release_11.1.0_all.deb ...
Unpacking lsb-release (11.1.0) ...
Setting up distro-info-data (0.51+deb11u1) ...
Setting up lsb-release (11.1.0) ...
Processing triggers for man-db (2.9.4-2) ...
Supported architecture
Debian :: bullseye
shaitan :: 6
RPi revision code :: c03140
Adding Debian signing keys...
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.Rw8gPWMLAY/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0E98404D386FA1D9
gpg: key 73A4F27B8DD47936: "Debian Archive Automatic Signing Key (11/bullseye) <ftpmaster@debian.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.BnNlnUKICX/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A48449044AAD5C5D
gpg: key A48449044AAD5C5D: "Debian Security Archive Automatic Signing Key (11/bullseye) <ftpmaster@debian.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
Installing monit from raspberrypi repo...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
default-mta | postfix | mail-transport-agent sysvinit-core
The following NEW packages will be installed:
monit
0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded.
Need to get 329 kB of archives.
After this operation, 1018 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian bullseye/main arm64 monit arm64 1:5.27.2-1 [329 kB]
Fetched 329 kB in 0s (744 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package monit.
(Reading database ... 28042 files and directories currently installed.)
Preparing to unpack .../monit_1%3a5.27.2-1_arm64.deb ...
Unpacking monit (1:5.27.2-1) ...
Setting up monit (1:5.27.2-1) ...
Processing triggers for man-db (2.9.4-2) ...
dpkg: warning: ignoring request to remove udisks2 which isn't installed
Install prerequisites...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dirmngr is already the newest version (2.2.27-2+deb11u1).
dirmngr set to manually installed.
gnupg is already the newest version (2.2.27-2+deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
Installing openmediavault required packages...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
cpio ssl-cert
Suggested packages:
libarchive1 procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb postfix-sqlite sasl2-bin | dovecot-common libsasl2-modules
| dovecot-common resolvconf postfix-cdb mail-reader ufw postfix-doc
The following NEW packages will be installed:
cpio postfix ssl-cert
0 upgraded, 3 newly installed, 0 to remove and 44 not upgraded.
Need to get 1750 kB of archives.
After this operation, 5358 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian bullseye/main arm64 cpio arm64 2.13+dfsg-4 [239 kB]
Get:2 http://ftp.us.debian.org/debian bullseye/main arm64 ssl-cert all 1.1.0+nmu1 [21.0 kB]
Get:3 http://ftp.us.debian.org/debian bullseye/main arm64 postfix arm64 3.5.6-1+b1 [1490 kB]
Fetched 1750 kB in 1s (1902 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package cpio.
(Reading database ... 28086 files and directories currently installed.)
Preparing to unpack .../cpio_2.13+dfsg-4_arm64.deb ...
Unpacking cpio (2.13+dfsg-4) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../ssl-cert_1.1.0+nmu1_all.deb ...
Unpacking ssl-cert (1.1.0+nmu1) ...
Selecting previously unselected package postfix.
Preparing to unpack .../postfix_3.5.6-1+b1_arm64.deb ...
Unpacking postfix (3.5.6-1+b1) ...
Setting up cpio (2.13+dfsg-4) ...
update-alternatives: using /bin/mt-gnu to provide /bin/mt (mt) in auto mode
Setting up ssl-cert (1.1.0+nmu1) ...
Setting up postfix (3.5.6-1+b1) ...
Adding group `postfix' (GID 113) ...
Done.
Adding system user `postfix' (UID 106) ...
Adding new user `postfix' (UID 106) with group `postfix' ...
Not creating home directory `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (GID 114) ...
Done.
setting myhostname: interceptor..
setting alias maps
setting alias database
mailname is not a fully qualified domain name. Not changing /etc/mailname.
setting destinations: $myhostname, interceptor, 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
/etc/aliases does not exist, creating it.
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 'systemctl reload postfix'.
Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: interceptor..
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: interceptor..
dpkg: error processing package postfix (--configure):
installed postfix package post-installation script subprocess returned error exit status 75
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed installing postfix
I could not get OMV installed on the eMMC with InterceptorOS. I had to install RPi Lite on the eMMC then install OMV through Rpi lite. InterceptorOS gave too many errors during install. Installing and running OMV from USB worked just fine too though.
@Bill Clark one point to make things a bit easier to read. If you could please edit your posts to change the command line output to a code snippet, that would be a big help. To do this, edit your post, hightly the text that you want to put into a code snippet, and as soon as you hightlight the text a toolbar will appear. Just click on the "code snippet" icon and the magic will happen! Publish your result.
Here is what that icon looks like on the toolbar that pops up:
Hi @Bill Clark. We've actually been talking with "@ryecoaaron" over at the OMV Forums as he is testing out an Interceptor Carrier Board with OMV right now. He read your progress and sent me a few comments that I thought I'd share with you:
[re postfix package] I added a fix to the install script to remove the myhostname line from
/etc/postfix/main.cf.
I also added code to skip network setup when
/usr/libexec/config-rtl8367rb.sh
is found until I can figure out something better. [The user] just won't be able to configure networking from the OMV web interface.
The image would also benefit from having the usrmerge package installed. OMV requires the package or at least the symlinks there.
[The user] will have issues if usrmerge isn't installed and it is failing to install from the script. I need to work on that too.
[Axzez Support] They are a great community over there at OMV Forums, with a lot of knowledge and help to offer. I didn't check to see if you have a matching account over there, but here is a link to their forum searching for the keyword "Interceptor", which may be of some help: https://forum.openmediavault.org/wsc/index.php?search/&q=interceptor&sortField=time&sortOrder=DESC At least get you in touch with others using the Interceptor + OMV combination.
We're always glad to have you discuss things here of course, but you may be better off working with @ryecoaaron over at the OMV Forums. If you do decide to work over there, please give us a link here to follow along. If you keep working in this thread, please drop a link over there and they can follow along with your work. Either way it is a win for both communities. Thank you @Bill Clark!
The real problem is in this section and I will work it out, just sharing...
/etc/aliases does not exist, creating it.
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 'systemctl reload postfix'.
Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: interceptor..
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: interceptor..
dpkg: error processing package postfix (--configure):
installed postfix package post-installation script subprocess returned error exit status 75
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed installing postfix
root@interceptor:/home/admin#