All images are gone+discussion
it looks like you've updated to the latest version without running migrations (with `wagn update`).
Your images are almost certainly fine, but wagn won't be able to find them until you run the updates.
I ran "bundle update" and then "wagn update". Was something supposed to go in the middle?
(In other news, why can't I follow this ticket? When I click on follow it does an overlay and a line appears at the top of the screen, but not a dialog box I can click in.)
rake wagn:migrate this command, yes?
Okay, I tried starting from the top. Bundle Update, then bundle exec rake wagn:migrate.
migrating structure
migrating core cards
== 20150610171702 AddDebuggerSessionCard: migrating ===========================
rake aborted!
StandardError: An error has occurred, all later migrations canceled:
undefined local variable or method `msg' for :>:Card::Content/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/content.rb:53:in `each_chunk'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/content.rb:59:in `each'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/content.rb:59:in `select'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/content.rb:59:in `find_chunks'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/references.rb:45:in `update_references'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/references.rb:115:in `block in '
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/set.rb:218:in `block (3 levels) in define_event_method'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_refresh_references_callbacks'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/set.rb:217:in `block (2 levels) in define_event_method'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:253:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:253:in `block in conditional'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:506:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:506:in `block in call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:506:in `each'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:506:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_store_callbacks'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:115:in `block in store'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:67:in `call'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:67:in `run_phase'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:114:in `store'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:312:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:312:in `block in halting'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:497:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:497:in `block in around'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_save_callbacks'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/callbacks.rb:302:in `create_or_update'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/persistence.rb:142:in `save!'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/validations.rb:43:in `save!'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/transactions.rb:291:in `block in save!'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:48:in `block (2 levels) in with_transaction_returning_status'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:26:in `abortable'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:48:in `block in with_transaction_returning_status'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/transactions.rb:220:in `transaction'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:46:in `with_transaction_returning_status'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/transactions.rb:291:in `save!'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/persistence.rb:51:in `create!'
/var/lib/gems/1.9.1/gems/card-1.16.15/db/migrate_core_cards/20150610171702_add_debugger_session_card.rb:5:in `up'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/migration.rb:116:in `block in exec_migration'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/migration.rb:71:in `block (3 levels) in contentedly'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/transactions.rb:220:in `transaction'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/migration.rb:69:in `block (2 levels) in contentedly'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/auth.rb:139:in `as'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/auth.rb:148:in `as_bot'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/migration.rb:68:in `block in contentedly'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/cardio.rb:170:in `schema_mode'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/migration.rb:67:in `contentedly'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/migration.rb:116:in `exec_migration'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:591:in `block in migrate'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:590:in `migrate'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:768:in `migrate'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:1046:in `ddl_transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:959:in `block in migrate'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:955:in `each'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:955:in `migrate'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:823:in `up'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:801:in `migrate'
/var/lib/gems/1.9.1/gems/wagn-1.16.15/lib/wagn/tasks/wagn.rake:178:in `block (4 levels) in '
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/cardio.rb:170:in `schema_mode'
/var/lib/gems/1.9.1/gems/wagn-1.16.15/lib/wagn/tasks/wagn.rake:176:in `block (3 levels) in '
/var/lib/gems/1.9.1/gems/wagn-1.16.15/lib/wagn/tasks/wagn.rake:123:in `block (2 levels) in '
Tasks: TOP => wagn:migrate
oof, that's not a super helpful message. it means something went wrong in content rendering, but then the error message itself caused a problem. sigh.
we've seen and fixed the message problem, and a new release will be out very soon. I'm at a consortium meeting in England now but may be able to get the release out this weekend.
For now, you may be able to get away with deleting `/var/lib/gems/1.9.1/gems/card-1.16.15/db/migrate_core_cards/20150610171702_add_debugger_session_card.rb` and then rerunning migrations.
I will give it a go. Sorry I always seem to bug you when you're snowed under.
Deleted the file. Ran it again. It looks like much the same error, although the beginning is a little different.
== 20150702130543 RemoveEditToolbarPinned: migrating ==========================
rake aborted!
StandardError: An error has occurred, all later migrations canceled:
undefined local variable or method `msg' for :>:Card::Content/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/content.rb:53:in `each_chunk'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/content.rb:59:in `each'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/content.rb:59:in `select'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/content.rb:59:in `find_chunks'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/references.rb:45:in `update_references'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/references.rb:115:in `block in '
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/set.rb:218:in `block (3 levels) in define_event_method'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_refresh_references_callbacks'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/set.rb:217:in `block (2 levels) in define_event_method'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:253:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:253:in `block in conditional'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:506:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:506:in `block in call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:506:in `each'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:506:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_store_callbacks'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:115:in `block in store'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:67:in `call'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:67:in `run_phase'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:114:in `store'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:312:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:312:in `block in halting'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:497:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:497:in `block in around'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/var/lib/gems/1.9.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_save_callbacks'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/callbacks.rb:302:in `create_or_update'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/persistence.rb:142:in `save!'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/validations.rb:43:in `save!'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/transactions.rb:291:in `block in save!'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:48:in `block (2 levels) in with_transaction_returning_status'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:26:in `abortable'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:48:in `block in with_transaction_returning_status'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/transactions.rb:220:in `transaction'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:46:in `with_transaction_returning_status'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/transactions.rb:291:in `save!'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/persistence.rb:265:in `block in update!'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:48:in `block (2 levels) in with_transaction_returning_status'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:26:in `abortable'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:48:in `block in with_transaction_returning_status'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/transactions.rb:220:in `transaction'
/srv/www.teenwolfwiki.com/tmp/set/mod001-01_core/all/phases.rb:46:in `with_transaction_returning_status'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/persistence.rb:263:in `update!'
/var/lib/gems/1.9.1/gems/card-1.16.15/db/migrate_core_cards/20150702130543_remove_edit_toolbar_pinned.rb:6:in `up'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/migration.rb:116:in `block in exec_migration'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/migration.rb:71:in `block (3 levels) in contentedly'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/transactions.rb:220:in `transaction'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/migration.rb:69:in `block (2 levels) in contentedly'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/auth.rb:139:in `as'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/auth.rb:148:in `as_bot'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/migration.rb:68:in `block in contentedly'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/cardio.rb:170:in `schema_mode'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/migration.rb:67:in `contentedly'
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/card/migration.rb:116:in `exec_migration'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:591:in `block in migrate'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:590:in `migrate'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:768:in `migrate'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:1046:in `ddl_transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:959:in `block in migrate'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:955:in `each'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:955:in `migrate'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:823:in `up'
/var/lib/gems/1.9.1/gems/activerecord-4.2.5/lib/active_record/migration.rb:801:in `migrate'
/var/lib/gems/1.9.1/gems/wagn-1.16.15/lib/wagn/tasks/wagn.rake:178:in `block (4 levels) in '
/var/lib/gems/1.9.1/gems/card-1.16.15/lib/cardio.rb:170:in `schema_mode'
/var/lib/gems/1.9.1/gems/wagn-1.16.15/lib/wagn/tasks/wagn.rake:176:in `block (3 levels) in '
/var/lib/gems/1.9.1/gems/wagn-1.16.15/lib/wagn/tasks/wagn.rake:123:in `block (2 levels) in '
Tasks: TOP => wagn:migrate
(See full trace by running task with --trace)
Actually, that attempt made things worse. When I attempted to login, it produced a long error message. So I'm going to restore back to a snapshot where only the images aren't working and await further instructions.