Hello everybody
I've experienced the same problems on Debian Lenny.
Can't locate File/MimeInfo/Magic.pm in @INC at ispcp-update line 53. -> apt-get install libfile-mimeinfo-perl ->
SOLVED
Then received: Update ispCP database schema: [failed]
Could you tell me how to enable debug mode? ->
found it
I tried to update a productive machine - reinstalling shouldn't be an option.
*Update*
I looked into the perl script and found whats probably the reason for the script to fail, /tmp/ispcp-update-database.log:
Code:
X-Powered-By: PHP/4.4.9^M
Content-type: text/html^M
^M
<br />
<b>Parse error</b>: syntax error, unexpected T_OBJECT_OPERATOR in <b>/var/www/ispcp/engine/setup/updDB.php</b> on line <b>39</b><br />
I'm running one website on php4 and somehow $main::cfg{'CMD_PHP'} contains the path to the php4 executables.
After I fixed CMD_PHP in /etc/ispcp/ispcp.conf the database schema update worked, however now the script fails at "ispCP PHP (fastCGI modules configuration): [failed]".
Debug Output:
Code:
ispCP PHP (fastCGI modules configuration):DEBUG: push_el() sub_name: setup_php(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: ERROR: File '/etc/ispcp/apache/fastcgi_ispcp.conf' does not exist !
DEBUG: push_el() sub_name: exit_msg(), msg: Starting...
[failed]
/tmp/ispcp-update-services.log:
Code:
Stopping Courier IMAP-SSL server: imapd-ssl.
I'm updating from 1.0.2 to 1.0.3.
Kind regards
warcry