ispCP - Board - Support
Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files (/thread-14146.html)

Pages: 1 2


Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files - avispa987 - 06-10-2011 12:59 PM

Hi there..
OS: Debian Squeeze
no mods!


Code:
Starting ispCP update
         * Stopping services: ..........                                             [ Done ]

        ispCP main configuration file

        Pre-installation tasks for Debian
         * Nothing to do...                                                          [ Done ]
         * Loading old ispCP configuration file:                                     [ Done ]
         * Update ispCP configuration file:                                          [ Done ]
         * Check ispCP configuration file:                                           [ Done ]
         * Update ispCP key configuration file:                                      [ Done ]

        ispCP database
         * Update ispCP database schema:                                             [ Done ]

        Rebuilding all services configuration files
         * ispCP system resolver:                                                    [ Done ]
         * ispCP crontab file:                                                       [ Done ]
         * ispCP Bind9 main configuration file:                                      [ Done ]
         * ispCP Apache fastCGI modules configuration:                               [ Done ]
         * ispCP Apache main vhost file:                                             [ Done ]
         * ispCP Apache AWStats vhost file:                                          [ Done ]
         * ispCP Postfix configuration files:                                        [ Done ]
         * ispCP Courier-Authentication:                                             [ Done ]
         * ispCP ProFTPd configuration file:                                         [ Done ]
         * ispCP init scripts:                                                       [ Done ]

        Rebuilding all GUI configuration files
         * ispCP GUI Bind9 configuration:                                            [ Done ]
         * ispCP GUI fastCGI/PHP configuration:                                      [ Done ]
         * ispCP GUI vhost file:                                                     [ Done ]
         * ispCP PMA configuration file:                                             [ Done ]

       [b] Rebuilding all customers configuration files
         * Please wait, this may take some time:                                   [ Failed ][/b]


LOGS
ispcp-update.log

ispcp-setup.log

i hope someone can help me with this T_T...


RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files - kilburn - 06-10-2011 04:13 PM

Quick fix: install rkhunter (apt-get install rkhunter).

Developers reference: the problem is caused by the function "setup_rkhunter" in the file "engine/setup/ispcp-setup-methods.pl" line 3381, where the third block tries to run even when there is no rkhunter installed.


RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files - avispa987 - 06-10-2011 08:18 PM

i allready have rkhunter installed... i've made apt-get install rkhunter and nothing happens, it says:
rkhunter is on the most recent version.


RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files - RatS - 06-11-2011 07:15 AM

You are right, in the third block the if-block is totally stupid: it will be executed no matter if rkhunter is installed or not. I will try to fix this.


RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files - avispa987 - 06-11-2011 10:40 AM

i should wait for a fix?? or reinstall again the server T_T


RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files - RatS - 06-11-2011 05:23 PM

fix in r3852, please try it.


RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files - sawettachat - 06-11-2011 09:19 PM

The problem is bug in sub rebuild_customers_cfg in /var/www/ispcp/engine/setup/ispcp-update .
Variable $table for update status, error when table is no data.


RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files - avispa987 - 06-11-2011 11:53 PM

i just reinstalled the vps.. i will install now ispcp and move all the clients..

thanks all for the answers..


RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files - RatS - 06-12-2011 02:53 AM

(06-11-2011 09:19 PM)sawettachat Wrote:  The problem is bug in sub rebuild_customers_cfg in /var/www/ispcp/engine/setup/ispcp-update .
Variable $table for update status, error when table is no data.
$table cannot be empty.

But maybe I don't understand what you mean. Can you please give an example?


RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files - sawettachat - 06-12-2011 03:32 PM

OK I'm mistake.
When I re-run after 10 minute everything is done.