OpenMediaVault-Plugin-Developers / installScript

script that installs omv-extras and openmediavault if not installed already.
1.1k stars 207 forks source link

Not Working #17

Closed HanyZaher closed 4 years ago

HanyZaher commented 4 years ago

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

ryecoaaron commented 4 years ago

What and where is it saying connected? Output of the script is helpful.

HanyZaher commented 4 years ago

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.

ryecoaaron commented 4 years ago

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.

HanyZaher commented 4 years ago

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.

ryecoaaron commented 4 years ago

Try wget without the arguments and pipe to bash.

HanyZaher commented 4 years ago

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.

ryecoaaron commented 4 years ago

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

HanyZaher commented 4 years ago

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

HanyZaher commented 4 years ago

pi@raspberrypi:~ $ curl -vL https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install -o install

ryecoaaron commented 4 years ago

So, strange. Something on your network or your isp seems to be blocking it. What about:

wget https://omv-extras.org/installScript/install

HanyZaher commented 4 years ago

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]

ryecoaaron commented 4 years ago

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

HanyZaher commented 4 years ago

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.

ryecoaaron commented 4 years ago

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

HanyZaher commented 4 years ago

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.

humblecoder commented 4 years ago

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". 🤔

ryecoaaron commented 4 years ago

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/

humblecoder commented 4 years ago

@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?

ryecoaaron commented 4 years ago

@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.

ryecoaaron commented 4 years ago

@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