A user, cmdntd, encountered a migration error while upgrading Discourse, specifically failing at db:migrate with a Pups::ExecError. JammyDodger advised checking earlier logs, which cmdntd shared — showing PostgreSQL and Redis shutdowns during the migration. merefield identified the root cause: the Discourse Chatbot plugin now has new installation requirements, and removing it without following uninstall instructions can break upgrades. After following the guide, cmdntd confirmed the fix but expressed concern about complexity and asked for a simpler process and clarity on topic restrictions for the bot’s content indexing. merefield directed them to the article’s section on the bot’s “vision” — detailing what content it can access and privacy implications. The issue was resolved by adhering to plugin-specific upgrade steps, highlighting the importance of reviewing plugin documentation during Discourse upgrades.
I have this error when upgrade newest version:
Could you help me, please?
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 888 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
bootstrap failed with exit code 1
** 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.
88bbed682282caba3443f559b68a7c49ac4995115633c09ffe4299aceea844ac