DB migrations fails

DB migrations fails with this return

root@909503c65143:/var/www/discourse# bundle exec rake db:migrate
rake aborted!
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR:  zero-length delimited identifier at or near """"
LINE 1: ... = '2018-12-16 01:21:46.180505' WHERE "site_settings"."" = 6
                                                                 ^
: UPDATE "site_settings" SET "value" = '4|37|208|243|172|173|21|106|234|199|205|212|184|15|168|152|59|224|22|52|173|164|10|9|222|19|213|246|148|30|91|70|130|104|210|76|31|111|194|134|164|191|46|16|92|111|78|68|175|73|175|116|85|204|130|22|189|34|184|195|105|62|126|199|176', "updated_at" = '2018-12-16 01:21:46.180505' WHERE "site_settings"."" = 6
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-mini-profiler-1.0.1/lib/patches/db/pg.rb:69:in `async_exec_params'
/var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rack-mini-profiler-1.0.1/lib/patches/db/pg.rb:69:in `exec_params'

Any clue?

@tgxworld any ideas? Is this related to uploads in site settings?

1 Like

@Sebastian_Pagano Please provide us with the full backtrace.