mdzidic / ovz-web-panel

Automatically exported from code.google.com/p/ovz-web-panel
Other
0 stars 0 forks source link

Ruby upgrade may cause panel to become unusable. #330

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
1. Install ovz-web-panel on Ubuntu Lucid
2. Upgrade associated ruby/webrick packages
3. Visit panel and navigate around.

Actual result: blank pages everywhere requiring <crtl><shift>-r to load page.

Expected result: Pages load without error.

Version of the product:  Current

Server OS: Ubuntu Lucid

Browser: Firefox latest and others.

Additional information:

Code in the installation script indicates this is a known issue : 
--
  if [ "$DISTRIB_ID" = "Ubuntu" -a "`lsb_release -cs`" = "lucid" ]; then
    puts "Patching broken WEBrick for Ubuntu 10.04"
    sed -i''  's/string.dup/string.to_s.dup/' /usr/lib/ruby/1.8/webrick/htmlutils.rb
  fi
--

This shows the issue is known - but the workaround leaves the installed system 
open to failure upon any update to the associated ruby packages.

With this in mind, the proper fix would be to move away from webrick to 
mongrel.  This requires a slight modification to the init script and a 
dependency on the mongrel package.

sibprogrammer; what is your opinion on this fix ? 

Original issue reported on code.google.com by pduboi...@gmail.com on 16 Aug 2011 at 3:37

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 1 May 2012 at 9:05