A user reports a failed upgrade attempt on their Discourse forum, resulting in a system outage. The error indicates a failure during the database migration step, with a core dump suggesting a potential OS or hardware issue. The user provides logs showing a shutdown sequence and an abort, but further investigation is needed to diagnose the root cause. Another user suggests checking for similar issues and asks about the CPU, directing the user to a related discussion thread. L30110 shares the full log output for analysis.
Hi all. I was prompted for a typical upgrade this morning, but the process failed midstream. I just tried to do a manual upgrade from the command line and it has failed as well. Everything was fine before this upgrade, and everything is down now. Here’s the error info, any suggestions would be greatly appreciated!
2022-07-14 16:14:44.668 UTC [42] LOG: aborting any active transactions
2022-07-14 16:14:44.673 UTC [42] LOG: background worker "logical replication launcher" (PID 51) exited with exit code 1
2022-07-14 16:14:44.680 UTC [46] LOG: shutting down
103:M 14 Jul 2022 16:14:44.830 * DB saved on disk
103:M 14 Jul 2022 16:14:44.830 # Redis is now ready to exit, bye bye...
2022-07-14 16:14:45.076 UTC [42] LOG: database system is shut down
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 909 exit 134>
Location of failure: /usr/local/lib/ruby/gems/2.7.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 134
** 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.
bf24180e575747f40c769146cfc8c9557812cdabee1fb09b1aaed38e5d1f5220
You still need to include more output. It looks like a core dump, which is lkely an OS error or hardware problem, but we’d need more info to get a better idea.