Latest upgrade hard fail, forum down

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 are going to have to share evidence of an earlier error, can you do as requested in the message and ‘scroll up’?

3 Likes

There is an abort just above. Included below. Thanks.

7fb718411000-7fb718412000 rw-p 0002a000 fd:00 57021659                   /lib/x86_64-linux-gnu/ld-2.31.so
7fb718412000-7fb718413000 rw-p 00000000 00:00 0 
7ffd7fe2f000-7ffd8062e000 rw-p 00000000 00:00 0                          [stack]
7ffd80730000-7ffd80733000 r--p 00000000 00:00 0                          [vvar]
7ffd80733000-7ffd80735000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]


Aborted (core dumped)
I, [2022-07-14T16:51:29.748907 #1]  INFO -- : 
I, [2022-07-14T16:51:29.750246 #1]  INFO -- : Terminating async processes
I, [2022-07-14T16:51:29.750362 #1]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 42
I, [2022-07-14T16:51:29.750493 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 103
2022-07-14 16:51:29.750 UTC [42] LOG:  received fast shutdown request
103:signal-handler (1657817489) Received SIGTERM scheduling shutdown...
103:M 14 Jul 2022 16:51:29.761 # User requested shutdown...
103:M 14 Jul 2022 16:51:29.761 * Saving the final RDB snapshot before exiting.
2022-07-14 16:51:29.781 UTC [42] LOG:  aborting any active transactions
2022-07-14 16:51:29.787 UTC [42] LOG:  background worker "logical replication launcher" (PID 51) exited with exit code 1
2022-07-14 16:51:29.790 UTC [46] LOG:  shutting down
103:M 14 Jul 2022 16:51:29.851 * DB saved on disk
103:M 14 Jul 2022 16:51:29.852 # Redis is now ready to exit, bye bye...
2022-07-14 16:51:31.563 UTC [42] LOG:  database system is shut down

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.

1 Like

I’ll post the entire output. Ubuntu 18.04. Stable as a rock until this upgrade.

disc.txt (405.8 KB)

Seems related to this: Discourse update keeps failing - #31 by RGJ

What CPU do you have? (But the other topic might be a better place to discuss).

I’m not sure if there is a fix.

1 Like

Switching over to the other thread …

1 Like