Posts: 188
Threads: 7
Joined: Jul 2014
Reputation:
4
Sex: Male
Thanks: 2
Given 53 thank(s) in 30 post(s)
RE: Upgrading ZPanel 10.1.* to Sentora - Alpha/Beta
09-24-2015, 05:15 AM
Glad emails and clients / websites are working without issues let me know if anything isn't working ....
Posts: 23
Threads: 3
Joined: Jan 2015
Reputation:
0
Sex: Male
Thanks: 2
Given 4 thank(s) in 4 post(s)
RE: Upgrading ZPanel 10.1.* to Sentora - Alpha/Beta
09-24-2015, 05:36 AM
Hi, All
As im using My zpanel on live and in virtual server i can do bakup and restore it on another VPS, if you guys need to test !
Gonna give it atry once i reinstall the Dedicated !
Posts: 165
Threads: 13
Joined: Oct 2014
Reputation:
2
Sex: Male
Thanks: 17
Given 29 thank(s) in 22 post(s)
RE: Upgrading ZPanel 10.1.* to Sentora - Alpha/Beta
09-24-2015, 02:44 PM
(09-24-2015, 05:36 AM)Ilia Wrote: Hi, All
As im using My zpanel on live and in virtual server i can do bakup and restore it on another VPS, if you guys need to test !
Gonna give it atry once i reinstall the Dedicated !
That would be great! Wait for kandrews to commit the SQL update fix then we can both give it a try again.
My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for
Posts: 165
Threads: 13
Joined: Oct 2014
Reputation:
2
Sex: Male
Thanks: 17
Given 29 thank(s) in 22 post(s)
RE: Upgrading ZPanel 10.1.* to Sentora - Alpha/Beta
09-24-2015, 07:42 PM
I noticed that the protected directory's module is not part of the upgrade?
My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for
Posts: 188
Threads: 7
Joined: Jul 2014
Reputation:
4
Sex: Male
Thanks: 2
Given 53 thank(s) in 30 post(s)
RE: Upgrading ZPanel 10.1.* to Sentora - Alpha/Beta
09-24-2015, 08:31 PM
Think i added that to the sql files.. can you double check me?
Posts: 188
Threads: 7
Joined: Jul 2014
Reputation:
4
Sex: Male
Thanks: 2
Given 53 thank(s) in 30 post(s)
RE: Upgrading ZPanel 10.1.* to Sentora - Alpha/Beta
09-24-2015, 08:32 PM
If you need to fix after the conversion over to sentora_ prefixed databases run the following:
Code: CREATE TABLE `sentora_core`.`x_htpasswd_file` (
`x_htpasswd_file_id` int(11) NOT NULL AUTO_INCREMENT,
`x_htpasswd_file_target` varchar(255) NOT NULL,
`x_htpasswd_file_message` varchar(255) NOT NULL,
`x_htpasswd_file_created` int(11) NOT NULL,
`x_htpasswd_file_deleted` int(11) DEFAULT NULL,
`x_htpasswd_sentora_user_id` int(11) NOT NULL,
PRIMARY KEY (`x_htpasswd_file_id`),
UNIQUE KEY `x_htpasswd_file_target` (`x_htpasswd_file_target`),
KEY `x_htpasswd_file_x_htpasswd_sentora_user_id_idx` (`x_htpasswd_sentora_user_id`)
) DEFAULT CHARSET=utf8;
CREATE TABLE `sentora_core`.`x_htpasswd_mapper` (
`x_htpasswd_mapper_id` int(11) NOT NULL AUTO_INCREMENT,
`x_htpasswd_file_id` int(11) NOT NULL,
`x_htpasswd_user_id` int(11) NOT NULL,
PRIMARY KEY (`x_htpasswd_mapper_id`),
KEY `x_htpasswd_mapper_x_htpasswd_file_id_idx` (`x_htpasswd_file_id`),
KEY `x_htpasswd_mapper_x_htpasswd_user_id_idx` (`x_htpasswd_user_id`)
) DEFAULT CHARSET=utf8;
CREATE TABLE `sentora_core`.`x_htpasswd_user` (
`x_htpasswd_user_id` int(11) NOT NULL AUTO_INCREMENT,
`x_htpasswd_user_username` varchar(255) NOT NULL,
`x_htpasswd_user_password` varchar(255) NOT NULL,
`x_htpasswd_user_created` int(11) NOT NULL,
`x_htpasswd_user_deleted` int(11) DEFAULT NULL,
`x_htpasswd_sentora_user_id` int(11) NOT NULL,
PRIMARY KEY (`x_htpasswd_user_id`),
UNIQUE KEY `x_htpasswd_user_username` (`x_htpasswd_user_username`),
UNIQUE KEY `x_htpasswd_user_password` (`x_htpasswd_user_password`)
) DEFAULT CHARSET=utf8;
Posts: 165
Threads: 13
Joined: Oct 2014
Reputation:
2
Sex: Male
Thanks: 17
Given 29 thank(s) in 22 post(s)
RE: Upgrading ZPanel 10.1.* to Sentora - Alpha/Beta
09-25-2015, 03:35 AM
(09-24-2015, 08:32 PM)kandrews Wrote: If you need to fix after the conversion over to sentora_ prefixed databases run the following:
Code: CREATE TABLE `sentora_core`.`x_htpasswd_file` (
`x_htpasswd_file_id` int(11) NOT NULL AUTO_INCREMENT,
`x_htpasswd_file_target` varchar(255) NOT NULL,
`x_htpasswd_file_message` varchar(255) NOT NULL,
`x_htpasswd_file_created` int(11) NOT NULL,
`x_htpasswd_file_deleted` int(11) DEFAULT NULL,
`x_htpasswd_sentora_user_id` int(11) NOT NULL,
PRIMARY KEY (`x_htpasswd_file_id`),
UNIQUE KEY `x_htpasswd_file_target` (`x_htpasswd_file_target`),
KEY `x_htpasswd_file_x_htpasswd_sentora_user_id_idx` (`x_htpasswd_sentora_user_id`)
) DEFAULT CHARSET=utf8;
CREATE TABLE `sentora_core`.`x_htpasswd_mapper` (
`x_htpasswd_mapper_id` int(11) NOT NULL AUTO_INCREMENT,
`x_htpasswd_file_id` int(11) NOT NULL,
`x_htpasswd_user_id` int(11) NOT NULL,
PRIMARY KEY (`x_htpasswd_mapper_id`),
KEY `x_htpasswd_mapper_x_htpasswd_file_id_idx` (`x_htpasswd_file_id`),
KEY `x_htpasswd_mapper_x_htpasswd_user_id_idx` (`x_htpasswd_user_id`)
) DEFAULT CHARSET=utf8;
CREATE TABLE `sentora_core`.`x_htpasswd_user` (
`x_htpasswd_user_id` int(11) NOT NULL AUTO_INCREMENT,
`x_htpasswd_user_username` varchar(255) NOT NULL,
`x_htpasswd_user_password` varchar(255) NOT NULL,
`x_htpasswd_user_created` int(11) NOT NULL,
`x_htpasswd_user_deleted` int(11) DEFAULT NULL,
`x_htpasswd_sentora_user_id` int(11) NOT NULL,
PRIMARY KEY (`x_htpasswd_user_id`),
UNIQUE KEY `x_htpasswd_user_username` (`x_htpasswd_user_username`),
UNIQUE KEY `x_htpasswd_user_password` (`x_htpasswd_user_password`)
) DEFAULT CHARSET=utf8;
This code is in the update-structure.sql file. Strange it did not appeared.
Gone give it another go.
My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for
Posts: 23
Threads: 3
Joined: Jan 2015
Reputation:
0
Sex: Male
Thanks: 2
Given 4 thank(s) in 4 post(s)
RE: Upgrading ZPanel 10.1.* to Sentora - Alpha/Beta
10-01-2015, 07:43 AM
(This post was last modified: 10-01-2015, 08:00 AM by Ilia.
Edit Reason: a
)
Everything went Good after upgrade !
4 problem found :
1st one change theme name in database after upgrading from /etc/sentora/panel/etc/styles/zpanelx
to
/etc/sentora/panel/etc/styles/Sentora_Default
2nd one : the vhosts probleme :
PHP Code: <Directory "/etc/zpanel/panel/"> DocumentRoot "/etc/zpanel/panel/"
NameVirtualHost *: NameVirtualHost *:80 Listen Listen 80
# Configuration for Sentora control panel. <VirtualHost *:> ServerAdmin webmaster@...... DocumentRoot "" ServerName ErrorLog "/var/zpanel/logs/sentora-error.log" CustomLog "/var/zpanel/logs/sentora-access.log" combined CustomLog "/var/zpanel/logs/sentora-bandwidth.log" common AddType application/x-httpd-php .php <Directory ""> Options +FollowSymLinks -Indexes AllowOverride All Order allow,deny Allow from all </Directory>
# Custom settings are loaded below this line (if any exist)
</VirtualHost>
....and my other domaine .....
tried twice and the same errors .
3rd problem, the version shown in sentora is the same version of Zpanel means 10.1.1 Knowing that we are on 1.0.3.
4rth problem : when i launch run daemon the link doesn't exist, when i searched on /panel/modules/ i found a subforlder called modules ,/panel/modules/modules/ wich contain all zpanel modules .
and there is no rundaemon.php under modules/sentoraconfig/code/rundaemon.php
but exists under : modules/modules/zpanelconfig/code/rundaemon.php
That's all
Posts: 188
Threads: 7
Joined: Jul 2014
Reputation:
4
Sex: Male
Thanks: 2
Given 53 thank(s) in 30 post(s)
RE: Upgrading ZPanel 10.1.* to Sentora - Alpha/Beta
10-01-2015, 07:19 PM
Theme name should have been changed - must be related to failing SQL statements, will be fixed shortly.
Code: NameVirtualHost *:
NameVirtualHost *:80
Listen
Listen 80
That doesn't look right... i'll try and replicate... This file should have been overwritten and regenerated...
In sentora i'm not sure if you can run the daemon from the web front anymore.. have a look round the forums about this.
Thanks for reporting the issues i'll get them fixed
Posts: 165
Threads: 13
Joined: Oct 2014
Reputation:
2
Sex: Male
Thanks: 17
Given 29 thank(s) in 22 post(s)
RE: Upgrading ZPanel 10.1.* to Sentora - Alpha/Beta
10-01-2015, 11:33 PM
(10-01-2015, 07:43 AM)Ilia Wrote: Everything went Good after upgrade !
4 problem found :
1st one change theme name in database after upgrading from /etc/sentora/panel/etc/styles/zpanelx
to
/etc/sentora/panel/etc/styles/Sentora_Default
2nd one : the vhosts probleme :
PHP Code: <Directory "/etc/zpanel/panel/"> DocumentRoot "/etc/zpanel/panel/"
NameVirtualHost *: NameVirtualHost *:80 Listen Listen 80
# Configuration for Sentora control panel. <VirtualHost *:> ServerAdmin webmaster@...... DocumentRoot "" ServerName ErrorLog "/var/zpanel/logs/sentora-error.log" CustomLog "/var/zpanel/logs/sentora-access.log" combined CustomLog "/var/zpanel/logs/sentora-bandwidth.log" common AddType application/x-httpd-php .php <Directory ""> Options +FollowSymLinks -Indexes AllowOverride All Order allow,deny Allow from all </Directory>
# Custom settings are loaded below this line (if any exist)
</VirtualHost>
....and my other domaine .....
tried twice and the same errors .
3rd problem, the version shown in sentora is the same version of Zpanel means 10.1.1 Knowing that we are on 1.0.3.
4rth problem : when i launch run daemon the link doesn't exist, when i searched on /panel/modules/ i found a subforlder called modules ,/panel/modules/modules/ wich contain all zpanel modules .
and there is no rundaemon.php under modules/sentoraconfig/code/rundaemon.php
but exists under : modules/modules/zpanelconfig/code/rundaemon.php
That's all
Strange... did not run in to these problem with my updates.
My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for
|