4.0.2 and jsmin

Good morning,

I just updated my rt installation from 4.0.1 to 4.0.2 and everything
went smoothly except for jsmin.

After the upgrade everything worked fine with the normal minifier (the
javascript one from the 4.0.1 installation). Then I compiled jsmin and
enabled it in RT_SiteConfig.pm and I got some weird behaviour: the first
time the page loads (after restarting httpd), it is broken and I get a
lot of error messages in the log about RT being unable to connect to the
DB to execute queries (DBD::Pg::st execute failed: could not receive data from
server: Bad file descriptor…). Just reloading the page fixes the
problem and then everything seems to work ok.

With jsmin disabled everything seems to work fine from the beginning.

Any ideas?

Thanks, Daniel.

Good morning,

I just updated my rt installation from 4.0.1 to 4.0.2 and everything
went smoothly except for jsmin.

After the upgrade everything worked fine with the normal minifier (the
javascript one from the 4.0.1 installation). Then I compiled jsmin and
enabled it in RT_SiteConfig.pm and I got some weird behaviour: the first
time the page loads (after restarting httpd), it is broken and I get a
lot of error messages in the log about RT being unable to connect to the
DB to execute queries (DBD::Pg::st execute failed: could not receive data from
server: Bad file descriptor…). Just reloading the page fixes the
problem and then everything seems to work ok.

With jsmin disabled everything seems to work fine from the beginning.

Please show your apache configuration.
We changed some recommendations in web_deployment.pod in 4.0.2 due to
known issues with some deployments.

-kevin

Kevin,

thanks a lot.

I still had
SetHandler perl-script
from 4.0.0 instead of
SetHandler modperl

Changing that line seems to have fixed my problem.

Thanks again, Daniel.

  • Kevin Falcone falcone@bestpractical.com [09/14/2011 11:30]:> On Wed, Sep 14, 2011 at 11:21:28AM -0400, Daniel De Marco wrote:

Good morning,

I just updated my rt installation from 4.0.1 to 4.0.2 and everything
went smoothly except for jsmin.

After the upgrade everything worked fine with the normal minifier (the
javascript one from the 4.0.1 installation). Then I compiled jsmin and
enabled it in RT_SiteConfig.pm and I got some weird behaviour: the first
time the page loads (after restarting httpd), it is broken and I get a
lot of error messages in the log about RT being unable to connect to the
DB to execute queries (DBD::Pg::st execute failed: could not receive data from
server: Bad file descriptor…). Just reloading the page fixes the
problem and then everything seems to work ok.

With jsmin disabled everything seems to work fine from the beginning.

Please show your apache configuration.
We changed some recommendations in web_deployment.pod in 4.0.2 due to
known issues with some deployments.

-kevin


RT Training Sessions (http://bestpractical.com/services/training.html)

  • Chicago, IL, USA ? September 26 & 27, 2011
  • San Francisco, CA, USA ? October 18 & 19, 2011
  • Washington DC, USA ? October 31 & November 1, 2011
  • Melbourne VIC, Australia ? November 28 & 29, 2011
  • Barcelona, Spain ? November 28 & 29, 2011