Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • 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
    • 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
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

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

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Problem with AggregatedMeetingMigrations

Problem with AggregatedMeetingMigrations

Added by Raoul Gabriel about 11 years ago

Hi,

I’ve installed OpenProject 3.0 (stable) on an CentOS 6.5 Server (thanks to the Instructions on this page).
I also copied the database from an existing OpenProject 3.0 (beta) server to the new one, which worked well also.
But when I installed the Meetings Plugin (which was installed on the old Server as well) and tried to execute the

bundle exec rake db:migrate

command. I get an error:

[openproject@openproject]$ bundle exec rake db:migrate
require 'rails/all'... 0.300s
Bundler.require... 1.310s
Application.initialize!... 2.260s
==  AggregatedMeetingMigrations: migrating ====================================
-- create_table("meeting_contents")
rake aborted!
An error has occurred, this and all later migrations canceled:

PG::DuplicateTable: FEHLER:  Relation „meeting_contents“ existiert bereits
: CREATE TABLE "meeting_contents" ("id" serial primary key, "type" character varying(255), "meeting_id" integer, "author_id" integer, "text" text, "lock_version" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "locked" boolean DEFAULT 'f') /home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/postgresql_adapter.rb:650:in `async_exec'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/postgresql_adapter.rb:650:in `block in execute'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activesupport-3.2.17/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/postgresql_adapter.rb:649:in `execute'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/schema_statements.rb:170:in `create_table'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:466:in `block in method_missing'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:438:in `block in say_with_time'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:438:in `say_with_time'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:458:in `method_missing'
/home/openproject/.rvm/gems/ruby-2.1.0/bundler/gems/openproject-meeting-3d144d6f8e98/db/migrate/20111605171865_aggregated_meeting_migrations.rb:22:in `block in up'
/home/openproject/openproject/db/migrate/migration_utils/migration_squasher.rb:47:in `squash'
/home/openproject/.rvm/gems/ruby-2.1.0/bundler/gems/openproject-meeting-3d144d6f8e98/db/migrate/20111605171865_aggregated_meeting_migrations.rb:21:in `up'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:410:in `block (2 levels) in migrate'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:410:in `block in migrate'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in `with_connection'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:389:in `migrate'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:528:in `migrate'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:720:in `block (2 levels) in migrate'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:775:in `call'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:775:in `block in ddl_transaction'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/transactions.rb:208:in `transaction'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:775:in `ddl_transaction'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:719:in `block in migrate'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:700:in `each'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:700:in `migrate'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:570:in `up'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:551:in `migrate'
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/railties/databases.rake:193:in `block (2 levels) in <top (required)>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)

which basically says that the relation already exists.
Does anyone has an advice on how to resolve this error?

Thanks for any Help
Raoul


Loading...