Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional 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
  • Sign in
      Forgot your password?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
  • Roadmap
  • Work packages
  • Calendars
  • Team planners
  • Boards
  • Forums
  • Wiki
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showDeveloper
        • Hierarchy leafAccessibility Checklist
        • Hierarchy leafCode Review Guidelines
        • Expanded. Click to collapseCollapsed. Click to showContribution
          • Hierarchy leafGit Workflow
          • Hierarchy leafTranslations
        • Expanded. Click to collapseCollapsed. Click to showDeveloping Plugins
          • Hierarchy leafDeveloping an OmniAuth Authentication Plugin
        • Hierarchy leafRelease Process
        • Hierarchy leafReport a bug
        • Hierarchy leafSecurity
        • Hierarchy leafSetting up an OpenLDAP server for testing
        • Hierarchy leafTheme Features
      • Hierarchy leafDownload
      • Expanded. Click to collapseCollapsed. Click to showFeature tour
        • Hierarchy leafRelease Notes OpenProject 30
        • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 30 - Overview
          • Hierarchy leafGlossary
          • Hierarchy leafRelease Notes - Accessibility
          • Hierarchy leafRelease Notes - Accessibility changes
          • Hierarchy leafRelease Notes - Add work package queries as menu items to sidebar
          • Hierarchy leafRelease Notes - Copy projects based on Templates
          • Hierarchy leafRelease Notes - Design changes
          • Hierarchy leafRelease Notes - Fixed Bugs
          • Hierarchy leafRelease Notes - Keyboard Shortcuts
          • Hierarchy leafRelease Notes - Project settings
          • Hierarchy leafRelease Notes - Ruby&Rails Update
          • Hierarchy leafRelease Notes - Security
          • Hierarchy leafRelease Notes - Timelines
          • Hierarchy leafRelease Notes - Work packages
      • Hierarchy leafHowto create animated gifs
      • Hierarchy leafMigration Squashing
      • Hierarchy leafMod security
      • Hierarchy leafNew work package page
      • Hierarchy leafOP3 to OP4 Debian upgrade
      • Hierarchy leafOP4 Ubuntu1404 Stable with MySQL in production
      • Hierarchy leafOpenProject 40 Development Setup
      • Expanded. Click to collapseCollapsed. Click to showOpenProject Foundation
        • Hierarchy leafBoards
        • Hierarchy leafMembers
        • Hierarchy leafOPF-Meetings
        • Hierarchy leafStatutes
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes
        • Hierarchy leafOpenProject released on Bitnami
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 40 - Overview
        • Hierarchy leafRelease Notes OpenProject 40 - Accessibility improvements
        • Hierarchy leafRelease Notes OpenProject 40 - Column header functions in work package table
        • Hierarchy leafRelease Notes OpenProject 40 - Improved Design
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated query title on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated toolbar on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - OmniAuth integration for OpenProject
        • Hierarchy leafRelease Notes OpenProject 40 - Work package details pane
      • Expanded. Click to collapseCollapsed. Click to showSecurity and privacy
        • Hierarchy leafFAQ
      • Expanded. Click to collapseCollapsed. Click to showSupport
        • Expanded. Click to collapseCollapsed. Click to showDownload and Installation
          • Hierarchy leafInstallation MacOS
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 3 0
            • Hierarchy leafDebian Stable with MySQL in production
            • Hierarchy leafInstallation Ubuntu
            • Hierarchy leafInstallation Windows
            • Hierarchy leafInstallation on Centos 65 x64 with Apache and PostgreSQL 93
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 40
            • Hierarchy leafOP4 Debian Stable with MySQL in production
          • Expanded. Click to collapseCollapsed. Click to showMigration paths
            • Hierarchy leafFrom Chilliproject to OpenProject
            • Hierarchy leafMigration 15 to 30
            • Hierarchy leafMigration 24 to 30
            • Hierarchy leafMigration Redmine 2x › OpenProject 30
            • Hierarchy leafOpenProject 3 Migration
          • Hierarchy leafOpenProject 40
        • Expanded. Click to collapseCollapsed. Click to showNews
          • Hierarchy leafNew OpenProject Translations Plugin
          • Hierarchy leafNew Plugin on OpenProjectorg Local Avatars
          • Hierarchy leafNew design for OpenProject
          • Hierarchy leafNews Accessibility workshop for OpenProject
          • Hierarchy leafNews Glossary for OpenProject
          • Hierarchy leafNews Heartbleed fixed
          • Hierarchy leafNews Icon Fonts
          • Hierarchy leafNews OpenProject 30 Release
          • Hierarchy leafNews Release GitHub Integration Plugin
          • Hierarchy leafNews Success Story Deutsche Telekom
          • Hierarchy leafNews Timelines
          • Hierarchy leafOpenProject 3013 released
          • Hierarchy leafOpenProject 3017 released
          • Hierarchy leafOpenProject 40 released
          • Hierarchy leafOpenProject 40 will be coming soon
          • Hierarchy leafOpenProject 405 released
          • Hierarchy leafOpenProject and pkgrio
          • Hierarchy leafOpenProject news moved to a new blog
          • Hierarchy leafOpenProjectBitnami
          • Hierarchy leafPackager version with plugins released ("Community edition")
          • Hierarchy leafRegistration OpenProject-Foundation
          • Hierarchy leafRelease OpenProject AuthPlugins
          • Hierarchy leafUpdates on OpenProject
          • Hierarchy leafWe need your feedback for the the new fullscreen view for work packages
        • Hierarchy leafOpenProject Plug-Ins
      • Hierarchy leafWiki
You are here:
  • Forums
  • General discussion

Content

Clean Installation on Debian Wheezy 7.5

Added by Alif OpenSource over 8 years ago

Hi All,

I’ve followed your installation instructions to the letter Can’t seem to get past the last step to run the app though. Met with this error. Please advice.

applicationspm:~/openproject$ bundle exec rails server RAILS_ENV=production
require ‘rails/all’… 0.340s
Bundler.require… 1.160s
Exiting
/usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active_support/depe ndencies.rb:251:in `require’: cannot load such file — rack/handler/rails__env=p roduction (LoadError)
from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/dependencies.rb:251:in `block in require’
from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/dependencies.rb:236:in `load_dependency’
from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/dependencies.rb:251:in `require’
from /usr/local/rvm/gems/ruby-2.1.2/gems/rack-1.4.5/lib/rack/handler.rb: 63:in `try_require’
from /usr/local/rvm/gems/ruby-2.1.2/gems/rack-1.4.5/lib/rack/handler.rb: 16:in `get’
from /usr/local/rvm/gems/ruby-2.1.2/gems/rack-1.4.5/lib/rack/server.rb:2 72:in `server’
from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/comma nds/server.rb:59:in `start’
from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/comma nds.rb:55:in `block in <top (required)>’
from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/comma nds.rb:50:in `tap’
from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/comma nds.rb:50:in `<top (required)>’
from script/rails:6:in `require’
from script/rails:6:in `

’
applications@pm:~/openproject$
@

Thank you.
-AOS.


Replies (4)

RE: Clean Installation on Debian Wheezy 7.5 - Added by Ivan Zderadicka over 8 years ago

bundle exec rails server -e production
to start production environment, but be aware that production environment is not serving static files by default (you can change it in config/environments/production.rb file or some similar name do not remember exactly)

RE: Clean Installation on Debian Wheezy 7.5 - Added by Alif OpenSource over 8 years ago

Another error when i tried to run the command suggested to start the app.

ROR: relation "work_package_journals" does not exist (ActiveRecord::StatementIn valid) LINE 5: WHERE a.attrelid = '"work_package_journals"'::r... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"work_package_journals"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum from /usr/local/rvm/gems/ruby-2.1.2/gems/activerecord-3.2.18/lib/active_ record/connection_adapters/postgresql_adapter.rb:1163:in `exec_no_cache' from /usr/local/rvm/gems/ruby-2.1.2/gems/activerecord-3.2.18/lib/active_ record/connection_adapters/postgresql_adapter.rb:660:in `block in exec_query' from /usr/local/rvm/gems/ruby-2.1.2/gems/activerecord-3.2.18/lib/active_ record/connection_adapters/abstract_adapter.rb:280:in `block in log' from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/notifications/instrumenter.rb:20:in `instrument' from /usr/local/rvm/gems/ruby-2.1.2/gems/activerecord-3.2.18/lib/active_ record/connection_adapters/abstract_adapter.rb:275:in `log' from /usr/local/rvm/gems/ruby-2.1.2/gems/activerecord-3.2.18/lib/active_ record/connection_adapters/postgresql_adapter.rb:659:in `exec_query' from /usr/local/rvm/gems/ruby-2.1.2/gems/activerecord-3.2.18/lib/active_ record/connection_adapters/postgresql_adapter.rb:1292:in `column_definitions' from /usr/local/rvm/gems/ruby-2.1.2/gems/activerecord-3.2.18/lib/active_ record/connection_adapters/postgresql_adapter.rb:855:in `columns' from /home/applications/openproject/app/models/journal/base_journal.rb:5 4:in `db_columns' from /home/applications/openproject/app/models/journal/base_journal.rb:4 6:in `column_names' from /home/applications/openproject/app/models/journal/base_journal.rb:4 0:in `journaled_attributes' from /home/applications/openproject/app/services/planning_comparison_ser vice.rb:44:in `<class:PlanningComparisonService>' from /home/applications/openproject/app/services/planning_comparison_ser vice.rb:30:in `<top (required)>' from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/dependencies.rb:251:in `require' from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/dependencies.rb:251:in `block in require' from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/dependencies.rb:236:in `load_dependency' from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/dependencies.rb:251:in `require' from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/dependencies.rb:359:in `require_or_load' from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/dependencies.rb:313:in `depend_on' from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/dependencies.rb:225:in `require_dependency' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/engin e.rb:444:in `block (2 levels) in eager_load!' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/engin e.rb:443:in `each' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/engin e.rb:443:in `block in eager_load!' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/engin e.rb:441:in `each' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/engin e.rb:441:in `eager_load!' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/appli cation/finisher.rb:53:in `block in <module:Finisher>' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/initi alizable.rb:30:in `instance_exec' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/initi alizable.rb:30:in `run' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/initi alizable.rb:55:in `block in run_initializers' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/initi alizable.rb:54:in `each' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/initi alizable.rb:54:in `run_initializers' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/appli cation.rb:136:in `initialize!' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/railt ie/configurable.rb:30:in `method_missing' from /home/applications/openproject/config/environment.rb:36:in `block i n <top (required)>' from /home/applications/openproject/config/application.rb:44:in `block i n bench' from /usr/local/rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/benchmark.rb:279:in `measure' from /home/applications/openproject/config/application.rb:43:in `bench' from /home/applications/openproject/config/environment.rb:34:in `<top (r equired)>' from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/dependencies.rb:251:in `require' from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/dependencies.rb:251:in `block in require' from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/dependencies.rb:236:in `load_dependency' from /usr/local/rvm/gems/ruby-2.1.2/gems/activesupport-3.2.18/lib/active _support/dependencies.rb:251:in `require' from /home/applications/openproject/config.ru:32:in `block in <main>' from /usr/local/rvm/gems/ruby-2.1.2/gems/rack-1.4.5/lib/rack/builder.rb: 51:in `instance_eval' from /usr/local/rvm/gems/ruby-2.1.2/gems/rack-1.4.5/lib/rack/builder.rb: 51:in `initialize' from /home/applications/openproject/config.ru:in `new' from /home/applications/openproject/config.ru:in `<main>' from /usr/local/rvm/gems/ruby-2.1.2/gems/rack-1.4.5/lib/rack/builder.rb: 40:in `eval' from /usr/local/rvm/gems/ruby-2.1.2/gems/rack-1.4.5/lib/rack/builder.rb: 40:in `parse_file' from /usr/local/rvm/gems/ruby-2.1.2/gems/rack-1.4.5/lib/rack/server.rb:2 00:in `app' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/comma nds/server.rb:46:in `app' from /usr/local/rvm/gems/ruby-2.1.2/gems/rack-1.4.5/lib/rack/server.rb:3 04:in `wrapped_app' from /usr/local/rvm/gems/ruby-2.1.2/gems/rack-1.4.5/lib/rack/server.rb:2 54:in `start' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/comma nds/server.rb:70:in `start' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/comma nds.rb:55:in `block in <top (required)>' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/comma nds.rb:50:in `tap' from /usr/local/rvm/gems/ruby-2.1.2/gems/railties-3.2.18/lib/rails/comma nds.rb:50:in `<top (required)>' from script/rails:6:in `require' from script/rails:6:in `<main>'
Any ideas? Noob declaration.

Thank you.
-AOS.

RE: Clean Installation on Debian Wheezy 7.5 - Added by Maissa Mbaye over 8 years ago

Hello Alif,

I had this kind of problem (with document module) I solved it with this

bundle exec rake db:create:all #to ensure that database is created
RAILS_ENV=production bundle exec rake db:migrate # to ensure that all database changes required by pluggins are done
RAILS_ENV=production bundle exec rake assets:precompile # precompile assets …
RAILS_ENV=production bundle exec rails server

The problem was that a pluggin required to change data base and migrate did this job !
That seem to be the case with you

ROR: relation "work_package_journals" does not exist (ActiveRecord::StatementIn valid)
LINE 5: WHERE a.attrelid = '"work_package_journals"'::r...

RE: Clean Installation on Debian Wheezy 7.5 - Added by Alif OpenSource over 8 years ago

Hi Guys,

Problem is this, when its started, i can no longer use any linux command. It like I have to start another session. Also when i load domain.com:3000, logging in with admin:admin did not work. And it seemed like there is no css or design working. Please advice.

Thank you.
-AOS.

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