Greeting's,
I am having a terribly unsuccessful time at getting OMV to work on RPi. I am using a Ubuntu virtual machine to write the image file using etcher as I am having difficulty using etcher in MS Windows 10 (which host operating system on my laptop). After successful write, I am inserting the card to RPi and powering it on. I cab see successful boot but I am unable to get the OMV login page. Irrespective of the browser I use (Chrome / Firefox / Opera), I get ERR_CONNECTION_REFUSED error. I have waited for 2 hours with memory card inserted in the RPi and it being connected to the internet.
Errors:
Failed to start kernel modules.
I am seeing failed to start realtek H5 bluetooth support.
failed to start a high performance web server and a reverse proxy server.
RPi is getting an IP address, there are no DNS sinkholes (I do have Pi-Hole, but I have configured the router to use Google's DNS servers [8.8.8.8]).
Could someone please suggest a way to diagnose this?
Thank you.
PS: I have also tried by decompressing the image and using Win32Diskimager to write the .IMG file (with verification turned on). However, end result is the same.
** EDIT **:
While RPi got an IP address, I realized that ping to google.com failed but 8.8.8.8. Meaning there was a DNS (name resolution) error. I tried dpkg-reconfigure --frontend=noninteractive resolvconf but it did not resolve the problem. Hence I manually edited /etc/resolv.conf and added:
#nameserver 1.1.1.1
search local
nameserver 192.168.0.1
I am able to ping google.com. However post reboot nameserver change to 1.1.1.1 and I have to edit the file to get internet to work on the Pi.
Whats going wrong here? Why is the imaging failing?
Here's the error for apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
hostapd
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up nginx-full (1.10.3-1+deb9u2) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2019-05-06 00:51:27 UTC; 26ms ago
Docs: man:nginx(8)
Process: 12185 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
May 06 00:51:27 raspberrypi systemd[1]: Starting A high performance web server and a reverse proxy server...
May 06 00:51:27 raspberrypi nginx[12185]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
May 06 00:51:27 raspberrypi nginx[12185]: nginx: configuration file /etc/nginx/nginx.conf test failed
May 06 00:51:27 raspberrypi systemd[1]: nginx.service: Control process exited, code=exited status=1
May 06 00:51:27 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
May 06 00:51:27 raspberrypi systemd[1]: nginx.service: Unit entered failed state.
May 06 00:51:27 raspberrypi systemd[1]: nginx.service: Failed with result 'exit-code'.
dpkg: error processing package nginx-full (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
nginx depends on nginx-full (<< 1.10.3-1+deb9u2.1~) | nginx-light (<< 1.10.3-1+deb9u2.1~) | nginx-extras (<< 1.10.3-1+deb9u2.1~); however:
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
nginx depends on nginx-full (>= 1.10.3-1+deb9u2) | nginx-light (>= 1.10.3-1+deb9u2) | nginx-extras (>= 1.10.3-1+deb9u2); however:
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
dpkg: error processing package nginx (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openmediavault:
openmediavault depends on nginx; however:
Package nginx is not configured yet.
Package nginx-full which provides nginx is not configured yet.
dpkg: error processing package openmediavault (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openmediavault-omvextrasorg:
openmediavault-omvextrasorg depends on openmediavault (>= 4.0.4); however:
Package openmediavault is not configured yet.
dpkg: error processing package openmediavault-omvextrasorg (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openmediavault-flashmemory:
openmediavault-flashmemory depends on openmediavault (>= 3.0.40); however:
Package openmediavault is not configured yet.
dpkg: error processing package openmediavault-flashmemory (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
nginx-full
nginx
openmediavault
openmediavault-omvextrasorg
openmediavault-flashmemory
E: Sub-process /usr/bin/dpkg returned an error code (1)
After couple of reboots and apt update & apt dist-upgrade followed by installation of rpi-update and updating firmware to the latest version, everything seems to be working fine. I can see the GUI. However, before I use the system with live data, do I need to do (is there a way) to carry out integrity checks to ensure no errors will develop due to manual updating?
** EDIT 2 **.
I have found the reason why 1.1.1.1 is not working for me. My ISP in all it's glory has blocked it - https://community.cloudflare.c…roadband-indian-isp/16866