Also how do you start the server? Are you using it behind an apache or similar or are using straight RAILS_ENV=production bundle exec rails server?
If the latter, you might want to check if it says in config.serve_static_assets = false in config/environments/production.rb.
If it does you have to change it to true for the rails app to serve the assets itself.
I was able to load into production successfully when not using an apache / passenger configuration.
I am using version 3 as well, and have done the precompile and it seems the change recommended to production.rb did the trick but cannot tell as just did this to a fresh new install.
I ran the ‘assets:precompile’ on production environment and I have found it messes up my install.
I would like to say to close this forum as the suggestions have helped with loading the production environment and resolved my issue.
I am having great difficulties with the drop down menus as well… I select the user drop down, it doesn’t show, but when i hover over modules it does show. or vice versa…
After much hard work, i configured it properly to get production working with passenger and production site is working as it should. Development site was experiencing issues with drop-down menus not work not sure why. I wrote all my instructions down and will re-test them.
Replies (5)
Which OpenProject Version do you use? 2 or 3?
If it is version 3, have you tried to run
bundle exec rake assets:precompile
yours,
Philipp
Also how do you start the server? Are you using it behind an apache or similar or are using straight
RAILS_ENV=production bundle exec rails server
?If the latter, you might want to check if it says in
config.serve_static_assets = false
inconfig/environments/production.rb
.If it does you have to change it to true for the rails app to serve the assets itself.
thank you for the reply,
I was able to load into production successfully when not using an apache / passenger configuration.
I am using version 3 as well, and have done the precompile and it seems the change recommended to production.rb did the trick but cannot tell as just did this to a fresh new install.
I will complete apache stuff and let you know
I ran the ‘assets:precompile’ on production environment and I have found it messes up my install.
I would like to say to close this forum as the suggestions have helped with loading the production environment and resolved my issue.
I am having great difficulties with the drop down menus as well… I select the user drop down, it doesn’t show, but when i hover over modules it does show. or vice versa…
After much hard work, i configured it properly to get production working with passenger and production site is working as it should. Development site was experiencing issues with drop-down menus not work not sure why. I wrote all my instructions down and will re-test them.