Getting "No licenses found" after upgrades of Zend Platform from 2.1.x to 2.2.x

Follow

Applies To:

[ Zend Platform 2.x ]
[ Linux ]

Symptom

You have upgraded Zend Platform from 2_1_X to 2_2_X and when you enter the Zend Platform web GUI you see "The license on x servers is about to expire". When clicking on "Manage Licenses" you will get "No licenses found".

Technical Details

This problem is due to a bug in the upgrade procedure of the Platform 2 installer

Resolution / Workaround

Please run the following script on your upgraded servers:

#!/bin/sh
INSTALL_DIR='/usr/local/Zend'
MYSQL_COMMAND="$INSTALL_DIR/MySQL/bin/mysql --socket=$INSTALL_DIR/MySQL/var/mysql.sock platform"
echo "ALTER TABLE server_attributes add license_type int(11) default NULL;" | $MYSQL_COMMAND
echo "ALTER TABLE server_attributes add license_error text default NULL;" | $MYSQL_COMMAND

 

Note:
Change INSTALL_DIR to Zend Platform's installation dir

Then, when entering the Zend Platform web GUI again, click on "Update All Information" in Zend Cental ->Manage Licenses 


Excerpt: Upgrade Platform 2.1.x to 2.2.x fails to load license details.


Original Post Date: 2009-10-23 14:09:14

Alternative Description:

Upgrade Platform 2.1.x to 2.2.x fails to load license details

_____
Tags: Debian / Ubuntu,license,Platform,RedHat Enterprise Linux / CentOS,SUSE Linux Enterprise Server / OpenSUSE,upgrade,Zend Platform,oldKB

Comments