مرحبًا بالجميع،
عند محاولة الترقية من الإصدار 2.5.0beta2 إلى 2.5.0.beta3 عبر أمر ./launcher rebuild app في سطر الأوامر، أواجه باستمرار مهلة زمنية (timeouts) في حزم rubygem عند تنفيذ:
cd /var/www/discourse && gem update bundler
مما يؤدي إلى فشل عملية إعادة البناء.. هل واجه أي شخص آخر نفس المشكلة؟ أحيانًا يحدث المهلة الزمنية على ملف rubygems.org/specs.4.8.gz، وأحيانًا أخرى على حزم محددة. كانت الترقيات السابقة تعمل بسلاسة على هذه النسخة بالتحديد. هل لديكم أي أفكار حول كيفية حل هذه المشكلة؟ أنا مستعد لتجربة تثبيت جديد من نسخة احتياطية إذا لزم الأمر..
I, [2020-04-26T00:37:59.817638 #1] INFO -- : > cd /var/www/discourse && gem update bundler
ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
timed out (https://rubygems.org/specs.4.8.gz)
167:signal-handler (1587861540) Received SIGTERM scheduling shutdown...
I, [2020-04-26T00:39:00.334060 #1] INFO -- :
I, [2020-04-26T00:39:00.334828 #1] INFO -- : Terminating async processes
I, [2020-04-26T00:39:00.335004 #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/10/bin/postmaster -D /etc/postgresql/10/
main pid: 50
I, [2020-04-26T00:39:00.335154 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 167
2020-04-26 00:39:00.335 UTC [50] LOG: received fast shutdown request
167:M 26 Apr 2020 00:39:00.351 # User requested shutdown...
167:M 26 Apr 2020 00:39:00.351 * Saving the final RDB snapshot before exiting.
2020-04-26 00:39:00.360 UTC [50] LOG: aborting any active transactions
2020-04-26 00:39:00.362 UTC [50] LOG: worker process: logical replication launcher (PID 59) exited with exit code 1
2020-04-26 00:39:00.365 UTC [54] LOG: shutting down
167:M 26 Apr 2020 00:39:00.616 * DB saved on disk
167:M 26 Apr 2020 00:39:00.616 # Redis is now ready to exit, bye bye...
2020-04-26 00:39:00.747 UTC [50] LOG: database system is shut down
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && gem update bundler failed with return #<Process::Status: pid 307 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"web", "cmd"=>["gem update bundler", "find $home ! -user discourse -exec chown discourse {} \\+"]}
7b53e40ff232069b5b0ac1355c706d777536284eece872cb7cfe46647561aa9b
** 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.