|
Testing the Update Script
|
| Author |
Message |
RatS
The Project's Fire Worker
     
Posts: 603
Group: Super Moderators
Joined: Oct 2006
Status:
Offline
Reputation: 18
|
RE: Testing the Update Script
If it's Debian I cannot understand the problem. We tried it several times to instal on VHCS Debian systems and the error never occured... Maybe you try it on a clean system. Try ispcp-reset in setup-folder.
|
|
| 01-21-2008 06:27 PM |
|
 |
fulltilt
Member
  
Posts: 458
Group: Registered
Joined: Apr 2007
Status:
Offline
Reputation: 3
|
RE: Testing the Update Script
Hi RatS,
i try again with a clean system ...
did i need complete vhcs installation before upgrading or is it working also with vhcs database and /etc/vhcs2 folder only?
If it's Debian I cannot understand the problem. We tried it several times to instal on VHCS Debian systems and the error never occured... Maybe you try it on a clean system. Try ispcp-reset in setup-folder.
Regards
OS : Debian 4.0 Etch 32bit
ispCP Version:1.0.0 RC3 [20080203]
Activated : AWStats static
This post was last modified: 01-21-2008 06:35 PM by fulltilt.
|
|
| 01-21-2008 06:35 PM |
|
 |
RatS
The Project's Fire Worker
     
Posts: 603
Group: Super Moderators
Joined: Oct 2006
Status:
Offline
Reputation: 18
|
RE: Testing the Update Script
|
|
| 01-21-2008 08:49 PM |
|
 |
BeNe
Moderator
    
Posts: 2,557
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 35
|
|
| 01-21-2008 08:54 PM |
|
 |
RatS
The Project's Fire Worker
     
Posts: 603
Group: Super Moderators
Joined: Oct 2006
Status:
Offline
Reputation: 18
|
RE: Testing the Update Script
Bene, please use this instruction:
VHCS 2.4.7 -> ispCP RC3
comment this stuff out:
Somewhere around line 710 in ispcp-update
$rs = sys_command_rs("perl$main::cfg{'ROOT_DIR'}/engine/ispcp-rqst-mngr");
if ($rs != 0) {
print STDOUT "failed!\n";
exit_werror("Rebuild failed.");
}
and run the ispcp-rqst-mngr manualy
|
|
| 01-21-2008 09:08 PM |
|
 |
BeNe
Moderator
    
Posts: 2,557
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 35
|
RE: Testing the Update Script
So, i´ve done the change in the ispcp-update as Zothos said.
Rebuilding customers ...
done
But the rebuilding is NOT Ok.
The Domain has the status "change"
Still the same Error on running ispcp-dmn-mngr in the /var/log/ispcp/ispcp-dmn-mngr.stderr
Can't use string ("#!/bin/sh
umask 022
PHPRC="/va") as a SCALAR ref while "strict refs" in use at /var/www/ispcp/engine/ispcp-dmn-mngr line 2470.
Here the complete output if needed:
vhcs:/var/www/ispcp/engine/setup# ./ispcp-update
Welcome to ispCP '1.0.0 RC3 OMEGA' Update Dialog.
This program will update your VHCS / ispCP OMEGA system on your server.
Please make sure you have a backup of your server data.
NOTE: During the migration process some or all services might require to be
shut down or restarted.
Please select from which version you want to update:
(1) VHCS 2.4.7 or VHCS 2.4.7.1
(2) VHCS 2.4.8 RC1
(3) ispCP OMEGA 1.0.0 RC2 (incl. b and c)
(0) abort
Your selection: 1
Make sure you have installed ispCP OMEGA first as described in the INSTALL
document.
Continue?
(1) Yes
(0) No
Your selection: 1
Please enter path to vhcs2.conf [/etc/vhcs2/vhcs2.conf]:
Stopping vhcs2_daemon: Stopped /var/www/vhcs2/daemon/vhcs2_daemon (pid 2779).
vhcs2_daemon.
Stopping ispCP GUI-Backend communication Daemon: ispcp_daemon.
Stopping ispCP Network Traffic Logger: ispcp_network
* ispcp_network is already stopped
.
Dropping empty ispcp table...done
Creating new database...done
Copying database...done
Upgrading database structure...done
Now you can remove VHCS2. Do you want to remove VHCS2 auomaticly? (yes|no) [yes]: yes
Removing /var/www/vhcs2...done
Removing /etc/vhcs2...done
Removing /var/log/vhcs2...done
Removing /etc/postfix/vhcs2...done
Removing logrotation...done
Do you really want to remove crontab? All custom entries will be deleted. (yes|no) [no]: yes
Removing crontab...done
Removing apache vhost file...Site vhcs2.conf disabled; run /etc/init.d/apache2 reload to fully disable.
done
httpd (no pid file) not running
Removing vhcs2-mkdirs.pl Removing DaemonsStarting ispCP GUI-Backend communication Daemon: ispcp_daemon.
Starting ispCP Network Traffic Logger: ispcp_network.
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix.
Stopping domain name service...: bind.
Starting domain name service...: bind.
Stopping Courier POP3 server: pop3d.
Starting Courier POP3 server: pop3d.
Stopping Courier IMAP server: imapd.
Starting Courier IMAP server:0022
imapd.
Stopping ftp server: proftpd.
Starting ftp server: proftpd.
Stopping Courier authentication services: authdaemond.
Starting Courier authentication services: authdaemond.
Rebuilding customers ...
done
vhcs:/var/www/ispcp/engine/setup#
Greez BeNe

:: ispCP Omega RC5 Live Demo - r1267 (19.05.08) --> http://www.isp-control.net/forum/ispcp-o...ml#pid2169 <--
|
|
| 01-21-2008 10:32 PM |
|
 |
BeNe
Moderator
    
Posts: 2,557
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 35
|
|
| 01-24-2008 04:11 AM |
|
 |
RatS
The Project's Fire Worker
     
Posts: 603
Group: Super Moderators
Joined: Oct 2006
Status:
Offline
Reputation: 18
|
RE: Testing the Update Script
I cannot see where this problem comes from. Because you use the same rqst-mngr like every one else and it works for a newly installes ispCP why not for an upgrade?
|
|
| 01-24-2008 05:27 AM |
|
 |
BeNe
Moderator
    
Posts: 2,557
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 35
|
RE: Testing the Update Script
Looks like the problem starts at the fastcgi config for the Domains or ?
umask 022 and PHPRC is only set in the start-fastcgi:
Can't use string ("#!/bin/sh
umask 022
PHPRC="/va") as a SCALAR ref while "strict refs" in use at /var/www/ispcp/engine/ispcp-dmn-mngr line 2470.
And this part does only the ispcp-dmn-mngr that comes with ispcp?
Also in your UpdateScript ?
Greez BeNe

:: ispCP Omega RC5 Live Demo - r1267 (19.05.08) --> http://www.isp-control.net/forum/ispcp-o...ml#pid2169 <--
This post was last modified: 01-24-2008 05:36 PM by BeNe.
|
|
| 01-24-2008 05:49 AM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: Testing the Update Script
@BeNE:
Maybe you could remove one $ in the line with $$cfg. In the other store_file there is only one...:
line 2470:
($rs, $rdata) = store_file(
"$starter_dir/$dmn_name/php4-fcgi-starter",
$$cfg,
$sys_user,
$sys_group,
0750
);
Seems to be an error since http://www.isp-control.net/ispcp/changes...p-dmn-mngr
line 2456->2461
/J
2008-03-16 ispCP RC4 released!!!
This post was last modified: 01-24-2008 08:36 AM by joximu.
|
|
| 01-24-2008 08:18 AM |
|
 |
|
|