Error while rebuilding app


Hi there,

Today I started getting a 502 bad gateway error on my Discourse website for no particular reason (hadn’t updated or changed any settings). I tried rebuilding the app and I got a disk space error, so I cleaned up some old Docker installations following the instructions on this thread. Now I’m not getting disk space errors anymore, but when I try to rebuild I get the following:

RuntimeError: cd /var/www/discourse/plugins && git clone failed with return #<Process::Status: pid 322 exit 128>
Location of failure: /pups/lib/pups/exec_command.rb:105:in `spawn'
exec failed with the params {"cd"=>"$home/plugins", "cmd"=>["mkdir -p plugins", "git clone", "git clone", "git clone", "git clone", "git clone", "git clone"]}

Any ideas? I’m running on Ubuntu 14.04 x64 with 1GB ram, 1GB swap and 30GB disk space.

(Stefano Costa) #2

Most likely this error is caused by the fact that the git repo is now empty, since discourse-details was integrated in the main repo and is a “core-plugin”:

You should edit app.yml and remove the line containing the git clone command in the hooks section. See this topic for a more detailed discussion.


That did the trick. Thank you!

(Régis Hanol) #4