Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support
  • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Expand project menu
Support Installation & Updates
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. Support Installation & Updates
  5. Can't load assets (No route matches...) / Can't install in subdir

Can't load assets (No route matches...) / Can't install in subdir

Added by Christian H. over 10 years ago

I’m running into two presumably related issues (Debian Wheezy + Apache 2).

First of all, OpenProject doesn’t load any assets, e.g. no CSS, JS…

Log: “ActionController::RoutingError (No route matches [GET] ”/public/assets/application-9b53b6a020f93159e2f1f7e031bc9570.js“):”

The files do exist. An older thread suggested turning on “config.serve_static_assets = true” in /config/environments/production.rb. Didn’t change anything. And yes, I ran “RAILS_ENV=”production" bundle exec rake assets:precompile".

My second issue is that when I try to access the installation via “domain.com/openproject” (via Apache Alias), I wind up w/ a 403 and “Directory index forbidden by Options directive:”. The same works (at least sorta, see issue above) when using “openproject.domain.com”… only that I don’t have a wildcard-cert for subdomains.

Thanks for any help in advance.


Replies (1)

RE: Can't load assets (No route matches...) / Can't install in subdir - Added by Kai Wörner over 10 years ago

As for your second issue - I guess this is not possible using Apache Aliases (at least I failed)

These instructions helped me in the end:
https://www.phusionpassenger.com/documentation/Users%20guide%20Apache%203.0.html#deploying_rack_to_sub_uri

  • (1 - 1/1)
Loading...