最新升级严重故障,论坛宕机

大家好。今天早上我收到了一个典型的升级提示,但过程在中间失败了。我也尝试过从命令行手动升级,但同样失败了。在这次升级之前一切都很好,现在一切都无法运行了。以下是错误信息,任何建议都将不胜感激!

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

您将不得不分享早期错误的证据,您能否按照消息中的要求“向上滚动”?

3 个赞

上面有一个中止。下面包含。谢谢。

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

您仍然需要提供更多输出。这看起来像是一个核心转储,很可能是操作系统错误或硬件问题,但我们需要更多信息才能更好地了解情况。

1 个赞

我将发布所有输出。Ubuntu 18.04。稳定如初,直到这次升级。

disc.txt (405.8 KB)

这似乎与此相关:Discourse update keeps failing - #31 by RGJ

您有什么 CPU?(但另一个话题可能是更好的讨论地点)。

我不确定是否有修复方法。

1 个赞

切换到另一个线程……

1 个赞