Discourse on CentOS 7.3


(Daniel Napora) #1

I’m running CentOS 7.3. When I try to bootstrap this happens:

# docker -v
Docker version 1.13.1, build 092cba3
# cat /etc/redhat-release 
CentOS Linux release 7.3.1611 (Core)

# ./launcher bootstrap app
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && chown -R discourse /var/www/discourse failed with return #<Process::Status: pid 276 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"web", "cmd"=>["gem update bundler", "chown -R discourse $home"]}
d5f9b0e0bb45020d8b9e1f25cc8b96091eba69a505a60b4178e641530e4ac159
** FAILED TO BOOTSTRAP **

SELinux is disabled.

What can I do?


Installation failing on CentOS 7.3
(Jeff Atwood) #2

CentOS is not very compatible with Docker, so likely you have a Docker problem. Feel free to search.


(Jay Pfaffman) #3

The easiest thing would be to use Ubuntu.

You might try these instructions for installing Docker’s recommended install rather than the (apparently out of date) version that comes with CentOS.


(Kai Liu) #4

See my solution in another post: