sentora / sentora-installers

Provides a central place to store, version and distribute the Sentora installer and upgrade scripts from.
GNU General Public License v3.0
153 stars 148 forks source link

Debian 7 Error on start installation (hostinger VPS) #30

Closed mateusdemboski closed 9 years ago

mateusdemboski commented 10 years ago

Hello,
When i try install the Sentora the system return this error:

############################################################
#  Welcome to the Official Sentora Installer 1.0.0-beta9  #
############################################################
-e
Checking that minimal requirements are ok
Detected : Linux  2.6.32-042stab093.4  x86_64
sentora_install.sh: 60: sentora_install.sh: Syntax error: word unexpected (expecting "then")

Details: O.S: Debian (clean) Version: 7.5 (Wheezy) VPS Provider: Hostinger

5050 commented 10 years ago

it seems there is a problem to recover OS name and version. the extraction routine returns "Linux" instead of "CentOs" and "2.6.32-042stab093.4" instead of "7.5"

Can you send back

from first read I do not understand why it creates an error in the if / then / else / fi expression, I will try it alone to find.

mateusdemboski commented 10 years ago

hello @5050 , the files ´/etc/centos-release´ and ´/etc/lsb-release´ doesn’t exists because the O.S. is Debian... '-' File ´/etc/os-release´ like ´/etc/lsb-release´ :

PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"

*\ Correction, my Debian version is 7.7

5050 commented 10 years ago

Oh, sorry, I'm so used to see "debian" while in Ubuntu that I did not tilted on it.

1) it is normal that the installer halts on your system because it is for Ubuntu and Centos only, as written everywhere.

2) It is not normal that the installer fails on error instead to display the expected message "Sorry, this OS is not supported by Sentora." and then to halt properly.

But I also notice on your "capture" that the instruction: echo -e "\nChecking that minimal requirements are ok" produces

-e
Checking that minimal requirements are ok

=> the "-e" option for "echo" seems to be displayed instead of interpreted... I'm afraid that the expression of the if statement is not interpreted with rules compatible to what I know...

More, I did a try in a DigitalOcean droplet installed first with Debian 7.0, and then updated to version 7.7 with apt-get dist-upgrade. With both versions, the installer returns correctly "Sorry, this OS is not supported by Sentora."

So, I'm afraid that unless you can help us to solve the issue, I will not able to solve it because I cannot reproduce it. :-(

andykimpe commented 9 years ago

Please read before installing

http://docs.sentora.org/?node=7

debian his 7 will not work with this installer

a request was already made for debian adding 7

kandrews has planned to add to the support a bit of patience

Caffe1neAdd1ct commented 9 years ago

Debian 7 and 8 support has now been added to master for testing. Please test and raise a new issue is any problems occur.

MBlagui commented 9 years ago

seem we have issues with support as it require more testing

https://github.com/sentora/sentora-installers/issues/79