Error install. Help please!

./launcher rebuild app

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;\"'"
** 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

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

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

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

Can you add the whole log?

1 Like

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.


  - "4578:80"   # http




server {
    server_name ;

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

    location / {
         `proxy_redirect /;`
        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

Please follow Running other websites on the same machine as Discourse