[root@billing BGBillingServer]# ./update.sh
# Start Updating
03-14/18:04:28 INFO [main] DefaultServerSetup - Binding javax.jms.ConnectionFactory[org.apache.activemq.ActiveMQConnectionFactory@9f671b] to java:comp/env/mq/connectionFactory
03-14/18:04:28 DEBUG [main] JNDIReferenceFactory - Creating reference: org.apache.activemq.ActiveMQConnectionFactory,org.apache.activemq.ActiveMQConnectionFactory@9f671b
03-14/18:04:28 INFO [main] DefaultServerSetup - Init DB connection pools
03-14/18:04:28 INFO [main] DefaultServerSetup - Binding JDBC pool "master" to java:comp/env/jdbc/master
03-14/18:04:28 INFO [main] DefaultServerSetup - Init trash pools..
Update starting..
Update from
ftp://ftp.bgbilling.ru/pub/bgbillingServer version is 5.1
Set passive mode..
Changing dir to /pub/bgbilling/5.1
Checking updates for dialup..
Found update for dialup build 172 packet dialup_5.1_174.zip updating to build 174
Checking updates for ipn..
Found update for ipn build 220 packet ipn_5.1_223.zip updating to build 223
Checking updates for trayinfo..
Checking updates for bill..
Found update for bill build 226 packet bill_5.1_227.zip updating to build 227
Checking updates for card..
Checking updates for reports..
Found update for reports build 172 packet reports_5.1_173.zip updating to build 173
Checking updates for mps..
Checking updates for rscm..
Checking updates for npay..
Checking updates for ru.bitel.bgbilling.plugins.crm..
Found update for crm build 177 packet crm_5.1_178.zip updating to build 178
Checking updates for voiceip..
Found update for voiceip build 161 packet voiceip_5.1_162.zip updating to build 162
Checking updates for gorod..
Checking updates for server..
Found update for BGBillingServer build 604 packet update_5.1.zip updating to build 607
Checking updates for client..
Found update for BGBillingClient build 484 packet update_5.1.zip updating to build 487
Install 7 updates (y/n):
y
Downloading dialup_5.1_174.zip OK!
Downloading ipn_5.1_223.zip OK!
Downloading bill_5.1_227.zip OK!
Downloading reports_5.1_173.zip OK!
Downloading crm_5.1_178.zip OK!
Downloading voiceip_5.1_162.zip OK!
Downloading update_5.1.zip OK!
Start installing..
Module: dialup already installed.
Data extract finished...
Extract data => OK
Database updated...
Install ticket inserted..
Base update => OK
Reinit module instanses
REINIT module => 3
Module Instance init => OK
Executing call AddSchedulerTasks; param: dialup.sc
Scheduled class bitel.billing.server.dialup.MaxCalculator already exists!
Result => true
Executing call PutFile; param: dialup.xml:actions
Result => true
Execute calls => OK
File's copy finished...
File copy => OK
Module dialup was successfull installed!
Please, restart BGBilling server.
Module: ipn already installed.
Data extract finished...
Extract data => OK
Database updated...
Install ticket inserted..
Base update => OK
Reinit module instanses
REINIT module => 1
Table 'ipn_gate_type_1' already exists
Table 'ipn_gate_1' already exists
Table 'ipn_user_gate_1' already exists
Table 'ipn_rule_type_1' already exists
Table 'ipn_gate_rule_1' already exists
Table 'ipn_gate_vlan_1' already exists
Table 'ipn_iface_1' already exists
Table 'ipn_zone_1' already exists
Table 'ipn_service_link_plan_1' already exists
Table 'detail_create_task_1' already exists
Table 'ip_resource_category_1' already exists
Table 'ip_resource_range_1' already exists
Duplicate column name 'type'
Duplicate column name 'config'
Duplicate column name 'rtid'
Column count doesn't match value count at row 1
Table 'ipn_gate_type_1' already exists
Table 'ipn_rule_type_1' already exists
Duplicate column name 'object_id'
Duplicate key name 'object_id'
Table 'ipn_iface_1' already exists
Table 'ipn_zone_1' already exists
Duplicate column name 'iface'
Duplicate column name 'iface'
Duplicate column name 'parent_id'
Duplicate column name 'plan_id'
Table 'ipn_service_link_plan_1' already exists
Duplicate column name 'plan_id'
Duplicate column name 'pers_plan_id'
Table 'detail_create_task_1' already exists
Table 'ip_resource_1' already exists
Table 'ip_resource_category_1' already exists
Duplicate column name 'rule'
Duplicate column name 'script'
Table 'ipn_gate_rule_1' already exists
Table 'ipn_gate_vlan_1' already exists
Table 'ip_resource_range_1' already exists
Can't DROP 'cid'; check that column/key exists
Duplicate column name 'mask'
Duplicate column name 'diff_serv'
Table 'ipn_gate_address_1' already exists
Table 'ipn_gate_contract_port_1' already exists
Table 'ipn_user_gate_rule_log_1' already exists
Unknown table 'max_dates'
Unknown table 'problem_cids'
Duplicate entry '2380' for key 1
Module Instance init => OK
Executing call AddSchedulerTasks; param: ipn.sc
Scheduled class bitel.billing.server.ipn.LogCalculator already exists!
Scheduled class bitel.billing.server.ipn.IPNTestGates already exists!
Scheduled class bitel.billing.server.ipn.MaxCalculator already exists!
Result => true
Executing call PutFile; param: ipn.xml:actions
Result => true
Execute calls => OK
File's copy finished...
File copy => OK
Module ipn was successfull installed!
Please, restart BGBilling server.
Error: module.properties not found in zip
Error: module.properties not found in zip
Error: module.properties not found in zip
Error: module.properties not found in zip
Error: module.properties not found in zip