Installation Problem - "FAILED RuntimeError"


(Ace) #1

I have a small VPS running centos 7.
I followed this guide: discourse/ at master 路 discourse/discourse 路 GitHub

I am now experiencing this error:

[root@little-vps discourse]# ./launcher bootstrap app
which: no in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
cd /pups && git pull && /pups/bin/pups --stdin
Already up-to-date.
I, [2015-12-31T20:59:47.594469 #37]  INFO -- : Loading --stdin
I, [2015-12-31T20:59:47.600844 #37]  INFO -- : > mkdir -p /shared/postgres_run
mkdir: cannot create directory 鈥/shared/postgres_run鈥: Permission denied
I, [2015-12-31T20:59:47.606341 #37]  INFO -- : 
RuntimeError: mkdir -p /shared/postgres_run failed with return #<Process::Status: pid 39 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:105:in `spawn'
exec failed with the params "mkdir -p /shared/postgres_run"
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
[root@little-vps discourse]# 

Anyone know how to troubleshoot this?