Closed HanyZaher closed 4 years ago
What and where is it saying connected? Output of the script is helpful.
pi@raspberrypi:~ $ wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash --2020-05-17 23:26:38-- https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install Resolving github.com (github.com)... 140.82.118.3 Connecting to github.com (github.com)|140.82.118.3|:443... connected.
The sudo command is asking for a password that you can’t see. Run any sudo command (like sudo ls) before this to enter the password before the real command. I think the guide mentions this.
I did that first time but here you go
pi@raspberrypi:~ $ sudo ls wget-log wget-log.1 wget-log.2 pi@raspberrypi:~ $ wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash --2020-05-18 08:07:39-- https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install Resolving github.com (github.com)... 140.82.118.3 Connecting to github.com (github.com)|140.82.118.3|:443... connected.
Try wget without the arguments and pipe to bash.
First I want to thank you for your help and I'm just sure it's going to be my fault and something funny on my side
But it's strange
pi@raspberrypi:~ $ wget https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install --2020-05-18 10:16:55-- https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install Resolving github.com (github.com)... 140.82.118.4 Connecting to github.com (github.com)|140.82.118.4|:443... connected.
And I tried also doing this
pi@raspberrypi:~ $ wget wget: missing URL Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options. pi@raspberrypi:~ $ sudo apt-get install wget Reading package lists... Done Building dependency tree Reading state information... Done wget is already the newest version (1.20.1-1.1). wget set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. pi@raspberrypi:~ $ wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install --2020-05-18 10:21:28-- https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install Resolving github.com (github.com)... 140.82.118.4 Connecting to github.com (github.com)|140.82.118.4|:443... connected.
There must be something on your network causing the failure. What is the output of:
curl -vL https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install -o install
I have used 2 youtube videos as instructions to the download the first one:
https://www.youtube.com/watch?v=sYDyvr9Uc6Y
second one:
https://www.youtube.com/watch?v=4aBbrdrurYw&t=1s
also came with instructions https://dbtechreviews.com/2019/12/how-to-install-openmediavault-on-raspberry-pi-4/
and both of them use your script for the install
pi@raspberrypi:~ $ curl -vL https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install -o install
GET /OpenMediaVault-Plugin-Developers/installScript/raw/master/install HTTP/1.1 Host: github.com User-Agent: curl/7.64.0 Accept: /
{ [5 bytes data]
GET /OpenMediaVault-Plugin-Developers/installScript/master/install HTTP/1.1 Host: raw.githubusercontent.com User-Agent: curl/7.64.0 Accept: /
{ [5 bytes data] < HTTP/1.1 200 OK < Connection: keep-alive < Content-Length: 14473 < Cache-Control: max-age=300 < Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox < Content-Type: text/plain; charset=utf-8 < ETag: W/"d183f4765b5532af35d6f1ae77a3ba856bb800d99f3176923a78ee75615bb3ab" < Strict-Transport-Security: max-age=31536000 < X-Content-Type-Options: nosniff < X-Frame-Options: deny < X-XSS-Protection: 1; mode=block < Via: 1.1 varnish (Varnish/6.0) < X-GitHub-Request-Id: 4C8A:4C3C:EA969:1231A9:5EC2286F < Accept-Ranges: bytes < Date: Mon, 18 May 2020 10:19:34 GMT < Via: 1.1 varnish < X-Served-By: cache-ams21026-AMS < X-Cache: MISS, HIT < X-Cache-Hits: 0, 1 < X-Timer: S1589797174.244592,VS0,VE0 < Vary: Authorization,Accept-Encoding < Access-Control-Allow-Origin: * < X-Fastly-Request-ID: 67bbfdcba976199546e9d9afe614dee07ecee184 < Expires: Mon, 18 May 2020 10:24:34 GMT < Source-Age: 141 < { [5 bytes data] 100 14473 100 14473 0 0 3671 0 0:00:03 0:00:03 --:--:-- 24447
So, strange. Something on your network or your isp seems to be blocking it. What about:
pi@raspberrypi:~ $ wget https://omv-extras.org/installScript/install --2020-05-18 11:33:38-- https://omv-extras.org/installScript/install Resolving omv-extras.org (omv-extras.org)... 64.52.87.112 Connecting to omv-extras.org (omv-extras.org)|64.52.87.112|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 14473 (14K) [application/octet-stream] Saving to: 'install.1'
install.1 100%[======================>] 14.13K --.-KB/s in 0s
2020-05-18 11:33:39 (29.1 MB/s) - 'install.1' saved [14473/14473]
Ok. Something on your network (not the RPi) is blocking github it seems. You can install with:
wget -O - https://omv-extras.org/installScript/install | sudo bash
sorry for taking all that time to give you the feedback
I had to do this more than one time to make sure that it's not working.
first time I used "wget -O - https://omv-extras.org/installScript/install | sudo bash" I could not ssh into the RPI second time the script for some reason got stuck 3rd and 4th time after reboot there was no ssh and could not reach the OMV
at this point, I have no idea why my network would block as I use it all the time on my ubuntu laptop.
I have run the script at least a hundred times and haven’t had this issue. Without output of the script, it is hard to help. And if you login to the pi with a keyboard and monitor, does it have an ip address and is ssh running according to systemctl status ssh
I have just installed pi-hole "as a test" and it worked with no problems
I'm going to try again and see where is the problem if I find anything I will let you know.
Attempted this script on:
. . .and it simply fails.
SCRIPT 1: wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
ERROR: Unsupported version. Exiting...
SCRIPT 2: wget -O - https://omv-extras.org/installScript/install | sudo bash
ERROR:
--2020-08-20 23:10:35-- https://omv-extras.org/installScript/install
Resolving omv-extras.org (omv-extras.org)... 64.52.87.112
Connecting to omv-extras.org (omv-extras.org)|64.52.87.112|:443... Password:connected.
HTTP request sent, awaiting response... 200 OK
Length: 14206 (14K) [application/octet-stream]
Saving to: ‘STDOUT’
- 100%[==============================================================================================================>] 13.87K --.-KB/s in 0s
2020-08-20 23:10:35 (140 MB/s) - written to stdout [14206/14206]
[1] + 47482 done wget -O - https://omv-extras.org/installScript/install |
47483 suspended (tty input) sudo bash
What am I missing?
UPDATE I suppose "third time's the charm"? wiped the drive once again, and this time installed the "latest" 64-bit Raspbian beta. Install script worked. Still interested in the details of why the lack of Ubuntu "compatibility". 🤔
OMV does not work on Ubuntu. Did you read the guide? https://forum.openmediavault.org/index.php?thread/28789-installing-omv5-on-raspberry-pi-s-armbian-sbc-s-i386-32-bit-platforms/
@ryecoaaron If you're referring to the PDF, I did indeed. Perhaps I missed something, but even after multiple text searches, I saw no references under "Not Supported" or otherwise to Ubuntu. Also, I took the recommendation of Raspbian as just that -- a recommendation. Regardless, I do appreciate you establishing that point. Do we have any specific details as to why?
@humblecoder details as to why it doesn't work on Ubuntu? Yes, it isn't Debian Buster. OMV requires very specific package versions. I'm a huge Ubuntu fan myself but it is not the same as Debian. Raspbian is just a recompiled version of Debian and the packages are the same.
@humblecoder and did you hack the install script? It should just exit if doesn't detect Buster - https://github.com/OpenMediaVault-Plugin-Developers/installScript/blob/master/install#L101
it just says connected and stays like this for a long time without anything happening