H Soeren,

This a known issue. The reason this is not executed is not known, yet. A
clean 4.4.1 install does install the column.

mobile dev with bilingual spelling checker used (read at your own risk)
Op 23 nov. 2014 11:12 schreef "Soeren Malchow" <[email protected]>:

> Dear all,
>
> i found the following:
>
> When upgrading from 4.4.0 (clean install, no upgrade) to 4.4.1 I encounter
> this error
>
> SEVERE: Exception sending context initialized event to listener instance
> of class
> org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener
> com.cloud.utils.exception.CloudRuntimeException: DB Exception on:
> com.mysql.jdbc.JDBC4PreparedStatement@37842873: SELECT snapshot_policy.id,
> snapshot_policy.volume_id, snapshot_policy.schedule,
> snapshot_policy.timezone, snapshot_policy.interval,
> snapshot_policy.max_snaps, snapshot_policy.active, snapshot_policy.uuid,
> snapshot_policy.display FROM snapshot_policy
>
> when checking the database, the column "snapshot_policy.display" does not
> exist.
>
> When checking the database upgrade files I can find an alter statement in
> "schema-430to440.sql" that is
>
> ALTER TABLE `cloud`.`snapshot_policy` ADD COLUMN `display` tinyint(1) NOT
> NULL DEFAULT '1' COMMENT 'True if the policy can be displayed to the end
> user';
>
> If I execute this manually, the upgrade works
>
> Regards
> Soeren
>

Reply via email to