Error install. Help please!


(Yuran) #1
./launcher rebuild app

FAILED
--------------------
Pups::ExecError: su postgres -c 'psql discourse -c "alter schema public owner to discourse                                                                              ;"' failed with return #<Process::Status: pid 77 exit 2>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params "su postgres -c 'psql $db_name -c \"alter schema public owner                                                                               to $db_user;\"'"
7e61d541e7a6bddbca1a66f2ee60f168d2fbbd96f493de4d354a30a31a35d80a
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may                                                                               be more than one

Help me please. I install on a powerful dedicated server. IntelĀ® Coreā„¢ i7-4770 Quadcore Haswell
2 x 2048 GB HDD SATA-III 32 GB DDR3


(Jay Pfaffman) #2

Is this a new install? What instructions did you follow?


(Yuran) #3

https://github.com/discourse/discourse/blob/master/docs/INSTALL.md


(Jay Pfaffman) #4

I just did an install following those directions and it worked fine.

What OS are you using? Is anything else running on the server?


(Rafael dos Santos Silva) #5

Can you add the whole log?


(Yuran) #6

Thank you all, understood. The ruby was incomplete or incorrectly installed. Now the installation is normal. Now the site does not work as I do not understand how to configure ports. Apache + Nginx is installed on the server. I can not abandon Apache because it is needed for other sites.

app.yml

expose:
  - "4578:80"   # http

Backend

......
<VirtualHost 127.0.0.1:81>
.......

Frontend

........
server {
    server_name site.com www.site.com ;

    listen IP number:80;
    listen [IP number]:80;

 
 ..........
    location / {
        `proxy_pass http://127.0.0.1:81;`
         `proxy_redirect http://127.0.0.1:81/ /;`
        include /etc/nginx/proxy_params;
    }

    location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpeg|avi|zip|gz|bz2|rar|swf|ico)$ {
        try_files $uri $uri/ @fallback;
        expires 30d;
    }

That where to change and where to insert 4578


(Rafael dos Santos Silva) #7

Please follow Running other websites on the same machine as Discourse