When I use the docker manager to upgrade Discourse, I have an error during the db migrate part since thursday or friday. Tonight I tried to rebuild app to see what happens (why not right ? ) and it always fail on bootstrap, here the message :
FAILED
--------------------
RuntimeError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 510 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:105:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
d296ee0c0364464ffaaad8aaa34ece7826d517dde1326e3f068dd68b9b8c354c
When I reboot the droplet on Digital Ocean, my forum is fine, and it seems that my discourse version is actually upgrading (currently v1.4.0.beta6 +93) but this problem intrigue me.
Almost certainly unsupported plugins. Unless we ship them, disable them and try again. Also you would need to look much further upstream in the logs for the actual error.
Hello again, thanks for the reply. Tonight, I edited the app.yml and delete my plugins, leaving only the Docker Manager plugin, it failed again during the rebuild app.
Nothing urgent here, my problem is not a priority, Discourse is up to date via Docker Manager and with a reboot it’s running fine. But if someone has an idea, I’ll take it
PG::ProgramLimitExceeded: ERROR: index row size 5640 exceeds maximum 2712 for index "index_post_custom_fields_on_name_and_value"
HINT: Values larger than 1/3 of a buffer page cannot be indexed.
Consider a function index of an MD5 hash of the value, or use full text indexing.
: CREATE INDEX "index_post_custom_fields_on_name_and_value" ON "post_custom_fields" ("name", "value")/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'