Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
scriptorium
scriptorium
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • degrowth
  • scriptoriumscriptorium
  • Issues
  • #199

Closed
Open
Opened Jun 05, 2017 by Gualter@gandhiano
  • Report abuse
  • New issue
Report abuse New issue

Database schema seed/migrate has inconsistencies

A new deployment of frab ( #198 (closed) ) fails to successfully setup the frab database schema and content. The following errors have been encountered on bundle exec rake db:setup and ...db:migrate

$ dokku run degrowth2018-dev bundle exec rake db:migrate
...
== 20110930110209 RemoveDeviseSpecificColumnsFromUsers: migrating =============
-- rename_column(:users, :encrypted_password, :password_digest)
   -> 0.0027s
-- remove_column(:users, :password_salt)
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

PG::UndefinedColumn: ERROR:  column "password_salt" of relation "users" does not exist
: ALTER TABLE "users" DROP "password_salt"/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `async_exec'
...
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Connection to apps.allmende.io closed.
$ dokku run degrowth2018-dev bundle exec rake db:setup
...
-- initialize_schema_migrations_table()
   -> 0.0035s
rake aborted!
ActiveRecord::RecordInvalid: Validation failed: Ss review deadline can't be blank, Ip expert review deadline can't be blank, Ip peer review deadline can't be blank
...
Tasks: TOP => db:setup => db:seed
(See full trace by running task with --trace)
Connection to apps.allmende.io closed.
Assignee
Assign to
Long-term stability of the conference platform
Milestone
Long-term stability of the conference platform
Assign milestone
Time tracking
None
Due date
None
2
Labels
To Do deployment
Assign labels
  • View project labels
Reference: degrowth/scriptorium#199