Error while rebuilding app


#1

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:

FAILED
--------------------
RuntimeError: cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-details.git 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 https://github.com/discourse/docker_manager.git", "git clone https://github.com/discourse/discourse-solved.git", "git clone https://github.com/discourse/wp-discourse.git", "git clone https://github.com/discourse/discourse-tagging.git", "git clone https://github.com/discourse/discourse-spoiler-alert.git", "git clone https://github.com/discourse/discourse-details.git"]}
dff98ca142de32623e7054aaa439e96e7979d8d74298410be9b0476df3d6b9de

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.


#3

That did the trick. Thank you!


(Régis Hanol) #4