[solved] Rails applications not working after updating to 4.2.10

Discussion in 'General' started by MH-Stefan, May 6, 2014.

  1. MH-Stefan

    MH-Stefan New Member

    Hello,

    We've just updated a production server to LSWS 4.2.10 and noticed that almost all Rails-based website of our clients no longer work, returning 503 errors. LSWS was often restarting because of this.

    Here's what the log returns:
    2014-05-06 18:13:37.158 ERROR Rails application root directory of '***snipped***' is not accessible: /home/dugunmek/rails_apps/***snipped***/: No such file or directory
    2014-05-06 18:13:37.158 ERROR Rails application '***snipped***' is not available, URI mapping is ignored: "***snipped***.com" "/"

    I've downgraded back to LSWS 4.2.9 and the Rails applications work properly again, so this problem only exists in LSWS 4.2.10

    The server is running CloudLinux 6.5 and cPanel 11.42.1 (build 12).

    If you need more details, please let me know.
  2. mistwang

    mistwang LiteSpeed Staff

    I may need to temp root access to take a look, please send more detail information to bug@litespeed...
    All rails application got that error? does the path exist?
  3. MH-Stefan

    MH-Stefan New Member

    I've just sent an email to bug@litespeedtech.com requesting the IP range that you'll connect from.

    Yes, the path does exist and everything works properly with any LSWS version prior to 4.2.10.
  4. mistwang

    mistwang LiteSpeed Staff

    It is a bug related to HTTP proxy, your rails setup uses mongrels backend.
    It has been fixed in latest 4.2.10 build.
  5. MH-Stefan

    MH-Stefan New Member

    Thanks for the quick fix! It's greatly appreciated.

Share This Page