Closed itzzengay closed 1 year ago
It seems you may not have run bundle exec rails db:migrate
, it errorred out, or you forgot to restart the services afterwards.
I did run that command, ran it again just to make sure and gave no output. The issue persists even after I restart the services.
Are you using docker or something like that? Is your installation perhaps split into multiple servers? If so, are you sure the glitch-soc code is checked out where you ran bundle exec rails db:migrate
? The columns that are reported as not existing should definitely be added by glitch-soc migrations.
I'm not using docker, nor is this installation split into multiple servers. I did make sure to run git checkout glitch-soc/main
before running the other commands for the migration.
What happens if you do RAILS_LOG_LEVEL=debug bundle exec rails db:migrate:up VERSION=20171210213213
?
Here is the output:
[mastodon@plus live]$ RAILS_LOG_LEVEL=debug bundle exec rails db:migrate:up VERSION=20171210213213
(0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
(0.1ms) SELECT pg_try_advisory_lock(78736240045650285)
(0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
(0.2ms) SELECT pg_advisory_unlock(78736240045650285)
It seems like it behaves as if the migrations had been run, without actually running it… not sure in which situation it would do that. Have you previously tried running glitch-soc or another fork?
I have tried to migrate to glitch-soc before, but with the same issues, so I migrated back to upstream mastodon before I decided to try again a few days later.
Alright. What happens if you do bundle exec rails db:migrate:down VERSION=20171210213213
?
Here is the output:
[mastodon@plus live]$ bundle exec rails db:migrate:down VERSION=20171210213213
Migrating to AddLocalOnlyFlagToStatuses (20171210213213)
== 20171210213213 AddLocalOnlyFlagToStatuses: reverting =======================
[strong_migrations] DANGER: No lock timeout set
-- remove_column(:statuses, :local_only, :boolean)
rails aborted!
StandardError: An error has occurred, this and all later migrations canceled:
PG::UndefinedColumn: ERROR: column "local_only" of relation "statuses" does not exist
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:49:in `exec'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:49:in `block (2 levels) in execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block in execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:654:in `remove_column'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:929:in `block in method_missing'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:897:in `block in say_with_time'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:897:in `say_with_time'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:918:in `method_missing'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/strong_migrations-0.7.9/lib/strong_migrations/migration.rb:13:in `block in method_missing'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/strong_migrations-0.7.9/lib/strong_migrations/checker.rb:339:in `perform'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/strong_migrations-0.7.9/lib/strong_migrations/migration.rb:12:in `method_missing'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration/command_recorder.rb:126:in `block in replay'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration/command_recorder.rb:125:in `each'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration/command_recorder.rb:125:in `replay'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:741:in `revert'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:865:in `exec_migration'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:851:in `block (2 levels) in migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:850:in `block in migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:849:in `migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/strong_migrations-0.7.9/lib/strong_migrations/migration.rb:5:in `migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/chewy-7.2.7/lib/chewy/railtie.rb:28:in `block in migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/chewy-7.2.7/lib/chewy/strategy.rb:59:in `wrap'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/chewy-7.2.7/lib/chewy.rb:154:in `strategy'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/chewy-7.2.7/lib/chewy/railtie.rb:28:in `migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1037:in `migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1329:in `block in execute_migration_in_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1380:in `block in ddl_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/transactions.rb:209:in `transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1380:in `ddl_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1328:in `execute_migration_in_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1290:in `run_without_lock'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1243:in `block in run'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1401:in `block in with_advisory_lock'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1416:in `block in with_advisory_lock_connection'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1416:in `with_advisory_lock_connection'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1397:in `with_advisory_lock'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1243:in `run'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1100:in `run'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/railties/databases.rake:214:in `block (3 levels) in <top (required)>'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `block in execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `each'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `each'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/commands/rake/rake_command.rb:24:in `block (2 levels) in perform'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/commands/rake/rake_command.rb:24:in `block in perform'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/rake_module.rb:59:in `with_application'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/command.rb:50:in `invoke'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/commands.rb:18:in `<top (required)>'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
Caused by:
ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column "local_only" of relation "statuses" does not exist
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:49:in `exec'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:49:in `block (2 levels) in execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block in execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:654:in `remove_column'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:929:in `block in method_missing'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:897:in `block in say_with_time'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:897:in `say_with_time'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:918:in `method_missing'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/strong_migrations-0.7.9/lib/strong_migrations/migration.rb:13:in `block in method_missing'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/strong_migrations-0.7.9/lib/strong_migrations/checker.rb:339:in `perform'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/strong_migrations-0.7.9/lib/strong_migrations/migration.rb:12:in `method_missing'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration/command_recorder.rb:126:in `block in replay'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration/command_recorder.rb:125:in `each'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration/command_recorder.rb:125:in `replay'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:741:in `revert'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:865:in `exec_migration'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:851:in `block (2 levels) in migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:850:in `block in migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:849:in `migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/strong_migrations-0.7.9/lib/strong_migrations/migration.rb:5:in `migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/chewy-7.2.7/lib/chewy/railtie.rb:28:in `block in migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/chewy-7.2.7/lib/chewy/strategy.rb:59:in `wrap'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/chewy-7.2.7/lib/chewy.rb:154:in `strategy'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/chewy-7.2.7/lib/chewy/railtie.rb:28:in `migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1037:in `migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1329:in `block in execute_migration_in_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1380:in `block in ddl_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/transactions.rb:209:in `transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1380:in `ddl_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1328:in `execute_migration_in_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1290:in `run_without_lock'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1243:in `block in run'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1401:in `block in with_advisory_lock'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1416:in `block in with_advisory_lock_connection'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1416:in `with_advisory_lock_connection'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1397:in `with_advisory_lock'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1243:in `run'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1100:in `run'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/railties/databases.rake:214:in `block (3 levels) in <top (required)>'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `block in execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `each'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `each'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/commands/rake/rake_command.rb:24:in `block (2 levels) in perform'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/commands/rake/rake_command.rb:24:in `block in perform'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/rake_module.rb:59:in `with_application'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/command.rb:50:in `invoke'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/commands.rb:18:in `<top (required)>'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
Caused by:
PG::UndefinedColumn: ERROR: column "local_only" of relation "statuses" does not exist
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:49:in `exec'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:49:in `block (2 levels) in execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block in execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:654:in `remove_column'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:929:in `block in method_missing'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:897:in `block in say_with_time'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:897:in `say_with_time'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:918:in `method_missing'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/strong_migrations-0.7.9/lib/strong_migrations/migration.rb:13:in `block in method_missing'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/strong_migrations-0.7.9/lib/strong_migrations/checker.rb:339:in `perform'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/strong_migrations-0.7.9/lib/strong_migrations/migration.rb:12:in `method_missing'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration/command_recorder.rb:126:in `block in replay'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration/command_recorder.rb:125:in `each'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration/command_recorder.rb:125:in `replay'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:741:in `revert'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:865:in `exec_migration'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:851:in `block (2 levels) in migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:850:in `block in migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:849:in `migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/strong_migrations-0.7.9/lib/strong_migrations/migration.rb:5:in `migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/chewy-7.2.7/lib/chewy/railtie.rb:28:in `block in migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/chewy-7.2.7/lib/chewy/strategy.rb:59:in `wrap'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/chewy-7.2.7/lib/chewy.rb:154:in `strategy'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/chewy-7.2.7/lib/chewy/railtie.rb:28:in `migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1037:in `migrate'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1329:in `block in execute_migration_in_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1380:in `block in ddl_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activesupport-6.1.7.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/transactions.rb:209:in `transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1380:in `ddl_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1328:in `execute_migration_in_transaction'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1290:in `run_without_lock'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1243:in `block in run'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1401:in `block in with_advisory_lock'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1416:in `block in with_advisory_lock_connection'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1416:in `with_advisory_lock_connection'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1397:in `with_advisory_lock'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1243:in `run'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/migration.rb:1100:in `run'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/activerecord-6.1.7.2/lib/active_record/railties/databases.rake:214:in `block (3 levels) in <top (required)>'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `block in execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `each'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `execute'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `each'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/commands/rake/rake_command.rb:24:in `block (2 levels) in perform'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/commands/rake/rake_command.rb:24:in `block in perform'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/rake_module.rb:59:in `with_application'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/command.rb:50:in `invoke'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/railties-6.1.7.2/lib/rails/commands.rb:18:in `<top (required)>'
/opt/mastodon/live/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
Tasks: TOP => db:migrate:down
(See full trace by running task with --trace)
oh, this is really annoying… wait a moment, I'm trying to come up with something to make Rails run the glitch-soc migrations it is pretending to have run…
Can you run ActiveRecord::SchemaMigration.where(version: ['20171210213213', '20190512200918', '20220209175231']).delete_all
in a Rails console (bundle exec rails c
) and try bundle exec rails db:migrate
again?
Here is the output:
[mastodon@plus live]$ bundle exec rails c
Chewy console strategy is `urgent`
Loading production environment (Rails 6.1.7.2)
irb(main):001:0> ActiveRecord::SchemaMigration.where(version: ['20171210213213', '201905122009
18', '20220209175231']).delete_all
=> 3
irb(main):002:0>
[mastodon@plus live]$ bundle exec rails db:migrate
Migrating to AddLocalOnlyFlagToStatuses (20171210213213)
== 20171210213213 AddLocalOnlyFlagToStatuses: migrating =======================
[strong_migrations] DANGER: No lock timeout set
-- add_column(:statuses, :local_only, :boolean)
-> 0.0011s
== 20171210213213 AddLocalOnlyFlagToStatuses: migrated (0.0016s) ==============
Migrating to AddContentTypeToStatuses (20190512200918)
== 20190512200918 AddContentTypeToStatuses: migrating =========================
[strong_migrations] DANGER: No lock timeout set
-- add_column(:statuses, :content_type, :string)
-> 0.0006s
== 20190512200918 AddContentTypeToStatuses: migrated (0.0010s) ================
Migrating to AddContentTypeToStatusEdits (20220209175231)
== 20220209175231 AddContentTypeToStatusEdits: migrating ======================
[strong_migrations] DANGER: No lock timeout set
-- add_column(:status_edits, :content_type, :string)
-> 0.0007s
== 20220209175231 AddContentTypeToStatusEdits: migrated (0.0009s) =============
[mastodon@plus live]$
That seems much better! Does restarting the services work, now?
Yes! Things seem to be working well now. Thank you so much!
You're welcome. I wonder why Rails considered those migrations as done, though, I'll need to investigate that.
Steps to reproduce the problem
Expected behaviour
Migration should have been successful
Actual behaviour
500 Internal Server Errors when attempting to view any pages
Detailed description
Expanded log for this issue:
Specifications
Mastodon 4.1.0 Ruby 3.2.1 Node.js 19.7.0