Neue Installation schlägt bei Migration fehl

Ich versuche, eine neue Discourse-Installation mit discourse_docker zu installieren, aber die Migrationen schlagen fehl:

== 20180916195601 MigrateS3BackupSiteSettings: migrating ======================
-- execute("UPDATE site_settings\nSET name      = 'backup_location',\n    data_type = 7,\n    value     = 's3'\nWHERE name = 'enable_s3_backups' AND value = 't';\n")
   -> 0.0005s
-- execute("DELETE\nFROM site_settings\nWHERE name = 'enable_s3_backups';\n")
   -> 0.0004s
== 20180916195601 MigrateS3BackupSiteSettings: migrated (0.0018s) =============

== 20180917024729 RemoveSuperfluousColumns: migrating =========================

WARNING
-------------------------------------------------------------------------------------
An attempt was made to drop or rename a column in a migration
SQL used was: 'ALTER TABLE user_profiles DROP COLUMN IF EXISTS card_image_badge_id'

Please generate a post deployment migration using `rails g post_migration` to drop
or rename columns.

Note, to minimize disruption use self.ignored_columns = ["column name"] on your
ActiveRecord model, this can be removed 6 months or so later.

This protection is in place to protect us against dropping columns that are currently
in use by live applications.



FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 12775 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
59a086818934d9ab5ac6095987a41a5d4f317615dab7d86710afc36b0b40cf5e
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.

Es funktioniert einwandfrei, wenn ich die Version auf v2.5.0.beta2 statt test_passed setze. Ich sehe aktuelle Commits im Zusammenhang mit SafeMigration, was darauf hindeutet, dass dies damit zusammenhängt.

2 „Gefällt mir“

Vielleicht ist es

2 „Gefällt mir“

@renchap hast du eine Lösung gefunden?

Ich habe die Performance-Commits auf die Migrationen zurückgesetzt, damit @sam nach dem langen Wochenende die Gelegenheit hat, diesen Fehler zu prüfen und zu korrigieren:

7 „Gefällt mir“

Behoben gemäß:

3 „Gefällt mir“