appflower needs to be updated for apache version 2.4.7

Bug #1362214 reported by Matt Bruzek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
appflower (Juju Charms Collection)
New
Undecided
Unassigned

Bug Description

I am doing some testing on trusty and the appflower charm does not deploy with the trusty version of apache2 (2.4.7). The install hook halts with an error because the a2ensite command is looking for a configuration file ending in .conf.

We need to update the install hook to name the apache2 configuration file with .conf. Also the default site needs to be disabled.

-apache_config="/etc/apache2/sites-available/appflower-$hostname"
+apache_config="/etc/apache2/sites-available/appflower-${hostname}.conf"

+a2dissite 000-default

The Charm Store policy changed from precise to trusty, tests are also required for trusty charms.

Tags: audit
Matt Bruzek (mbruzek)
tags: added: audit
description: updated
description: updated
Revision history for this message
Matt Bruzek (mbruzek) wrote :

When I was testing the changes above, I am able to get appflower to deploy on trusty. However, I noticed some errors on the appflower web page:

Warning: ob_start(): function '' not found or invalid function name in /var/www/appflower/lib/vendor/symfony/lib/config/sfApplicationConfiguration.class.php on line 155

Notice: ob_start(): failed to create buffer in /var/www/appflower/lib/vendor/symfony/lib/config/sfApplicationConfiguration.class.php on line 155

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/appflower/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/appflower/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/appflower/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/appflower/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/appflower/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.