Ticket #958 (closed defect: fixed)

Opened 8 months ago

Last modified 7 months ago

Some Errors in Updatescript

Reported by: BeNe Assigned to:
Priority: major Milestone: ispCP ω 1.0.0 - RC3
Component: Backend (Engine) Version: ispCP ω 1.0.0 - DEV
Severity: Keywords:
Cc:

Description

I post the complete output because there are some Errors.

* Crontab
* Rebuilding customers

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]:
        Removing /var/www/vhcs2...done
        Removing /etc/vhcs2...done
        Removing /var/log/vhcs2...done
        Removing /etc/postfix/vhcs2...done
        Removing logrotation...done
        Removing crontab...crontab: usage error: no arguments permitted after this option
usage:  crontab [-u user] file
        crontab [-u user] { -e | -l | -r }
                (default operation is replace, per 1003.2)
        -e      (edit user's crontab)
        -l      (list user's crontab)
        -r      (delete user's 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 .../var/www/ispcp/engine/ispcp-rqst-mngr: line 34: use: command not found
/var/www/ispcp/engine/ispcp-rqst-mngr: line 35: use: command not found
/var/www/ispcp/engine/ispcp-rqst-mngr: line 36: require: command not found
/var/www/ispcp/engine/ispcp-rqst-mngr: line 38: use: command not found
/var/www/ispcp/engine/ispcp-rqst-mngr: line 40: use: command not found
/var/www/ispcp/engine/ispcp-rqst-mngr: line 42: sub: command not found
/var/www/ispcp/engine/ispcp-rqst-mngr: line 44: syntax error near unexpected token `$rs,'
/var/www/ispcp/engine/ispcp-rqst-mngr: line 44: `    my ($rs, $rdata) = (undef, undef);'
failed!

Rebuild failed.

Attachments

Change History

01/15/08 22:58:47 changed by rats

  • status changed from new to closed.
  • resolution set to fixed.

fixed, thanks for testing, please retry!

01/16/08 08:21:56 changed by BeNe

  • status changed from closed to reopened.
  • resolution deleted.

Time to bring it to the end.
Second Test looks much better now. Again the Complete output for you to check

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: 0

        Script was aborted by user
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]:
        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 ...
failed!

Rebuild failed.
vhcs:/var/www/ispcp/engine/setup#

The ispCP GUI is available now.
But the Domains are still with status "change" in the DB because of this Error 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.

01/16/08 10:31:28 changed by Zothos

same behavior on my testing vm. :) Go for it Rats ;)

01/17/08 08:22:26 changed by BeNe

Still the same Error in r972

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.

01/17/08 09:03:04 changed by Zothos

Had some different behaviors on my testing vm. But i think, these occour because of a error at install time. My update ran was completed. But there was no ispcp.conf in /etc/apache2/..

And i havent added a mail account this time.

Will try again when im at home.

01/17/08 11:03:24 changed by BeNe

I have a /etc/apache2/sites-enabled/ispcp.conf after upgrading and the webinterface itself is access able.

01/24/08 14:52:41 changed by rats

  • status changed from reopened to closed.
  • resolution set to fixed.

sould be fixed in r976.


Add/Change #958 (Some Errors in Updatescript)




Action