update error,help me pls.


(Shuai Zend) #1

log:

0: ember-rails (0.18.5) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/ember-rails-0.18.5.gemspec
Bundle complete! 106 Gemfile dependencies, 181 gems now installed.
Gems in the group development were not installed.
Bundled gems are installed into ./vendor/bundle.

I, [2018-06-22T18:24:23.135504 #19] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’
Discourse requires Ruby 2.4.0 or up
I, [2018-06-22T18:24:23.818310 #19] INFO – :
I, [2018-06-22T18:24:23.819315 #19] INFO – : Terminating async processes
I, [2018-06-22T18:24:23.819400 #19] 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/9.5/bin/postmaster -D /etc/postgresql/9.5/main pid: 48
I, [2018-06-22T18:24:23.819601 #19] INFO – : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 161
161:signal-handler (1529691863) Received SIGTERM scheduling shutdown…
2018-06-22 18:24:23.819 UTC [48] LOG: received fast shutdown request
2018-06-22 18:24:23.819 UTC [48] LOG: aborting any active transactions
2018-06-22 18:24:23.820 UTC [55] LOG: autovacuum launcher shutting down
2018-06-22 18:24:23.825 UTC [52] LOG: shutting down
161:M 22 Jun 18:24:23.868 # User requested shutdown…
161:M 22 Jun 18:24:23.868 * Saving the final RDB snapshot before exiting.
161:M 22 Jun 18:24:23.929 * DB saved on disk
161:M 22 Jun 18:24:23.929 # Redis is now ready to exit, bye bye…
2018-06-22 18:24:23.937 UTC [52] 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 14654 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn’
exec failed with the params {“cd”=>"$home", “hook”=>“bundle_exec”, “cmd”=>[“su discourse -c ‘bundle install --deployment --verbose --without test --without development’”, “su discourse -c ‘bundle exec rake db:migrate’”, “su discourse -c ‘bundle exec rake assets:precompile’”]}
d48d4be69ff22ce2fded0c1bd4b1a309c5fc3d316764a0241e757cbc5c866367
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one


(Shuai Zend) #2

I solved the problem.
becoz github code no update.