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.

Upgrade Kinda Work - Domain Issues Now
#1
Upgrade Kinda Work - Domain Issues Now
I just upgraded from Zpanel to Sentora and here is what happened.

After first trying the upgrade script on this site, I had to copy past the .sh, and rerun it again. Next you see what happened. Then I was having a db connection problem, so I manually renamed the databases from zpanel_core to sentora_core, I thought this might fix all, but then when I go to one of my sites, any of them. I get the Sentora install in stead of my sites. Can anyone help with ideas of how to fix this, also I put this for future reference for others for the parts I was able to get past.


Code:
[root@MYDOMAINNAMEWASHERE ~]# ./sentora_install.sh
./sentora_install.sh: line 5: syntax error near unexpected token `newline'
./sentora_install.sh: line 5: `<!DOCTYPE html>'

Here I had to go
https://github.com/sentora/sentora-insta...install.sh
then copy pasted into sentora_install.sh in my sever root directory. Then retried it with results below.

Code:
[root@MYDOMAINNAMEWASHERE ~]# ./sentora_install.sh

############################################################
#  Welcome to the Official Sentora Installer master  #
############################################################

Checking that minimal requirements are ok
Detected : CentOs  6  x86_64
Ok.
DB server will be mySQL

-- Installing wget and dns utils required to manage inputs
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                                                                                                                         |  12 kB     00:00
* epel: fedora-epel.mirror.lstn.net
base                                                                                                                                                                                                                  | 3.7 kB     00:00
extras                                                                                                                                                                                                                | 3.4 kB     00:00
updates                                                                                                                                                                                                               | 3.4 kB     00:00
No Packages marked for Update
Packages blahblahblah already installed and latest versions
Preparing to select timezone, please wait a few seconds...
Packages blahblahblah already installed and latest versions
Please identify a location so that time zone rules can be set correctly.
Please select a continent or ocean.
1) Africa
2) Americas
3) Antarctica
4) Arctic Ocean
5) Asia
6) Atlantic Ocean
7) Australia
8) Europe
9) Indian Ocean
10) Pacific Ocean
11) none - I want to specify the time zone using the Posix TZ format.
#? 10
Please select a country.
1) Chile                      15) Northern Mariana Islands
2) Cook Islands               16) Palau
3) Ecuador                    17) Papua New Guinea
4) Fiji                       18) Pitcairn
5) French Polynesia           19) Samoa (American)
6) Guam                       20) Samoa (western)
7) Kiribati                   21) Solomon Islands
8) Marshall Islands           22) Tokelau
9) Micronesia                 23) Tonga
10) Nauru                      24) Tuvalu
11) New Caledonia              25) United States
12) New Zealand                26) US minor outlying islands
13) Niue                       27) Vanuatu
14) Norfolk Island             28) Wallis & Futuna
#? 25
Please select one of the following time zone regions.
1) Eastern (most areas)              16) Central - ND (Morton rural)
2) Eastern - MI (most areas)         17) Central - ND (Mercer)
3) Eastern - KY (Louisville area)    18) Mountain (most areas)
4) Eastern - KY (Wayne)              19) Mountain - ID (south); OR (east)
5) Eastern - IN (most areas)         20) MST - Arizona (except Navajo)
6) Eastern - IN (Da, Du, K, Mn)      21) Pacific
7) Eastern - IN (Pulaski)            22) Alaska (most areas)
8) Eastern - IN (Crawford)           23) Alaska - Juneau area
9) Eastern - IN (Pike)               24) Alaska - Sitka area
10) Eastern - IN (Switzerland)        25) Alaska - Annette Island
11) Central (most areas)              26) Alaska - Yakutat
12) Central - IN (Perry)              27) Alaska (west)
13) Central - IN (Starke)             28) Aleutian Islands
14) Central - MI (Wisconsin border)   29) Hawaii
15) Central - ND (Oliver)
#? 11

The following information has been given:

       United States
       Central (most areas)

Therefore TZ='America/Chicago' will be used.
Local time is now:      Sun May 15 19:46:33 CDT 2016.
Universal Time is now:  Mon May 16 00:46:33 UTC 2016.
Is the above information OK?
1) Yes
2) No
#? Yes
Please enter 1 for Yes, or 2 for No.
#? 1

You can make this change permanent for yourself by appending the line
       TZ='America/Chicago'; export TZ
to the file '.profile' in your home directory; then log out and log in again.

Here is that TZ value again, this time on standard output so that you
can use the /usr/bin/tzselect command in shell scripts:
America/Chicago

=== Informations required to build your server ===
The installer requires 2 pieces of information:
1) the sub-domain that you want to use to access Sentora panel,
  - do not use your main domain (like domain.com)
  - use a sub-domain, e.g panel.domain.com
  - or use the server hostname, e.g server1.domain.com
  - DNS must already be configured and pointing to the server IP
      for this sub-domain
2) The public IP of the server.


Enter the sub-domain you want to access Sentora panel: seontori.MYDOMAINNAMEWASHERE.com

The public IP of the server is my_server_ip_address. Its local IP is my_server_ip_address
10.208.35.49
 For a production server, the PUBLIC IP must be used.
Enter (or confirm) the public IP for this server: my_server_ip_address

WARNING: seontori.MYDOMAINNAMEWASHERE.com is not defined in your DNS!
 You must add records in your DNS manager (and then wait until propagation is done).
 For more information, read the Sentora documentation:
  - http://docs.sentora.org/index.php?node=7 (Installing Sentora)
  - http://docs.sentora.org/index.php?node=51 (Installer questions)
 If this is a production installation, set the DNS up as soon as possible.

There are some warnings...
Are you really sure that you want to setup Sentora with these parameters?
(y):Accept and install, (n):Change domain or IP, (q):Quit installer? y
Installer version master
Sentora core version 1.0.1

Installing Sentora 1.0.1 at http://seontori.MYDOMAINNAMEWASHERE.com and ip my_server_ip_address
on server under: CentOs  6  x86_64
Linux MYDOMAINNAMEWASHERE.com 2.6.32-573.26.1.el6.x86_64 Forum Add-ons and Usage SMP Wed May 4 00:57:44 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

-- Updating repositories and packages sources
--2016-05-16 00:48:46--  http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Resolving dl.fedoraproject.org... 209.132.181.23, 209.132.181.24, 209.132.181.25, ...
Connecting to dl.fedoraproject.org|209.132.181.23|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14540 (14K) [application/x-rpm]
Saving to: “epel-release-6-8.noarch.rpm”

    0K .......... ....                                       100%  364K=0.04s

2016-05-16 00:48:46 (364 KB/s) - “epel-release-6-8.noarch.rpm” saved [14540/14540]

Error: Nothing to do
sendmail: unrecognized service
error reading information on service sendmail: No such file or directory
iptables: Nothing to save.                                 [WARNING]

-- Listing of all packages installed:
LIst of packages...

-- Updating+upgrading system, it may take some time...
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
* epel: fedora-epel.mirror.lstn.net
No Packages marked for Update
Loaded plugins: fastestmirror
Setting up Upgrade Process
Loading mirror speeds from cached hostfile
* epel: fedora-epel.mirror.lstn.net
No Packages marked for Update

-- Downloading and installing required tools...
Packages blahblahblah already installed and latest versions


-- Downloading Sentora, Please wait, this may take several minutes, the installer will continue after this is complete!
2016-05-16 00:49:15 URL:https://codeload.github.com/sentora/sentora-core/zip/1.0.1 [21798411] -> "sentora_core.zip" [1]
Upgrading ZPanelCP 10.1.0 to Sentora 1.0.1
2016-05-16 00:49:34 URL:https://codeload.github.com/sentora/sentora-installers/zip/master [100198] -> "sentora_preconfig.zip" [1]
cat: /etc/hostname: No such file or directory
sed: -e expression Forum Add-ons and Usage, char 0: no previous regular expression
Shutting down interface eth0:                              [  OK  ]
Shutting down interface eth1:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  Determining if ip address my_server_ip_address is already in use for device eth0...
                                                          [  OK  ]
Bringing up interface eth1:  Determining if ip address 10.208.35.49 is already in use for device eth1...
                                                          [  OK  ]

-- Installing MySQL
Packages blahblahblah already installed and latest versions
Starting mysqld:                                           [  OK  ]
ERROR 1060 (42S21) at line 68: Duplicate column name 'vh_soaserial_vc'
ERROR 1091 (42000) at line 166: Can't DROP 'pk_enablecgi_in'; check that column/key exists
ERROR 1049 (42000): Unknown database 'sentora_core'
mysqldump: Got errno 32 on write
ERROR 1049 (42000): Unknown database 'sentora_postfix'
mysqldump: Got errno 32 on write
ERROR 1049 (42000): Unknown database 'sentora_proftpd'
mysqldump: Got errno 32 on write
ERROR 1049 (42000): Unknown database 'sentora_roundcube'
mysqldump: Got errno 32 on write

-- Installing Postfix
Packages blahblahblah already installed and latest versions
mkdir: cannot create directory `/var/sentora/vmail': File exists
useradd: user 'vmail' already exists
useradd: user 'vacation' already exists

-- Installing Dovecot
Packages blahblahblah already installed and latest versions
Starting Dovecot Imap:

-- Installing and configuring Apache
Packages blahblahblah already installed and latest versions
ERROR 1146 (42S02) at line 1: Table 'sentora_core.x_settings' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'sentora_core.x_settings' doesn't exist

-- Installing and configuring PHP
Packages blahblahblah already installed and latest versions


# Building suhosin
2016-05-16 00:50:52 URL:https://codeload.github.com/stefanesser/suhosin/zip/0.9.37.1 [238480] -> "suhosin.zip" [1]
Installing shared extensions:     /usr/lib64/php/modules/
Starting httpd:

-- Installing ProFTPD
Packages blahblahblah already installed and latest versions
ERROR 1146 (42S02) at line 1: Table 'sentora_proftpd.ftpuser' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'sentora_proftpd.ftpuser' doesn't exist
Starting proftpd:                                          [  OK  ]

-- Installing and configuring Bind
Packages blahblahblah already installed and latest versions
ERROR 1146 (42S02) at line 1: Table 'sentora_core.x_settings' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'sentora_core.x_settings' doesn't exist
wrote key file "/etc/rndc.key"
Starting named: named: already running                     [  OK  ]

-- Installing and configuring cron tasks
Packages blahblahblah already installed and latest versions
ERROR 1146 (42S02) at line 1: Table 'sentora_core.x_settings' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'sentora_core.x_settings' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'sentora_core.x_settings' doesn't exist

-- Configuring phpMyAdmin

-- Configuring Roundcube

-- Configuring Webalizer
Packages blahblahblah already installed and latest versions

-- Configuring Sentora
<style type="text/css"><!--
           .dbwarning {
                   font-family: Verdana, Geneva, sans-serif;
                   font-size: 14px;
                   color: #C00;
                   background-color: #FCC;
                   padding: 30px;
                   border: 1px solid #C00;
           }
           p {
                   font-size: 12px;
                   color: Custom Vhost entries problem - Not working;
           }
           </style>
           <div class="dbwarning"><strong>Critical Error:</strong> [0100] - Unable to connect or authenticate to the Sentora database (<em>sentora_core</em>).<p>We advice that you contact the server administrator to ensure that the database server is online and that the correct connection parameters are being used.</p></div><style type="text/css"><!--
           .dbwarning {
                   font-family: Verdana, Geneva, sans-serif;
                   font-size: 14px;
                   color: #C00;
                   background-color: #FCC;
                   padding: 30px;
                   border: 1px solid #C00;
           }
           p {
                   font-size: 12px;
                   color: Custom Vhost entries problem - Not working;
           }
           </style>
           <div class="dbwarning"><strong>Critical Error:</strong> [0100] - Unable to connect or authenticate to the Sentora database (<em>sentora_core</em>).<p>We advice that you contact the server administrator to ensure that the database server is online and that the correct connection parameters are being used.</p></div><style type="text/css"><!--
           .dbwarning {
                   font-family: Verdana, Geneva, sans-serif;
                   font-size: 14px;
                   color: #C00;
                   background-color: #FCC;
                   padding: 30px;
                   border: 1px solid #C00;
           }
           p {
                   font-size: 12px;
                   color: Custom Vhost entries problem - Not working;
           }
           </style>
           <div class="dbwarning"><strong>Critical Error:</strong> [0100] - Unable to connect or authenticate to the Sentora database (<em>sentora_core</em>).<p>We advice that you contact the server administrator to ensure that the database server is online and that the correct connection parameters are being used.</p></div><style type="text/css"><!--
           .dbwarning {
                   font-family: Verdana, Geneva, sans-serif;
                   font-size: 14px;
                   color: #C00;
                   background-color: #FCC;
                   padding: 30px;
                   border: 1px solid #C00;
           }
           p {
                   font-size: 12px;
                   color: Custom Vhost entries problem - Not working;
           }
           </style>
           <div class="dbwarning"><strong>Critical Error:</strong> [0100] - Unable to connect or authenticate to the Sentora database (<em>sentora_core</em>).<p>We advice that you contact the server administrator to ensure that the database server is online and that the correct connection parameters are being used.</p></div><style type="text/css"><!--
           .dbwarning {
                   font-family: Verdana, Geneva, sans-serif;
                   font-size: 14px;
                   color: #C00;
                   background-color: #FCC;
                   padding: 30px;
                   border: 1px solid #C00;
           }
           p {
                   font-size: 12px;
                   color: Custom Vhost entries problem - Not working;
           }
           </style>
           <div class="dbwarning"><strong>Critical Error:</strong> [0100] - Unable to connect or authenticate to the Sentora database (<em>sentora_core</em>).<p>We advice that you contact the server administrator to ensure that the database server is online and that the correct connection parameters are being used.</p></div>
-- Installing Logrotate
Packages blahblahblah already installed and latest versions
ln: creating symbolic link `/etc/logrotate.d/Sentora-apache': File exists
ln: creating symbolic link `/etc/logrotate.d/Sentora-postifx': File exists
ln: creating symbolic link `/etc/logrotate.d/Sentora-dovecot': File exists
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Shutting down postfix:                                     [  OK  ]
Starting postfix:                                          [  OK  ]
Stopping Dovecot Imap:                                     [  OK  ]
Starting Dovecot Imap:                                     [  OK  ]
Stopping crond:                                            [  OK  ]
Starting crond:                                            [  OK  ]
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
Shutting down proftpd:                                     [  OK  ]
Starting proftpd:                                          [  OK  ]
Stopping atd:                                              [  OK  ]
Starting atd:                                              [  OK  ]
########################################################
Congratulations Sentora has now been installed on your
server. Please review the log file left in /root/ for
any errors encountered during installation.

Login to Sentora at http://seontori.MYDOMAINNAMEWASHERE.com
Sentora Username  : zadmin
Sentora Password  : xxxxxxxxxxxxxxxx

MySQL Root Password      : xxxxxxxxxxxxxxxx
MySQL Postfix Password   : xxxxxxxxxxxxxxxx
MySQL ProFTPd Password   : xxxxxxxxxxxxxxxx
MySQL Roundcube Password : xxxxxxxxxxxxxxxx
  (theses passwords are saved in /root/passwords.txt)
########################################################

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

Broadcast message from root@seontori.MYDOMAINNAMEWASHERE.com
       (/dev/pts/4) at 0:52 ...

The system is going down for reboot NOW!
[root@MYDOMAINNAMEWASHERE ~]#
Using username "root".
root@my_server_ip_address's password:
Send automatic password
Last login: Sun May 15 23:41:15 2016 from 155.94.187.212
[root@seontori ~]#  /etc/init.d/mysqld restart
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
[root@seontori ~]# ls -l
total 964
-rw-r--r--.  1 root root  77432 Dec 26  2013 1182.log
-rw-r--r--.  1 root root  25478 May 16 00:52 2016-05-16_00.48.44_sentora_install.log
-rw-r--r--.  1 root root 768112 Mar 13  2014 21284.log
drwxr-xr-x.  2 root root   4096 May 15 10:41 bin
-rw-r--r--.  1 root root      0 May  6 06:19 Finished
-rw-r--r--.  1 root root      0 May  6 06:19 P
-rw-r--r--.  1 root root      0 May  6 06:19 Pa
-rw-r--r--.  1 root root      0 May  6 06:19 Pac
-rw-r--r--.  1 root root      0 May  6 06:19 Pack
-rw-r--r--.  1 root root      0 May  6 06:19 Packag
-rw-r--r--.  1 root root      0 May  7 08:19 Package
-rw-r--r--.  1 root root   1720 May 16 00:51 passwords.txt
-rw-r--r--.  1 root root      0 May  6 06:19 Proc
-rw-r--r--.  1 root root      0 May  6 06:19 Processing
-rw-r--r--.  1 root root      0 May  6 06:19 Run
-rw-r--r--.  1 root root      0 May  6 06:19 Running
-rwxr-xr-x.  1 root root  54767 May 16 00:43 sentora_install.sh
drwxrwxrwx. 14 root root   4096 Dec 26  2013 zpanel_configs_backup
-rw-r--r--.  1 root root   5834 Feb  7 15:02 zp.js
[root@seontori ~]# /etc/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
[root@seontori ~]#
Reply
Thanks given by:
#2
RE: Upgrade Kinda Work - Domain Issues Now
Upgrade? How, we didn't release an official upgrade script yet?

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by: ppcseopro
#3
RE: Upgrade Kinda Work - Domain Issues Now
Oopos, I was searching for a script , but I must of landed on another site zvps.uk/sentora/upgrade, saw the logo and assumed on I was on this site as most of the serp's were all this site. 

[Image: attachment.php?aid=446]


Attached Files Thumbnail(s)
   
Reply
Thanks given by:
#4
RE: Upgrade Kinda Work - Domain Issues Now
That's kandrews website, he may know more...

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: ppcseopro
#5
RE: Upgrade Kinda Work - Domain Issues Now
Thanks. Hey, I am down still. I've been attacked that is why I am having to update everything. Hoping to make things as secure as possible. I'm open to paying someone for help to set me up with a super tight updated Sentora webserver, and migrating my old files from old VDS/Centos to a new VDS/Centos hosted by Rackspace in Dallas, Texas, US. If anyone is interested, go ahead and PM me an offer. Things are a bit tight for me, but if the price is right I do need some help so I can concentrate on what I do best and this down time + the time I'm spending trying to fix this is killing my traffic.
Reply
Thanks given by:
#6
RE: Upgrade Kinda Work - Domain Issues Now
Much obliged. Hello, I am down still. I've been assaulted that is the reason I am refreshing everything. Planning to make things as secure as could be expected under the circumstances. I'm available to paying somebody for help to set me up with an overly tight refreshed Sentora webserver, and relocating my old records from old VDS/Centos to another VDS/Centos facilitated by Rackspace in Dallas, Texas, US. On the off chance that anybody is intrigued, proceed and PM me an offer. Things are somewhat tight for me, yet in the event that the cost is correct I do require some assistance so I can focus on what I specialize in and this personal time + the time I'm spending attempting to fix this is killing my traffic.
Reply
Thanks given by:
#7
RE: Upgrade Kinda Work - Domain Issues Now
(04-17-2020, 12:51 AM)emmarudd222@gmail.com Wrote: Much obliged. Hello, I am down still. I've been assaulted that is the reason I am refreshing everything. Planning to make things as secure as could be expected under the circumstances. I'm available to paying somebody for help to set me up with an overly tight refreshed Sentora webserver, and relocating my old records from old VDS/Centos to another VDS/Centos facilitated by Rackspace in Dallas, Texas, US. On the off chance that anybody is intrigued, proceed and PM me an offer. Things are somewhat tight for me, yet in the event that the cost is correct I do require some assistance so I can focus on what I specialize in and this personal time + the time I'm spending attempting to fix this is killing my traffic.

I am here to help if you are still having problems. ONLY Helping serious users in distress. Zpanel to Sentora can be a problem. There are only a few BETA scripts available with few member testing to help. I know the feeling. I will PM YOU.

Best wishes. Hope i can help.
-Jettaman-

NEW: Sentora v.2.0.1 has been released!!!

Sentora's quick recovery depends on community support and donations. We need to stand as one and help Sentora into the future.

Donate HERE and do your part. We thank you for your support.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
PLEASE HOW DO I UPGRADE FROM 5.1 TO 7.4 franselect 4 16 ,915 04-22-2021, 04:47 PM
Last Post: PromptAttestation
How to upgrade php and mysql version? davidlambda 4 30 ,463 03-11-2020, 06:16 PM
Last Post: davidlambda
Official Upgrade php version? visionix 7 32 ,472 01-13-2020, 07:17 AM
Last Post: Vedran B

Forum Jump:


Users browsing this thread: 2 Guest(s)