That does not work:
Code:
Starting ispCP update
* Stopping services: .......... [ Done ]
ispCP main configuration file
* Loading old ispCP configuration file:
Please enter path to your ispcp.old.conf [/etc/ispcp/ispcp.old.conf]:
When I copy the new one as .old too and enter I get:
Code:
[ Done ]
* Update ispCP configuration file: [ Done ]
* Check ispCP configuration file: [ Done ]
Pre-installation tasks for Debian
* Postgrey configuration (Updating listening port): [ Done ]
ispCP database
* Update ispCP database schema: [ Failed ]
[FATAL] An error occurred during update process!
Correct it and re-run this program.
Log files are stored in /var/log/ispcp/setup
You can also find help at http://isp-control.net/forum
I do seem to have a different error now:
Code:
get_conf() | Starting...
get_file() | Starting...
get_file() | Ending...
setup_main_vars() | Starting...
decrypt_db_password() | Starting...
decrypt_db_password() | Ending...
setup_main_vars() | Ending...
get_conf() | Ending...
makepath() | Starting...
makepath() | [NOTICE] '/var/log/ispcp/setup' exists ! Setting its permissions...
setfmode() | Starting...
setfmode() | Ending...
makepath() | Ending...
update_startup() | Starting...
del_file() | Starting...
del_file() | [ERROR] File '/tmp/ispcp-setup.log' does not exist !
lock_system() | Starting...
lock_system() | Ending...
update_startup() | Ending...
update_engine() | Starting...
user_dialog() | Starting...
welcome_note() | Starting...
welcome_note() | Ending...
warn_msg() | Starting...
warn_msg() | Ending...
user_dialog() | Ending...
stop_services() | Starting...
sys_command() | Starting...
system() | [DEBUG] Stopping ispCP Network Traffic Logger: ispcp_network.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/ispcp_network stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping ispCP GUI-Backend communication Daemon: ispcp_daemon.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/ispcp_daemon stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping domain name service...: bind9 waiting for pid 2122 to die.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/bind9 stop') | Ending...
sys_command() | Starting...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/usr/sbin/apache2ctl stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping ftp server: proftpd.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/proftpd stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping policyd-weight (incl. cache): policyd-weight.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/policyd-weight stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping Postfix Mail Transport Agent: postfix.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/postfix stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping Courier authentication services: authdaemond.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/courier-authdaemon stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping Courier POP3 server: pop3d.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/courier-pop stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping Courier IMAP server: imapd.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/courier-imap stop') | Ending...
stop_services() | Ending...
load_old_ispcp_config() | Starting...
get_conf() | Starting...
get_file() | Starting...
get_file() | [ERROR] File '/etc/ispcp/ispcp.old.conf' does not exist !
get_conf() | Starting...
get_file() | Starting...
get_file() | [ERROR] Undefined input data, fname: || !
get_conf() | Starting...
get_file() | Starting...
get_file() | [ERROR] File ' Starting ispCP update' does not exist !
get_conf() | Starting...
get_file() | Starting...
get_file() | [ERROR] File ' * Stopping services: .......... [ Done ]' does not exist !
get_conf() | Starting...
get_file() | Starting...
get_file() | [ERROR] Undefined input data, fname: || !
get_conf() | Starting...
get_file() | Starting...
get_file() | [ERROR] File ' ispCP main configuration file' does not exist !
get_conf() | Starting...
get_file() | Starting...
get_file() | [ERROR] File ' * Loading old ispCP configuration file:' does not exist !
get_conf() | Starting...
get_file() | Starting...
get_file() | [ERROR] Undefined input data, fname: || !
get_conf() | Starting...
get_file() | Starting...
get_file() | [ERROR] File ' Please enter path to your ispcp.old.conf [/etc/ispcp/ispcp.old.conf]:' does not exist !
get_conf() | Starting...
get_file() | Starting...
get_file() | [ERROR] Undefined input data, fname: || !
get_conf() | Starting...
get_file() | Starting...
get_file() | Ending...
setup_main_vars() | Starting...
decrypt_db_password() | Starting...
decrypt_db_password() | Ending...
setup_main_vars() | Ending...
get_conf() | Ending...
load_old_ispcp_config() | Ending...
update_ispcp_cfg() | Starting...
get_file() | Starting...
get_file() | Ending...
get_conf() | Starting...
get_file() | Starting...
get_file() | Ending...
setup_main_vars() | Starting...
decrypt_db_password() | Starting...
decrypt_db_password() | Ending...
setup_main_vars() | Ending...
get_conf() | Ending...
store_conf() | Starting...
get_file() | Starting...
get_file() | Ending...
store_file() | Starting...
setfmode() | Starting...
setfmode() | Ending...
store_file() | Ending...
get_conf() | Starting...
get_file() | Starting...
get_file() | Ending...
setup_main_vars() | Starting...
decrypt_db_password() | Starting...
decrypt_db_password() | Ending...
setup_main_vars() | Ending...
get_conf() | Ending...
store_conf() | Ending...
update_ispcp_cfg() | Ending...
check_ispcp_cfg_file() | Starting...
check_ispcp_cfg_file() | Ending...
preinst() | Starting...
sys_command() | Starting...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/bin/bash preinst upgrade') | Ending...
preinst() | Ending...
update_database_schema() | Starting...
get_file() | Starting...
get_file() | Ending...
sys_command_rs() | Starting...
system() | [DEBUG]
[ERROR]: Database update 33 failed:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ispcp.config' doesn't exist
Query: DELETE IGNORE FROM
`ispcp`.`config`
WHERE
`config`.`name` = 'CRITICAL_UPDATE_REVISION'
;
sys_command_rs() | Ending...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 1
getCmdExitValue() | Ending...
exit_msg() | Starting...
exit_msg() | Ending...
del_file() | Starting...
del_file() | Ending...
Especially:
Code:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ispcp.config' doesn't exist
Query: DELETE IGNORE FROM
`ispcp`.`config`
WHERE
`config`.`name` = 'CRITICAL_UPDATE_REVISION'
;
My db name is not ispcp!
In the config and config.old the correct db name is there.