table refinery_pages has no column named slug

9 views
Skip to first unread message

Ciprian Dunareanu

unread,
Oct 2, 2017, 8:54:32 AM10/2/17
to refine...@googlegroups.com
Running 
refinerycms rickrockstar

fails with error:

rake aborted!

ActiveRecord::StatementInvalid: SQLite3::SQLException: table refinery_pages has no column named slug: INSERT INTO "refinery_pages" ("slug", "link_url", "menu_match", "deletable", "lft", "rgt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)

/Users/e832319/.rvm/gems/ruby-2.4.2@refinery/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:91:in `initialize'

/Users/e832319/.rvm/gems/ruby-2.4.2@refinery/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:91:in `new'

/Users/e832319/.rvm/gems/ruby-2.4.2@refinery/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:91:in `prepare'

/Users/e832319/.rvm/gems/ruby-2.4.2@refinery/gems/activerecord-5.1.4/lib/active_record/connection_adapters/sqlite3_adapter.rb:212:in `block (2 levels) in exec_query'

/Users/e832319/.rvm/gems/ruby-2.4.2@refinery/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:46:in `block in permit_concurrent_loads'

/Users/e832319/.rvm/gems/ruby-2.4.2@refinery/gems/activesupport-5.1.4/lib/active_support/concurrency/share_lock.rb:185:in `yield_shares'

...


Environment:

-MacOS Sierra

-Ruby 2.4.2

Ciprian Dunareanu

unread,
Oct 3, 2017, 3:08:17 AM10/3/17
to refine...@googlegroups.com
This is with Refinery 4.0.0
Any ideas how to fix?

Thanks.

Philip Arndt

unread,
Oct 3, 2017, 9:17:48 PM10/3/17
to refine...@googlegroups.com
I can reproduce this issue too - can you please file it as an issue at https://github.com/refinery/refinerycms/issues/new ?

As a workaround it seems it's failing on the seed step so you can do this manually:

    cd rickrockstar
    bundle exec rake db:seed

Thank you!

Ciprian Dunareanu

unread,
Oct 4, 2017, 5:58:52 AM10/4/17
to refine...@googlegroups.com
Thanks Philip,
Runnign rake db:seed did fix the problem.
I've also submitted this issue.

--
You received this message because you are subscribed to the "Refinery CMS" Google Group.
To post to this group, send email to refine...@googlegroups.com
 
http://www.refinerycms.com
---
You received this message because you are subscribed to the Google Groups "Refinery CMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to refinery-cms+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/refinery-cms/88514603-C076-43BD-8C70-AECC94060CF4%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages