Content
You are here:
Missing Open Project 2.4 Navigation Link(Menu) on Left Side of the page
Added by Rajesh R Nair almost 11 years ago
Hello,
I am new Open Project. I have successfully installed Open Project 2.4.0 and created one project. But I am not able to see the Timelines, activity, roadmap,work packages menus on the left side navigation pane. Do I need to install any additional plugins, could you please guide me.
Please find the attached screenshot.
For me only the following are available in the project settings=> modules tab:
Issue Tracking
Time Tracking
News
Wiki
Documents
Forums
Calendar.
Thanks In Advance.
Regards
Rajesh
Replies (7)
Hello Rajesh,
you won’t find Timelines in OpenProject 2.4 because it isn’t part of OpenProject up to that version. If you’re interested in all the new features of OpenProject (including Timelines), please download and install the upcoming OpenProject 3.0.
Kind regards,
Hagen
Okay thanks Hagen, so the Work packages, activities are also part of 3.0 only right ?
Does 3.0 works with Redhat Enterprise Linux 6 ? I could find instructions for Ubuntu specifically on the site.
Regards
Rajesh
Hello Rajesh,
Activity is available in OpenProject 2.4, too. But, yes, you’re right, Work Packages are specific to OpenProject 3.0.
We know about OpenProject 3.0 running on a Redhat Enterprise Linux 5, so I assume that there is no problem installing OpenProject 3.0 on a Redhat Enterprise Linux 6. If it does not cause you any inconvenience, you may provide an installation guide for Redhat Enterprise Linux 6?
In any case, if you have trouble to get OpenProject 3.0 running on your system, don’t hesitate to get back to us!
Kind regards,
Hagen
Sure Hagen. Thanks for your guidance and support.
Regards
Rajesh
Hello Hagen,
I was able to install 3.0 on RHEL 6, pretty much the steps are same like the general instructions for 3.0 given in the site. I am able to run it in development mode using the following command “bundle exec rails server”.
But I am getting an error, when I try to run the server in production mode. Could we run 3.0 in Production mode ? I am using the following command “RAILS_ENV=production bundle exec rails server”
Also when I checked the mysql “openproject” database, I am not able to see any tables got created, where as tables are present in “openproject_development” database. Could you please advise, is there anything I need to specifically do to make this run.
==
Error Message:
RAILS_ENV=production bundle exec rails server
require ‘rails/all’… 0.450s
Bundler.require… 1.500s
=> Booting Thin
=> Rails 3.2.16 application starting in production on http://ipaddress:portnumber
=> Call with -d to detach
=> Ctrl-C to shutdown server
Application.initialize!… /usr/local/lib/ruby/gems/2.0.0/gems/svg-graph-1.0.5/lib/SVG/Graph/Graph.rb:3: warning: class variable access from toplevel
Exiting
/usr/local/lib/ruby/gems/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `query’: Mysql2::Error: Table ’openproject.work_package_journals’ doesn’t exist: SHOW FULL FIELDS FROM `work_package_journals` (ActiveRecord::StatementInvalid)
from /usr/local/lib/ruby/gems/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `block in execute’
from /usr/local/lib/ruby/gems/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log’
from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/notifications/instrumenter.rb:20:in `instrument’
from /usr/local/lib/ruby/gems/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log’
from /usr/local/lib/ruby/gems/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `execute’
from /usr/local/lib/ruby/gems/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/mysql2_adapter.rb:213:in `execute’
from /usr/local/lib/ruby/gems/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:259:in `execute_and_free’
from /usr/local/lib/ruby/gems/2.0.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:426:in `columns’
from /root/openproject/app/models/journal/base_journal.rb:54:in `db_columns’
from /root/openproject/app/models/journal/base_journal.rb:46:in `column_names’
from /root/openproject/app/models/journal/base_journal.rb:40:in `journaled_attributes’
from /root/openproject/app/services/planning_comparison_service.rb:15:in `class:PlanningComparisonService’
from /root/openproject/app/services/planning_comparison_service.rb:1:in `<top (required)>’
from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require’
from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `block in require’
from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency’
from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require’
from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:359:in `require_or_load’
from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:313:in `depend_on’
from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:225:in `require_dependency’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/engine.rb:444:in `block (2 levels) in eager_load!’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/engine.rb:443:in `each’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/engine.rb:443:in `block in eager_load!’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/engine.rb:441:in `each’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/engine.rb:441:in `eager_load!’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/application/finisher.rb:53:in `block in module:Finisher’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `instance_exec’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `run’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:55:in `block in run_initializers’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `each’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `run_initializers’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/application.rb:136:in `initialize!’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in `method_missing’
from /root/openproject/config/environment.rb:34:in `block in <top (required)>’
from /root/openproject/config/application.rb:42:in `block in bench’
from /usr/local/lib/ruby/2.0.0/benchmark.rb:281:in `measure’
from /root/openproject/config/application.rb:41:in `bench’
from /root/openproject/config/environment.rb:32:in `<top (required)>’
from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require’
from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `block in require’
from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency’
from /usr/local/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require’
from /root/openproject/config.ru:31:in `block in
’
from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval’
from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize’
from /root/openproject/config.ru:in `new’
from /root/openproject/config.ru:in `
’
from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/builder.rb:40:in `eval’
from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/builder.rb:40:in `parse_file’
from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/server.rb:200:in `app’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/commands/server.rb:46:in `app’
from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/server.rb:304:in `wrapped_app’
from /usr/local/lib/ruby/gems/2.0.0/gems/rack-1.4.5/lib/rack/server.rb:254:in `start’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/commands/server.rb:70:in `start’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/commands.rb:55:in `block in <top (required)>’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/commands.rb:50:in `tap’
from /usr/local/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/commands.rb:50:in `<top (required)>’
from script/rails:6:in `require’
from script/rails:6:in `
’
Regards
Rajesh
Hello Rajesh,
first congrats to your OpenProject 3.0 installation! :-)
Regarding your issue in the production environment: It seems to me that OpenProject uses the old 2.4 database in production. If this is correct you either need to drop or to migrate this database.
Drop the database
Run the following command to create the production database from scratch:
Migrate the database
Just follow the migration instructions (beginning with the database migration from OpenProject 2.4 to 3.0).
Please note that you need to pre-compile the assets for production mode:
Additionally, consider the comment of Markus.
Kind Regards,
Hagen
Hello Hagen,
I have followed the instructions given and its working fine. Please find the sequence, I followed.
RAILS_ENV=production bundle exec rake db:drop db:create db:migrate db:seed # if db:seed fails just restart it alone RAILS_ENV=production bundle exec rake assets:precompile
After this when I ran the instance in production mode, it came up, but the home page did not have any images and it was just showing few html links (like skeleton of a webpage). To resolve this issue, I have made the following change to production.rb file in /config/environments/production.rb
# 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, this resolved the home page loading issue config.serve_static_assets = true
After this the launch of the application mode in Production is working perfectly fine.
Thank you so much for all your guidance.
Regards
Rajesh