This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

ZPanel unable to update to 10.1.1
#1
ZPanel unable to update to 10.1.1
Hi,

I have been trying for the last two days to update ZPanel from 10.1.0 to 10.1.1.

I've tried following varies sets of instructions available at:
http://forums.zpanelcp.com/Thread-ZPanel...0#pid75890!
https://github.com/zpanel/installers
https://github.com/zpanel/installers/tre...l/CentOS/6

I seem to get an error something like:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

Whichever method I use. Can someone please help? I get the impression this is supposed to be simple but it's proving to be anything but.

Just so you're aware I've tried to use the command:
Code:
bash <(curl -Ss https://raw.github.com/zpanel/installers/master/upgrade/CentOS-6_4/10_1_1.sh)
from http://www.zpanelcp.com/download/
but it does literally nothing. It doesn't launch a script, give an error - literally nothing.

I'm a novice Linux user (as you can probably tell) and this is completely confusing me.

Thanks in advance for any assistance you can offer.
Reply
Thanks given by:
#2
RE: ZPanel unable to update to 10.1.1
Hi mhost,

Did you try to install Sentora yet?

Code:
bash <(curl -Ss https://raw.github.com/sentora/sentora-installers/master/installer.sh)

Did this work for you?
'' Life is full of important choices ''
Help Sentora Donate now => http://sentora.org/donate Blush
Reply
Thanks given by: mhost
#3
RE: ZPanel unable to update to 10.1.1
Hi,

I've not tried to install Sentora yet because I was under the impression it needed to be on a clean server and could not be used to update ZPanel.

Am I incorrect? I don't want a clean install.

I have issues running bash commands as they do literally nothing when I enter the command. Is there something other than copying and pasting the command you have given I would need to do?

Thanks in advance.
Reply
Thanks given by:
#4
RE: ZPanel unable to update to 10.1.1
Hi,

Its one Update not a clean install, also you might want to read this thread for more information and sentora is simple to work on, relax Wink

Read this post:
http://forums.sentora.io/showthread.php?tid=90

Get update here:
Code:
bash <(curl -Ss https://raw.githubusercontent.com/sentora/sentora-installers/master/upgrade/CentOS-6_4/upgrade.sh)

I hope this helps you Wink
'' Life is full of important choices ''
Help Sentora Donate now => http://sentora.org/donate Blush
Reply
Thanks given by: mhost
#5
RE: ZPanel unable to update to 10.1.1
Hi,

Thanks for your quick replies!

I've had a read of the thread you've mentioned but it relates to updating from ZPanel 10.1.1 to Sentora 1. I can't get from ZPanel 10.1.0 to ZPanel 10.1.1 at the moment.

I've copied and pasted the code you kindly provided into the SSH terminal and it literally does nothing. Is there something I'm missing here?

Thanks again in advance
Reply
Thanks given by:
#6
RE: ZPanel unable to update to 10.1.1
Hi there,

Do you made your login properly? Do you have a timed session? Maybe provided by your host, check those settings, also are what is your ssh client?

Please note that Sentora was not released yet, that link is for a Beta version, Sentora will be available soon, but you can update your zpanel version.

According to zpanel you should be able to update using this link:
Code:
bash <(curl -Ss https://raw.github.com/zpanel/installers/master/upgrade/CentOS-6_4/10_1_1.sh)

Its on this page:
Code:
http://www.zpanelcp.com/download/

Let me know if this helps you. Smile
'' Life is full of important choices ''
Help Sentora Donate now => http://sentora.org/donate Blush
Reply
Thanks given by: mhost
#7
RE: ZPanel unable to update to 10.1.1
Try installing curl:
Code:
yum install -y curl
Then try again..


Or if that does not work try the old fashion way:
Code:
wget https://raw.github.com/zpanel/installers/master/upgrade/CentOS-6_4/10_1_1.sh
chmod +x 10_1_1.sh
./10_1_1.sh

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by: mhost
#8
RE: ZPanel unable to update to 10.1.1
Hi Both,

When I tried to install curl I got as I expected a message to say it was already installed.

I've followed the instructions re doing the update the old fashioned way and now following the reboot ZPanel is completely unaccessible.

Please help. Thanks in advance

I've just tried to do it again just in case there was a bug anywhere. It asks for the mySQL password which I've entered and it confirms the connection is ok then it says:

Code:
ZPanel will now update from  to , are you sure (y/n)? y
Downloading ZPanel, Please wait, this may take several minutes, the installer will continue after this is complete!
Initialized empty Git repository in /root/zpanelx/.git/
error:  while accessing https://github.com/zpanel/zpanelx.git/info/refs

fatal: HTTP request failed
./10_1_1.sh: line 124: cd: zpanelx/: No such file or directory
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot find a valid baseurl for repo: zpanel-base
Could not retrieve mirrorlist https://github.com/zpanel/installers/raw/master/install/CentOS/6/mirror/x86_64 error was
14: PYCURL ERROR 77 - "Problem with the SSL CA cert (path? access rights?)"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot find a valid baseurl for repo: zpanel-base
Could not retrieve mirrorlist https://github.com/zpanel/installers/raw/master/install/CentOS/6/mirror/x86_64 error was
14: PYCURL ERROR 77 - "Problem with the SSL CA cert (path? access rights?)"
cat: /etc/zpanel/panel/etc/build/config_packs/centos_6_3/zpanelx-update//sql/*.sql: No such file or directory
bash: /etc/zpanel/panel/etc/build/config_packs/centos_6_3/zpanelx-update//shell/*.sh: No such file or directory
sed: can't read /etc/php.ini: No such file or directory
Stopping httpd:                                            [FAILED]
Starting httpd: Syntax error on line 37 of /etc/zpanel/configs/apache/httpd-vhosts.conf:
Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FAILED]
Shutting down postfix:                                     [  OK  ]
Starting postfix:                                          [  OK  ]
Stopping Dovecot Imap:                                     [  OK  ]
Starting Dovecot Imap:                                     [  OK  ]
Stopping crond:                                            [  OK  ]
Starting crond:                                            [  OK  ]
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
Shutting down proftpd:                                     [  OK  ]
Starting proftpd:                                          [  OK  ]
Stopping atd:                                              [  OK  ]
Starting atd:                                              [  OK  ]
./10_1_1.sh: line 179: php: command not found

###################################################################
# Please read and note down any update errors and messages below: #
#
#
#                                                                 #
###################################################################

Restart your server now to complete the upgrade (y/n)?

Not sure if that helps to diagnose the problem?

Thanks again in advance

Hi,

I've had a look at line 37 of httpd-vhosts.conf as below.

Line 37 states:

Code:
php_admin_value open_basedir "/var/zpanel/hostdata/zadmin/public_html/MYDOMAINDIRECTORY:/var/zpanel/temp/"

Not sure if this is relevant but have included as starts with the same command, line 38 states:

Code:
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"

Thanks again
Reply
Thanks given by:
#9
RE: ZPanel unable to update to 10.1.1
Thats all strange, did you do the reboot?
The upgrade did not do much so after an reboot it must be the same as before.
Do you customized your zPanel before the update?
and line 37 of your httpd-vhosts.conf looks ok too me.

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by: mhost
#10
RE: ZPanel unable to update to 10.1.1
Hi,

I did the reboot each time I installed the update.

I've checked line 37 and it's the same both before and after the update which leads me to suspect something else might be at the root of the problem.

Didn't customise ZPanel at all, it's exactly as it was the last time I did an update.

NB: I've now restored the file to exactly the same file as before the update and it still won't allow me to start httpd.

I'm completely at a loss with this one.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Repo update error hostingms 3 5 ,421 02-14-2024, 09:20 AM
Last Post: TGates
Import zpanel settings problem pgh2011 0 2 ,276 12-30-2020, 07:08 PM
Last Post: pgh2011
Critical Error: [0100] - Unable to connect or authenticate to the Sentora database whatshisface77 1 3 ,869 07-31-2020, 10:58 AM
Last Post: whatshisface77

Forum Jump:


Users browsing this thread: 2 Guest(s)