zpanel / installers

Provides a central place to store, version and distribute ZPanel installers and upgrade scripts from.
http://www.zpanelcp.com
GNU General Public License v3.0
73 stars 153 forks source link

Update error on CentOS 6.7: "script only supports ZPanel on CentOS 6.x." #60

Closed slrslr closed 5 years ago

slrslr commented 6 years ago

wget https://raw.github.com/zpanel/installers/master/upgrade/CentOS-6_4/10_1_1.sh sh 10_1_1.sh

Detected : CentOs 6.7 64 Sorry, this upgrade script only supports ZPanel on CentOS 6.x.

I am on 6.7 (final) - Linux 2.6.32-042

By updating i am trying to solve issue with apache virtualhost where http://serverIP started redirecting to the hosted website instead of zpanel login.

PixsaOJ commented 5 years ago

It appears that the script can not detect OS correctly.

edit 10_1_1.sh by any editor ( I am using nano ) Ctrl + w to find the string "Sorry, this upgrade script only supports ZPanel on CentOS 6.x." and comment from if to fi by adding # to every line. Save and run the script again and it will pass the check.

slrslr commented 5 years ago

thx, and i should do this for all CentOS 6.x (including 6.9) right?

PixsaOJ commented 5 years ago

Yes sir