Open link in a new tab

Content

Expand project menu

Home page did not show any images or styling

After installing openproject, when I ran it in production mode, the home page came up, but with no images or styling. It had simple html controls and texts.

To resolve this issue, I made the following change to production.rb file in /config/environments/production.rb

  1. Disable Rails’s static asset server (Apache or nginx will already do this)
    #config.serve_static_assets = false # Commented out above line to make the value as true
    config.serve_static_assets = true

[Found this fix in a different thread as part of a resolution for a different problem. Since it helped me in resolving this specific problem I faced, felt this is worth being recorded in a thread/message of its own.]

Message actions

Thanks for documenting the issue and providing the solution!