Current time: 05-19-2024, 01:21 AM Hello There, Guest! (LoginRegister)


Post Reply 
Testing the Update Script
Author Message
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #11
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
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #12
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?

RatS Wrote: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.
(This post was last modified: 01-21-2008 06:35 PM by fulltilt.)
01-21-2008 06:35 PM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #13
RE: Testing the Update Script
would be working.
01-21-2008 08:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #14
RE: Testing the Update Script
I would also testing the Updatescript, but i can´t see any change in the Trunk so the Version and Error is for sure the same --> http://www.isp-control.net/ispcp/ticket/958#comment:4

Code:
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.

Greez BeNe
01-21-2008 08:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #15
RE: Testing the Update Script
Bene, please use this instruction:

Zothos Wrote:VHCS 2.4.7 -> ispCP RC3

comment this stuff out:
Somewhere around line 710 in ispcp-update
Code:
$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
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #16
RE: Testing the Update Script
So, i´ve done the change in the ispcp-update as Zothos said.
Code:
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
Code:
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:
Code:
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
01-21-2008 10:32 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #17
RE: Testing the Update Script
Any news about it ?

Greez BeNe
01-24-2008 04:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #19
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:
Code:
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
(This post was last modified: 01-24-2008 05:36 PM by BeNe.)
01-24-2008 05:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #20
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
(This post was last modified: 01-24-2008 08:36 AM by joximu.)
01-24-2008 08:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)